Re: eth0 "disabled" after upgrade Squeeze to Wheezy
On Friday 15 November 2013 18:40:23 Tom H wrote:
> On Fri, Nov 15, 2013 at 5:53 PM, Lisi Reisz <lisi.reisz@gmail.com>
wrote:
> > 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:
> >>>>>> 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
> > --------------------------------------------------------
>
> Are you comparing pre- and post-diest-upgrade?
No - both post dist-upgrade. I edited the interfaces file from
allow-hotplug to auto as an early attempt at troubleshooting. Then
the lines disappeared altogether during this trouble-shooting.
> Re-adding the two etho lines should fix it all for you - unless a
> reboot deletes them, somehow!
it did. :-(
> If it happened via the dist-upgrade (and not via debconf), grepping
> "/var/lib/dpkg/info/*" for "/etc/network/interfaces" might give you
> the culprit; most likely the ifupdown scripts in there.
It happened the first time I rebooted _after_ the dist-upgrade.
grep drew a blank, so I searched manually. There are some Trinity
files re network that I had better look into before I bother you two
further. I am most grateful for all the help.
Lisi
Reply to: