When I reboot my laptop I can see an error related to Network.service not being able to raise interfaces:
Code: Select all
[FAILED] Failed to start. Raise network interfaces. See 'systemctl status networking.service for details.
Code: Select all
systemctl status networking.service
Code: Select all
$ systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-02-21 16:10:07 WET; 22s ago
Docs: man:interfaces(5)
Process: 18065 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 18065 (code=exited, status=1/FAILURE)
Code: Select all
sudo ifup -a --read-environment
Code: Select all
$ sudo ifup -a --read-environment
Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "eth0"
Failed to get interface index: No such device
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
ifup: failed to bring up eth0
Code: Select all
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
I run:
Code: Select all
sudo ifconfig -a
Code: Select all
$ sudo ifconfig -a
enp3s0f2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::290:f5ff:fed2:7d56 prefixlen 64 scopeid 0x20<link>
ether 00:90:f5:d2:7d:56 txqueuelen 1000 (Ethernet)
RX packets 392 bytes 25320 (24.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 899 bytes 282343 (275.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1611528 bytes 43959533865 (40.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1611528 bytes 43959533865 (40.9 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.112 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::864b:f5ff:fe16:b1cf prefixlen 64 scopeid 0x20<link>
ether 84:4b:f5:16:b1:cf txqueuelen 1000 (Ethernet)
RX packets 1049742 bytes 551666012 (526.1 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 762483 bytes 171822591 (163.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0