networking "restart" drops eth0 :(

Derek Broughton news at pointerstop.ca
Fri Sep 16 20:50:50 UTC 2005


David wrote:

> I'm just building a brand new Ubuntu server box. Unfortunately I put in
> the wrong address for the nameserver so I changed it manually (edited
> /etc/resolv.conf and /etc/network/interfaces) and now if I restart
> networking I lose the eth0 connection completely! ie, ifconfig only shows
> loopback.
> 
> If I completely reboot the machine, eth0 comes back and works fine until
> the next time I restart networking :(

You mean, as in, "/etc/init.d/networking restart"

Probably because you shouldn't be doing that :-)  To restart a link you just
want to use ifconfig or ifup/ifdown.
-- 
derek





More information about the ubuntu-users mailing list