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

Bug#968980: installation-reports: systemctl status networking.service "failed" but Wicd works fine (LXDE)



On Sun, 22 Nov 2020 05:44:04 +0000 Avinash Sonawane <rootkea@gmail.com> wrote:
> On Tue, 25 Aug 2020 01:42:52 -0300 nora-v <riveravaldezmail@gmail.com> wrote:
> > $ systemctl status networking.service
> > ● networking.service - Raise network interfaces
> >    Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
> >    Active: failed (Result: exit-code) since Mon 2020-08-24 22:41:10 -03; 2h 54mi
> >      Docs: man:interfaces(5)
> >  Main PID: 423 (code=exited, status=1/FAILURE)
> >
> > And also:
> >
> > $ cat /etc/network/interfaces
> > source-directory /etc/network/interfaces.d
> > $ cat /etc/network/interfaces.d/setup
> > auto lo
> > iface lo inet loopback
> >
> > auto eth0
> > iface eth0 inet dhcp
>
> I experienced this exact same issue with this exact
> /etc/network/interfaces.d/setup file contents with Debian 10.6.0 live
> XFCE non-free iso fetched from
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-10.6.0-amd64-xfce+nonfree.iso
>
> I fixed it with this command:
> $ sudo sed -i 's/eth0/enp1s0/g' /etc/network/interfaces.d/setup
>
> where I found `enp1s0` in `$ ip l` output.

This issue has been around since Stretch, [1] when the modern network
interface names became default. So, another workaround is to comment
out the lines in /etc/network/interfaces.d/setup that reference old
network interface names like eth0. Maybe this can be considered a bug
and the installer should not generate those lines.

[1] https://unix.stackexchange.com/questions/390307/startup-debian-9-error-failed-to-start-raise-network-interfaces


Reply to: