Re: routing table problem after power failure (sarge)
Corné Jannemans wrote:
maybe it (dhcp-client) is still started someway during the bootproces?
No, I don't think so, since dhcp-clients are only started if specified
in the interfaces file (like 'iface ethx inet dhcp' instead of '...
this is my /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0
iface lo inet loopback
# The primary network interface
iface eth0 inet static
dns-nameservers 184.108.40.206 220.127.116.11 18.104.22.168
# dns-* options are implemented by the resolvconf package, if
I commented out the dns-nameservers line and rebooted. Again,
/etc/resolv.conf was empty, no dnslookups could be made (pinging
You did fill it with the correct data first, did you?
When i removed the resolvconf, i did not purge it.
That's OK, purging should not be necessary.
What to do next?
When you do 'ls -l /etc/resolv.conf', what time/date does it show? Does
it indicate that the file gets overwritten during the boot process?
If all else fails, perhaps you could set up a cronjob that overwrites
resolv.conf with the correct data each minute or so...
Or perhaps you can try removing the write bit from the file's permission
to prevent it from being overwritten.
"Codito ergo sum"