Installing Hamachi/gHamachi On Ubuntu 10.04

Enable IP Tunneling

1. varsha@varsha-laptop:~$ sudo modprobe tun

2. Add tun to the list of modules.

varsha@varsha-laptop:~$ sudo gedit /etc/modules

3. Add tun to the list on a new line.

4. To verify that we have a valid tunneling node,

i) varsha@varsha-laptop:~$ ls /dev/net/tun
ii) varsha@varsha-laptop:~$ /dev/net/tun


Install Hamachi

1. Download Hamachi from here.

2. Extract the file.

3. cd into the extracted folder.

varsha@varsha-laptop:~$ cd Software/hamachi-0.9.9.9-20-lnx/

4. Install Hamachi.

varsha@varsha-laptop:~/Software/hamachi-0.9.9.9-20-lnx$ sudo make install


Set User Permissions

1. Create group hamachi.

varsha@varsha-laptop:~$ sudo groupadd hamachi

2. Add your user and root to the group hamachi. (My user is varsha.)
i) varsha@varsha-laptop:~$ sudo gpasswd -a varsha hamachi
ii) varsha@varsha-laptop:~$ sudo gpasswd -a root hamachi

3. Change the socket permissions.

varsha@varsha-laptop:~$ sudo chmod 760 /var/run/tuncfg.sock

4. Change the group of the file.

varsha@varsha-laptop:~$ sudo chgrp hamachi /var/run/tuncfg.sock


Start Hamachi

varsha@varsha-laptop:~$ sudo tuncfg

1. Set the initial configuration.

varsha@varsha-laptop:~$ hamachi-init -c /etc/hamachi

2. Start Hamachi.

varsha@varsha-laptop:~$ sudo hamachi -c /etc/hamachi start

3. Set your nick.

varsha@varsha-laptop:~$ hamachi -c /etc/hamachi set-nick nickname.

Replace nickname with the desired nick.

4. Log into Hamachi.

varsha@varsha-laptop:~$ sudo hamachi -c /etc/hamachi login


Use Hamachi

1. To create your own network,

varsha@varsha-laptop:~$ sudo hamachi -c /etc/hamachi create network password


Replace network and password with the desired network name and password.

2. To join an existing network,

varsha@varsha-laptop:~$ sudo hamachi -c /etc/hamachi join network password


3. Go online on the network, you just created.

varsha@varsha-laptop:~$ sudo hamachi -c /etc/hamachi go-online network



Install gHamachi

1. Download the file from here.

2. Extract the file.

3. Run the executable file ghamachi.

varsha@varsha-laptop:~$ ./ghamachi


[Source: http://www.supware.net/other-fun-stuff/hamachiubuntuhowto/]




Comments

  1. This is really very nice posting in this blog. I had really liked the stuff very much.
    The information was very cordial. Thanks!
    Hamachi

    ReplyDelete

Post a Comment