Hamachi VPN on Ubuntu

I finally have gHamachi and the underlying Hamachi working on my Ubuntu setup.  It mostly just worked, but was a pain in the arse at some points.  Anyway, I realized that I didn’t know how to make things startup automatically in Ubuntu.  In Windows, of course, you drop a shortcut to whatever you want running in the “Startup” folder under Start Menu->Programs->Startup.  What’s the equivalent in Ubuntu (or Linux generally) for that matter?

According to the CompuTech Group, it looks like dropping something in /etc/init.d is the equivalent of the Windows Startup folder.  Anyway, I hope I can get gHamachi and Pidgin to autostart upon login.

The CompuTech Group » Blog Archive » HOWTO: Setup Hamachi VPN on Ubuntu

Here’s to tinkering…

5 Comments so far

  1. Caleb on November 9, 2007

    Ubuntu’s equivalent is System>>Preferences>>Sessions. Enjoy. How did you get hamachi to work? Was this is 64-bit? did you install some additional packages?

  2. Tommy on November 9, 2007

    Hi Caleb, sorry, I meant to say that I “gave UP” on hamachi for now. Thanks for the startup tip. I’ll have some time this weekend to tinker, I hope and will cull the blog for issues that need to be resolved.

  3. Tommy on November 9, 2007

    Wow! I decided to give a quick gander at System->Prefs->Sessions and added ghamachi and pidgin there. When I rebooted, both not only started up, but ghamachi auto-compiled some module and worked!

  4. Lonnie Webb on November 27, 2007

    Don’t give up on hamachi yet. If you are running Gibbon the problem is that you need to use Synaptic to search for upx. Choose the one that is in beta (ubuntu is part of the package name). After installing hamachi cd /usr/bin. type sudo upx -d hamachi. This accounts for a very slight quirk in the new kernel with regard to binary compression. everything should work now.

    HTH

  5. Tommy on December 11, 2007

    Wow, thanks Lonnie! I’ll give it a shot to see if upx makes things better. For the most part it seems to work. There is an annoying side effect of the hamachi startup in that it has to compile TAP/TUN each time and needs my password to run sudo. It works, but it’s a minor pain in the arse to have to type my password in again.

Leave a reply