Wired Networking stopped after crash

Everything was working fine… until it stopped worked. Electricity was shortly cut and when I turned on the system again, it could not connect to the internet using the wired connection.

I tried reinstalling the networkmanager package, restarting the systemctl NetworkManager service, and well… now I have (a somewhat slow) internet, but the internet applet does not appear in the status bar.

$ inxi -n
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8168
  IF: enp4s0 state: up speed: 100 Mbps duplex: half mac: e0:d5:5e:6c:c6:21
  Device-2: Ralink RT2870/RT3070 Wireless Adapter driver: rt2800usb
    type: USB
  IF: wlp0s20f0u1 state: up mac: 7c:dd:90:01:63:ad

The dmesg command shows strange errors.

[   80.947765] r8169 0000:04:00.0 enp4s0: Link is Down
[   81.995643] r8168: loading out-of-tree module taints kernel.
[   81.995652] r8168: module verification failed: signature and/or required key missing - tainting kernel
[   81.997406] r8168 Gigabit Ethernet driver 8.053.00-NAPI loaded
[   82.009278] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[   82.011311] r8168  Copyright (C) 2024 Realtek NIC software team <nicfae@realtek.com> 
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[   82.011324] r8168 0000:04:00.0 enp4s0: renamed from eth0
[   82.012853] manjaro-setting[2580]: segfault at 25f ip 00007dfb50d2af09 sp 00007ffdc987f9f0 error 4 in libQt5Widgets.so.5.15.15[32af09,7dfb50b44000+3ec000] likely on CPU 3 (core 3, socket 0)
[   82.012863] Code: b6 f3 4c 89 e7 5b 41 5c 5d ff 25 4a e0 36 00 66 90 5b 31 c0 41 5c 5d c3 90 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 55 48 8b 47 08 <48> 8b b8 60 02 00 00 48 89 e5 ff 15 d7 35 37 00 5d c1 e8 04 83 e0
[   82.017023] enp4s0: 0xffffb17ec0179000, e0:d5:5e:6c:c6:21, IRQ 139
[   87.096102] usb 1-1: new high-speed USB device number 7 using xhci_hcd
[   87.253237] usb 1-1: New USB device found, idVendor=148f, idProduct=3070, bcdDevice= 1.01
[   87.253241] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   87.253242] usb 1-1: Product: 802.11 n WLAN
[   87.253243] usb 1-1: Manufacturer: Ralink
[   87.253244] usb 1-1: SerialNumber: 1.0
[   87.379490] usb 1-1: reset high-speed USB device number 7 using xhci_hcd
[   87.530049] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[   87.539770] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0005 detected
[   87.539924] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   88.083221] rt2800usb 1-1:1.0 wlp0s20f0u1: renamed from wlan0
[   88.087761] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   88.087814] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
[   90.175480] wlp0s20f0u1: authenticate with 38:d5:47:c0:05:44 (local address=7c:dd:90:01:63:ad)
[   90.175483] wlp0s20f0u1: send auth to 38:d5:47:c0:05:44 (try 1/3)
[   91.141115] wlp0s20f0u1: send auth to 38:d5:47:c0:05:44 (try 2/3)
[   91.144302] wlp0s20f0u1: authenticated
[   91.144405] wlp0s20f0u1: associating to AP 38:d5:47:c0:05:44 with corrupt probe response
[   91.150990] wlp0s20f0u1: associate with 38:d5:47:c0:05:44 (try 1/3)
[   91.157010] wlp0s20f0u1: RX AssocResp from 38:d5:47:c0:05:44 (capab=0xc31 status=0 aid=3)
[   91.160353] wlp0s20f0u1: associated
[   91.452482] r8168: enp4s0: link up
[  112.116560] wlp0s20f0u1: deauthenticating from 38:d5:47:c0:05:44 by local choice (Reason: 3=DEAUTH_LEAVING)
[  116.018646] enp4s0: 0xffffb17ec0179000, e0:d5:5e:6c:c6:21, IRQ 139
[  117.398758] wlp0s20f0u1: authenticate with 38:d5:47:c0:05:44 (local address=7c:dd:90:01:63:ad)
[  117.398761] wlp0s20f0u1: send auth to 38:d5:47:c0:05:44 (try 1/3)
[  117.400101] wlp0s20f0u1: authenticated
[  117.400169] wlp0s20f0u1: associating to AP 38:d5:47:c0:05:44 with corrupt probe response
[  117.401443] wlp0s20f0u1: associate with 38:d5:47:c0:05:44 (try 1/3)
[  117.406419] wlp0s20f0u1: RX AssocResp from 38:d5:47:c0:05:44 (capab=0xc31 status=0 aid=3)
[  117.409340] wlp0s20f0u1: associated
[  125.202200] r8168: enp4s0: link up

Any help will be really appreciated.

