networking "restart" drops eth0 :(

David david at kenpro.com.au
Sat Sep 17 00:37:54 UTC 2005


On Fri, Sep 16, 2005 at 05:50:50PM -0300, Derek Broughton wrote:
> 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.

That's what I meant .. .and that's what i've been doing since woody. It's 
news to me that you aren't supposed to do it. Interestingly, I have a 
Hoary desktop box and /etc/init.d/networking restart works perfectly.

OTOH, ifup works perfectly! thank you. 

David.




More information about the ubuntu-users mailing list