ยง2024-10-10
- Debian Bookwork
- modified /etc/network/interfaces
# 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
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
- original /etc/network/interfaces.backup
# 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
# The primary network interface
allow-hotplug end0
iface end0 inet dhcp
add interface dhcp auto, not needed any more
- add this file
/etc/network/interfaces.d/20-wirednetwork
auto eth0
iface eth0 inet dhcp
- then
sudo systemctl restart networking