Dne, 07. 05. 2011 18:48:31 je AG napisal(a):
/etc/network/interfaces:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
#iface eth0 inet dhcp
address 192.168.1.40
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# dns-* options are implemented by the resolvconf package, if
installed
dns-nameservers 158.43.240.4
dns-search org
Seems OK to me.
cat /etc/resolv.conf:
$ sudo cat /etc/resolv.conf
sudo: unable to resolve host valhalla
# Generated by NetworkManager
Seems a total mess. Which is no wonder at all -- it's been generated by
the notorious NetworkMangler!
AFAIK you just need one line inthere, namely:
nameserver 192.168.1.254
(or whatever nameserver you think you should put there).
Just for a test, try commenting out all other lines in your
/etc/resolv.conf, leaving just the 'nameserver 192.168.1.254' line.
Then: service stop network-manager
Then: cat /etc/resolv.conf again just to check that Network Manager
hasn't written rubbish inthere again
I have a strong suspicion Network Manager is messing things up for you.
If you can restart your networking (or reboot) *without* letting
Network Manager mangle your resolv.conf again, you could actually get
connectivity.
I think.
Perhaps by making /etc/resolv.conf read-only or something...?
(temporarily, just to see if it works)
Also, you mention you're using a february CD for your installs? Was
that just before Squeeze entered stable? I would strongly recommend you
download a more recent netinstall (or other) CD before trying a
reinstall.
--
Cheerio,
Klistvud
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801 Please reply to the list, not to
me.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1304789657.23908.1@compax