networking "restart" drops eth0 :(
David
david at kenpro.com.au
Fri Sep 16 23:41:31 UTC 2005
On Fri, Sep 16, 2005 at 04:08:58PM -0400, Matt Patterson wrote:
> When you say you lose eth0 does that mean it is no longer a valid
> interface, or it just doesnt come back up? Try this:
>
> sudo ifconfig -a
It doesn't come back up. ifconfig -a shows it still there.
>
> If you see eth0 in that list then the interface was simply not brought
> back up, you can do that easily by reenabling the device via the ui
> (which is where I assume you are getting the restart option, i wouldnt
> know because I never use the ui). To bring the device back up:
>
> sudo ifup eth0
>
ifup brought it back up again.
> It's times like these that I am glad I had to learn debian networking
> the hard way back in the days of potato.
couldn't agree more. But I've been using /etc/init.d/networking restart
since early woody, and it's always worked. I thought that was what you
were supposed to do :)
Interestingly, I have a Hoary desktop box, and it comes up fine using
/etc/init.d/networking restart
I wonder what is the difference?
>
> 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 :(
> >
> >Can anyone suggest what I'm doing wrong?
> >
> >David.
> >
> >
> >
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list