The issue might have affected your ISP as well.
It’s a not so distant possibility.

You have a connection, albeit a slow one.

Similar thing happened to me today (Vodafone cable in Germany)

… not my power cut out, but apparently they had problems or … scheduled maintenance.

restart your router? to force it to acquire a new connection …

The problem is (sorry I forgot to tell you this), thay my son’s computer is connected to the same router via the same switch, and he has the usual speed and zero problems.

Yes, I’ve already restarted the router.

BTW, I have a connection because I’ve plugged a USB WIFI pen. The wired connection, though it says it downloads some info (back when I had the applet in the status bar), is unable to connect to the internet.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host proto kernel_lo 
       valid_lft forever preferred_lft forever
4: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e0:d5:5e:6c:c6:21 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.80/24 brd 192.168.2.255 scope global dynamic noprefixroute enp4s0
       valid_lft 85069sec preferred_lft 85069sec
    inet6 fe80::147e:ab3b:3bc9:7daf/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
5: wlp0s20f0u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 7c:dd:90:01:63:ad brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.231/24 brd 192.168.2.255 scope global dynamic noprefixroute wlp0s20f0u1
       valid_lft 85058sec preferred_lft 85058sec
    inet6 fe80::b21c:1201:4f51:87b2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Well - you are connected.
Why it is slow is anyone’s guess - nothing in the logs.

The applet not being there has no real relation to it.

full inxi -zv8 would be better

I don’t know from experience how to add/remove/restore an applet which suddenly doesn’t show up anymore in KDE/Plasma
as I don’t use it myself

If you now (temporarily?) use a different wifi adapter - is it allowed or maybe blocked in the router?

How do you use it to connect when the applet isn’t there?
The usb thing just might have a bad connection - you do have an IP and are connected …

your ethernet is connected as well …

please use </> to format your text
so that it appears here just like you saw it in your terminal

can’t help with KDE and the missing applet - except:
try to add it to the panel again

Sorry about formatting. Fixed.
I’ve fished this in dmesg:

$ sudo dmesg | grep r8169
[    7.428574] r8169 0000:04:00.0: can't disable ASPM; OS doesn't have ASPM control
[    7.442545] r8169 0000:04:00.0 eth0: RTL8168g/8111g, e0:d5:5e:6c:c6:21, XID 4c0, IRQ 139
[    7.442550] r8169 0000:04:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    7.444590] r8169 0000:04:00.0 enp4s0: renamed from eth0
[    8.167183] Generic FE-GE Realtek PHY r8169-0-400:00: attached PHY driver (mii_bus:phy_addr=r8169-0-400:00, irq=MAC)
[    8.344073] r8169 0000:04:00.0 enp4s0: Link is Down
[   19.929824] r8169 0000:04:00.0 enp4s0: Link is Up - 100Mbps/Full - flow control rx/tx
[   19.931436] r8169 0000:04:00.0 enp4s0: Link is Up - 100Mbps/Half - flow control off
[   80.947765] r8169 0000:04:00.0 enp4s0: Link is Down

I have no idea how something like that could happen.
There is a segmentation fault in your first log:

I do not know nor have any idea how to help.
Sorry!

Oh dear… all right. Some advance, though. I was able to restore the applet by reinstalling plasma-nm.

$ sudo pacman -S plasma-nm

I also found this:

$ sudo dmesg | grep r8168
[    7.394085] r8168: loading out-of-tree module taints kernel.
[    7.394098] r8168: module verification failed: signature and/or required key missing - tainting kernel
[    7.399351] r8168 Gigabit Ethernet driver 8.053.00-NAPI loaded
[    7.412916] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    7.414955] r8168  Copyright (C) 2024 Realtek NIC software team <nicfae@realtek.com> 
[    7.450495] r8168 0000:04:00.0 enp4s0: renamed from eth0
[   14.309131] r8168: enp4s0: link up

But it was r8169… wasn’t it? Now r8169 does not appear at all (I rebooted to have the applet loaded in the taskbar).

Maybe you should blacklist one module in favor of the other.
To be sure to be using one specific one …
I read about it - perhaps you can do so too.

  1. Try out (with a Manjaro USB stick) to boot in a live environment and check if your connection works there.
  2. If you don’t see connection there, then maybe switch your LAN Ports from your router.
  3. You can additional try to swap cables with your son’s PC.
1 Like

If you have enabled jumbo frames (MTU in Network Manager) for the cable connection - disable those.

If you have installed $KERNEL-r8168 (eg. linux610-r8168) - please remove it and restart your system.

Years ago the separate r8168 driver was needed - now it is for edge cases where the kernel driver has issues which it very rarely has.

Okay, I went fiddling with the switch, and now everything is working fine. Probably a bad connection, I guess, but for sure nothing I was conscious about.

Thanks to all.

2 Likes