Ethernet stopped working after installing KDE

I’m using Debian 12 with Plasma 5.27.5, which I’ve installed normally using tasksel(8), albeit some time after initial set up, because I’d been using the computer as a home server for some time, only recently installing a GUI.

Prior to installing KDE, I’d been using the Ethernet port for internet access, which just werked after initial setup, but ever since installing KDE, it has stopped working.

I’ve tried editing /etc/network/interfaces to
auto enp5s0
allow-hotplug enp5s0
iface enp5s0 inet dhcp
iface enp5s0 inet6 auto
and restarting the network with systemctl restart networking (both as per this), but that doesn’t seem to have done much.
Connecting to the internet via a wireless connection is working, however.

Output of inxi -n:
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp2s0f0 state: down mac: 54:05:db:68:29:89
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi
IF: wlp3s0 state: up mac: 78:2b:46:9d:02:79
Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 54:05:db:68:29:88

Output of systemctl status networking:
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; preset: enabled)
Active: active (exited) since Thu 2024-01-04 15:24:26 CET; 12min ago
Docs: man:interfaces(5)
Process: 745459 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=0/SUCCESS)
Process: 745578 ExecStart=/bin/sh -c if [ -f /run/network/restart-hotplug ]; then /sbin/ifup -a --read-environment --allow=hotplug; fi (code=exited, status=0/SUCCESS)
Main PID: 745578 (code=exited, status=0/SUCCESS)
Tasks: 1 (limit: 18204)
Memory: 976.0K
CPU: 209ms
CGroup: /system.slice/networking.service
└─745482 dhclient -4 -v -i -pf /run/dhclient.enp5s0.pid -lf /var/lib/dhcp/dhclient.enp5s0.leases -I -df /var/lib/dhcp/dhclient6.enp5s0.leases enp5s0

Jan 04 15:24:26 [my hostname] ifup[745482]: DHCPDISCOVER on enp5s0 to 255.255.255.255 port 67 interval 4
Jan 04 15:24:26 [...] dhclient[745482]: DHCPOFFER of 192.168.178.52 from 192.168.178.1
Jan 04 15:24:26 [...] ifup[745482]: DHCPOFFER of 192.168.178.52 from 192.168.178.1
Jan 04 15:24:26 [...] ifup[745482]: DHCPREQUEST for 192.168.178.52 on enp5s0 to 255.255.255.255 port 67
Jan 04 15:24:26 [...] dhclient[745482]: DHCPREQUEST for 192.168.178.52 on enp5s0 to 255.255.255.255 port 67
Jan 04 15:24:26 [...] dhclient[745482]: DHCPACK of 192.168.178.52 from 192.168.178.1
Jan 04 15:24:26 [...] ifup[745482]: DHCPACK of 192.168.178.52 from 192.168.178.1
Jan 04 15:24:26 [...] dhclient[745482]: bound to 192.168.178.52 -- renewal in 415566 seconds.
Jan 04 15:24:26 [...] ifup[745482]: bound to 192.168.178.52 -- renewal in 415566 seconds.
Jan 04 15:24:26 [...] systemd[1]: Finished networking.service - Raise network interfaces.

Or is this a Debian issue, not KDE?

Does the wired network show up in Systemsettings?

no, only lo(loopback)

Blindly running # dhclient enp5s0 seems to have fixed the error.
Where(and do I) do I report this error? KDE or Debian? Installing KDE seems to have caused the issue, but I installed it using tasksel, which is Debian-grown.

I don’t think it is worth reporting to KDE. Sounds more like a configuration or packaging issue to me.

2 Likes