Results 1 to 4 of 4
I'm a Linux newbie. I've had Debian installed for a while now with MLDonkey and NFS to share a folder. It's perfect as my P2P download server, except that every ...
- 11-19-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 2
Changing local IP address driving me crazy
I'm a Linux newbie. I've had Debian installed for a while now with MLDonkey and NFS to share a folder. It's perfect as my P2P download server, except that every time my router restarts, the local IP addresses of both my Debian box and my iBook change.
Whenever this happens, I have to modify the exports file for NFS and change the remote access string for MLDonkey to get my convenient remote access and control for my downloads running smoothly again. I don't know of any other way to recover from a router restart than this.
How can I keep this problem from happening? Any solution is fine: automatic reconfiguration when the IP changes, or locking the IP somehow, or even changing the whole system around.
- 11-19-2005 #2
If your Debian computer is always switched on, can you simply use a static IP address instead of using DHCP from your router?
e.g. this will set the IP info you would normally get from DHCP
Of course change the IP's relevant to your environmentCode:ifconfig eth0 192.168.1.5 netmask 255.255.255.0 route add default gw 192.168.1.1
Registered Linux user #389109
My Semi-Linux Blog
- 11-21-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Topeka, KS, USA
- Posts
- 88
Unfortunately, I'm not a network guru, but I would think that Debian is sophisticated enough to remember this as long as you use static configuration. Also, there might be a way that the router can be reconfigured to give your devices a set address based on their MAC.
- 11-25-2005 #4Just Joined!
- Join Date
- Nov 2005
- Posts
- 2
Thanks a lot, stokes, that seems to have worked perfectly!


Reply With Quote
