gfjardim Posted August 2, 2010 Share Posted August 2, 2010 I've been using OpenVPN to access my unRAID server for a while, and it worked very well. But reading about LogMeIn Hamachi, it seemed a better choice for that job. So, I apparently have successfully compiled a unRAID specific package for it. As Slackware isn't LSB compliant, I've changed the init script to work with unRAID, adding a function to save the Hamachi config files to the usb drive: The sintax of the init script is the following: # h2control (start|stop|restart|save) You have to run "# h2control save" every time you change the configuration via terminal or via Logmein web page. The rest of Hamachi configuration is up to you, guys, but running "# hamachi --help" should answer many questions. Here I only set the machine nickname and attached the client via terminal, using these commands: hamachi login hamachi set-nick <nickname> hamachi attach <LogMeIn account> The rest was done via LogMeIn web page. PS. Since a pre-compiled tun/tap kernel module is included, the package shouldn't work in any kernel but the 2.6.32.9-unRAID kernel that runs in the 4.5.x versions. Download: http://gfjardim.googlecode.com/files/hamachi-2.0.1.13-i686-unRAID-2.tgz EDIT: I wasn't able to load the bridge module to the kernel, so gateway networks don't work if the unRAID server are configured as gateway. If you're using gateway networks, set the gateway to other local machine instead the unRAID server. EDIT2: New version available. The limitations stated above doesn't apply to unRAID v5. Download: http://gfjardim.googlecode.com/files/hamachi-2.0.1.15-i686-unRAID.tgz Quote Link to comment
theone Posted September 19, 2010 Share Posted September 19, 2010 I will be testing it today. Can the unRAID be setup as a hub in an Hamachi hub-spoke network? Is it just regular setup and configuration via the logmein web site? Will it run on unRAID 4.5.4? What about unRAID 5? Where do I setup the network name and password to log into on daemon startup? Quote Link to comment
Joe L. Posted September 19, 2010 Share Posted September 19, 2010 Will it run on unRAID 4.5.4? What about unRAID 5.0? unRAID has used the same kernel version (2.6.32.9-unRAID) since 4.5.3, so it should work up through 5.0beta2 and until unRAID changes to a newer kernel. Quote Link to comment
gfjardim Posted September 19, 2010 Author Share Posted September 19, 2010 Hamachi2 is different from the previous version because LogMeIn bought it, and now the service is web configurable. Every command you need is outputted by running "hamachi --help" on terminal. Here I have only attached the client to the LogMeIn account via terminal, all other configuration was done via LigMeIn web page: "hamachi attach <LogMeIn account>" Don't forget to run "h2control save" on the terminal after make any changes. Quote Link to comment
theone Posted September 19, 2010 Share Posted September 19, 2010 So it will actually connect to the defined network as configured in the Web interface? What about entering a password? Quote Link to comment
theone Posted September 19, 2010 Share Posted September 19, 2010 OK... I installed and it works. You have to initially set a nickname (if you want a name to show up in logmein) and attach a logmein account. Then you configure the reset via the logmein web interface and finally save the configuration according to the OP (h2control save) Thank you it works great. Quote Link to comment
chanders Posted September 19, 2010 Share Posted September 19, 2010 What port number is the web interface? Quote Link to comment
theone Posted September 19, 2010 Share Posted September 19, 2010 the web interface is at www.logmein.com Quote Link to comment
chanders Posted September 20, 2010 Share Posted September 20, 2010 I now have this setup and it works perfectly. I can browse all of my unRAID shares from the office. Excellent. Is it possible to run a command on the unRAID server from the office? Quote Link to comment
theone Posted September 20, 2010 Share Posted September 20, 2010 For that I think logmein is needed - I haven't seen any linux no gui support for it. But you might be able to telnet to the unraid address... interesting... Quote Link to comment
gfjardim Posted September 22, 2010 Author Share Posted September 22, 2010 For that I think logmein is needed - I haven't seen any linux no gui support for it. But you might be able to telnet to the unraid address... interesting... You can set Hamachi client to run a custom command. Here I set it to lauch putty: c:\<your path to putty>\putty.exe -telnet $VIP where $VIP is a variable that point to the virtual IP. When I select the custom command, it lauches a putty window with unRAID login prompt. Quote Link to comment
nia Posted October 3, 2010 Share Posted October 3, 2010 [glow=red,2,300]Thank you[/glow] for this gfjardim. I'm a long time Logmein user, but didn't know this. To have unRAID working like it does with Hamachi is brilliant! Quote Link to comment
gswarriorfan Posted October 4, 2010 Share Posted October 4, 2010 Will this allow me to connect to my main screen of the unRAID server through my Android mobile browser if I use the LogMeIn Ignition app on the market? Quote Link to comment
gfjardim Posted October 4, 2010 Author Share Posted October 4, 2010 Will this allow me to connect to my main screen of the unRAID server through my Android mobile browser if I use the LogMeIn Ignition app on the market? No, it doesn't. Hamachi is a VPN appliance and Ignition is a remote desktop manager. Quote Link to comment
gswarriorfan Posted October 5, 2010 Share Posted October 5, 2010 Sorry I was reading the wrong thing...I think I'll try this out soon! Quote Link to comment
CiXel Posted October 11, 2010 Share Posted October 11, 2010 What's the best way to install this? Just copy it to your packages directory and extract? Quote Link to comment
smoldersonline Posted November 30, 2010 Share Posted November 30, 2010 Thanks a lot for sharing this! I am a LogMeIn newbie, but for remote access to my unRAID files this seems a very powerful solution. No problems to add my iMac to the (fresh) LogMeIn account and to remotely control the Mac. Attaching the unRAID server to the same LogMeIn account is neither a problem. It presents itself properly under "My Networks" with the nickname I gave it. Maybe I'm missing an obvious point here, but I cannot figure out how to access the files directly. The server does not show up under "My Computers", like my iMac does. Any pointer are greatly appreciated! Quote Link to comment
gfjardim Posted December 9, 2010 Author Share Posted December 9, 2010 If you setup your network as Mash or hub-and-spoke, you need to use the virtual IP addressed by Hamachi to your server. Quote Link to comment
creon Posted December 11, 2010 Share Posted December 11, 2010 how do i get this running on my unraid server i would like that my parents can save a backup of there photo's on my server think that this must work fine for that Quote Link to comment
nia Posted December 11, 2010 Share Posted December 11, 2010 how do i get this running on my unraid server i would like that my parents can save a backup of there photo's on my server think that this must work fine for that Most of the information is in this thread. You would insert this in your Go-srcipt (use "Config View/edit" in unMENU): installpkg /boot/packages/hamachi-2.0.0.11-i686-unRAID.tgz Then your unRAID machine is done. Install the Hamachi client at your parents PC, and your unRAID server will be available through the assigned IP number presented in the Hamachi client. Then it is just a matter of mapping drives/shares and setting up your preferred way of copying. You could consider installing Logmein while your at it (unrelated to unRAID access, but will be linked with your Hamachi account). I've been using it for years to access my own and my parents machines (for support). It's brilliant. Quote Link to comment
creon Posted December 11, 2010 Share Posted December 11, 2010 it's works i can add the unraid server to logmein takes me a wile to see were i can set the server as hub but i can't get it to work after i set the server to hub unraid seems to close te hamachi i get the "Hamachi does not seem to be running" line i have added the line "installpkg /boot/hamachi-2.0.0.11-i686-unRAID.tgz" to the go script placed the file "hamachi-2.0.0.11-i686-unRAID.tgz" in the boot folder on my flash drive and unraid created a file "hamachi-conf.tgz" in the "config" folder Quote Link to comment
nia Posted December 11, 2010 Share Posted December 11, 2010 Have you looked at the path properly? It seems you are placing the package in the /boot not in /boot/packages ? Otherwise, please attach the logfile Quote Link to comment
creon Posted December 12, 2010 Share Posted December 12, 2010 have placed the package in the right folder but as soon as i set the server as a hub the connection is lost and i get the "Hamachi does not seem to be running" "Run '/etc/init.d/logmein-hamachi start' to start daemon." line also if i do the "h2control save" i get "tar: Removing leading `/' from member names" this is before the change to hub action Quote Link to comment
creon Posted December 16, 2010 Share Posted December 16, 2010 there where more problems as mine with hamachi so logmein has a newer version of hamachi in there labs & betas could you please make new .tgz file fore unraid the problem i have comes trough i seems to have a to old processor with the newer version the must fixed that problem Quote Link to comment
gfjardim Posted December 16, 2010 Author Share Posted December 16, 2010 Try this: http://gfjardim.googlecode.com/files/hamachi-2.0.1.13-i686-unRAID.tgz Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.