May 18, 2010

How To Install Hamachi On Ubuntu

This guide will show how to install and configure Hamachi for Ubuntu.

First you need to download Hamachi installation.

You can download latest version here.
Hamachi only comes in command line version for Linux, you still need to download GUI.

Latest GUI for Hamachi is provided by WebUpd8 PPA, to install it type in terminal:
sudo add-apt-repository ppa:webupd8team/haguichi
sudo apt-get update
sudo apt-get install haguichi
Hamachi should work out of the box, but if you have problem with some problems you can try thy:

Check if gateway is set for ham0 (hamachi network).

Go to terminal and type:
route -n
you will get:


If you don't see ham0 then start Hamachi first.

If gateway for ha0 is 0.0.0.0 then type:
sudo route del -net 5.0.0.0 gw 0.0.0.0 netmask 255.0.0.0 dev ham0

Then:
ifconfig ham0



Now copy address after inet addr and type:

sudo route add -net 5.0.0.0 gw 5.92.193.152 netmask 255.0.0.0 dev ham0

Now you are ready to use it.

4 comments:

Anonymous said...

I think there's a mistyped IP.

Now copy address after inet addr and type:

sudo route add -net 5.0.0.0 gw 5.92.193.152 netmask 255.0.0.0 dev ham0

But your IP was 5.92.139.152

love2spooge said...

no, it should be like that...

Anonymous said...

Previous Anonymous is correct.

oz said...

I do not work for me. I try and finalized this but I cannot ping any other hamachi pc in my hamachi network.
Plus if I stop and restart Hamachi I lose this again.

Post a Comment