You are not logged in.

#1 2010-05-09 22:48:38

vinneh
Member
Registered: 2010-02-24
Posts: 15

Hamachi IP keeps changing

I'm trying to run a hamachi setup so I can play games with my friend while I am at school behind their firewall, but every time I start hamachi it gives me a new ip address.  Eventually, the network I created fills and I have to create a new one.  Is there a way to make the IP address not renew every time I start hamachi so that I don't have to keep making new networks?

Offline

#2 2010-05-10 10:50:28

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Hamachi IP keeps changing

you'll most likely find the answer in the hamachi FAQ or their forums, maybe hamachi is designed this way?

Offline

#3 2010-05-10 13:55:05

vinneh
Member
Registered: 2010-02-24
Posts: 15

Re: Hamachi IP keeps changing

Nah, I looked there already.  The only thing relevant is in the quote below, but I couldn't figure out how to apply that to Arch.  Does it involve setting up network profiles?

Mandriva 2006: change file /etc/sysconfig/network-scripts/ifcfg-ham0  line BOOTPROTO=dhcp to BOOTPROTO=no. This prevents Hamachi from getting a new IP every time you login. This is for 2006 only, 2005 is not affected.

Offline

#4 2010-05-10 14:24:39

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Hamachi IP keeps changing

if hamachi allows you to set a static ip address, then you can set it up. from here http://wiki.archlinux.org/index.php/Hamachi i was able to find that you need to run tunecfg, maybe it has settings for dhcp, if so, you should remove it and set the static ip address + gateway yourself.

Offline

#5 2010-05-10 15:33:39

vinneh
Member
Registered: 2010-02-24
Posts: 15

Re: Hamachi IP keeps changing

Unfortunately, tuncfg is just a wrapper to prevent hamachi from accessing other parts of the system (since it is run as root).

Edit: I think I got it.  The hamachi-init script was running every time I started hamachi and making a new address.  I just stopped using hamachi-init then.

Last edited by vinneh (2010-05-10 16:32:12)

Offline

#6 2010-05-10 16:04:48

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: Hamachi IP keeps changing

have u tried to disable/remove dhcpcd, this will stop the interface from acquiring the ip settings from the hamachi dhcp server, and then you can set those settings with ifconfig + route, check and see if hamachi works in this config.

Offline

Board footer

Powered by FluxBB