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

Re: eth0 "disabled" after upgrade Squeeze to Wheezy



On Friday 15 November 2013 17:06:55 Tom H wrote:
> On Fri, Nov 15, 2013 at 4:13 PM, Lisi Reisz <lisi.reisz@gmail.com> 
wrote:
> > On Friday 15 November 2013 15:55:59 Lisi Reisz wrote:
> >> On Friday 15 November 2013 15:29:00 Tom H wrote:
> >>> On Fri, Nov 15, 2013 at 3:06 PM, Lisi Reisz
> >>>
> >>> <lisi.reisz@gmail.com> wrote:
> >>>> I have just upgraded a client's computer to Wheezy. It
> >>>> appeared to go well and there was certainly an internet
> >>>> connection: it would not have been able to upgrade otherwise!
> >>>>
> >>>> Now there is none. I have checked /etc/network/interfaces and
> >>>> changed "allow-hotplug" to "auto", just for something to try.
> >>>>
> >>>> :-( It made no difference. I pinged the gateway, largely so
> >>>>
> >>>> that I could report that I had done so. I got the error
> >>>> message "Network is unreachable".
> >>>>
> >>>> KControl tells me that eth0 is "disabled". How and why is it
> >>>> disabled? More importantly, **how do I enable it?**
> >>>
> >>> Has eth0 been renamed? What's the output of "ip a"?
> >>
> >> # ifup -a
> >> ifup: failed to open statefile /run/network/ifstate: No such
> >> file or directory
> >>
> >> I misread at first - but "ifup a" produces the same result.
> >>
> >>> (Did you run "ifup -a" or "ifup eth0" after changing
> >>> "allow-hotplug" to "auto"?)
> >>
> >> Yes - and have restarted several times now. :-(
> >>
> >> "ifconfig -a" shows eth0 and lo, neither of which has an IP.
> >
> > # mkdir /run/network
> > # ifup lo
> >
> > lo now has an IP address.
> > eth0 is still "unknown interface" :-(
>
> cat /etc/network/interfaces

It was:
-----------------------------------------------------------------
# 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
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
-------------------------------------------------------

It is now <%$&()&^$£%>:
--------------------------------------------------------
# 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
iface lo inet loopback

# The primary network interface
--------------------------------------------------------

Whatever is doing the overwriting is clearly overwriting this too.  It 
certainly behaves like Network Manager, but I have checked, and 
rechecked, and Network Mangler is definitely not there, anyhow 
according to both aptitude and apt-cache.

Thanks for your continued help.
Lisi


Reply to: