[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: routing table problem after power failure (sarge)




Corné Jannemans wrote:
Samba is now working! (one NIC disabled)

But after reboot, that f**king /etc/resolv.conf is again empty! That means:
- I can ping to an ip on the internet
- I can't resolv any name with my ISP's nameservers.
- when I write back my nameservers in /etc/resolv.conf, I can do nslookups and ping to names.

What package does wipe this file at boot? Maybe the resolvconf package has to do something with it. I don't know anything about this package, but it has to do something with bind and dhcp, which I don't use. It is not installed, but an /etc/resolvconf/ dir is existing.

Sounds like the suspect is the dhcp-client, but already uninstalled it, you say. Strange.

I discovered something which may be strange:
in /etc/network/interfaces:
"lo" is mentioned on the "auto" line
but there is no configuration for lo, like exists for eth0 and eth1.

Do I need to post that file, or post ifconfig agian?

Posting /etc/network/interfaces would be a good idea, I think.

--
"Codito ergo sum"
Roel Schroeven


maybe it (dhcp-client) is still started someway during the bootproces?

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
       address 10.0.0.1
       netmask 255.0.0.0
       network 10.0.0.0
       broadcast 10.255.255.255
       dns-nameservers 194.159.73.135 194.159.73.136 194.159.73.137
       #dns-search thuis
       gateway 10.0.0.250
# dns-* options are implemented by the resolvconf package, if installed

iface eth1 inet static
       address 10.0.0.2
       netmask 255.0.0.0
       broadcast 10.255.255.255
       network 10.0.0.0
       gateway 10.0.0.250

hope this helps....

Corné

_________________________________________________________________
Gebruik MSN Messenger en krijg direct antwoord http://messenger.msn.nl/



Reply to: