Network settings don't stick after reboot
I have the latest version of Debian running on Linksys NSLU. I have it set for a static IP and I've added a correct default gateway to my config and everything works ok. However, when I reboot, it goes back to DHCP and the gateway route doesn't stick. All the correct settings in the correct files but those settings don't get read on reboot apparently. And if I do a restart of networking, the correct settings get applied. What gives? Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network settings don't stick after reboot
Wayne Topa linuxone at intergate.com writes: What correct setting on what, the slug? The static IP settings are in /etc/network/interfaces. The slug actually is my DHCP server and is running DNSMASQ for that. The IP that it comes up with is within range, but is an old one I used to have assigned to it which makes me curious. I don't see why I would have to reserve an address for it. Shouldn't Debian boot with the settings I specify regardless of what the DHCP server says (in this case itself)? There are no conflicts with other devices on the network. And when I check the leases file during the time that the erroneous settings are applied, there is no listing for the address the slug got. This tells me that it may be reverting to its old static settings and not getting it from DHCP. The interfaces setup is here: # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 broadcast 192.168.1.255 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network settings don't stick after reboot
Mumia W.. paduille.4061.mumia.w+nospam at earthlink.net writes: Please post /etc/network/interfaces I did above in response to somebody else. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Network settings don't stick after reboot
Logan Five logan5 at pobox.com writes: Ok, I found it. Someone writing me directly in email pointed me to the right place. I had a setting in rc.local that set the static IP. Now I remember getting a tip to do that on a web posting somewhere. But I think it was a generic tip and not one geared directly towards Debian so probably not the best way to go about it. Everything works great now! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]