Internet disappeared after an update

Latest update broke my internet connection. Device is detected as shown by lspci:

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 255, IOMMU group 13
I/O ports at f000 [size=256]
...
Kernel modules: r8169

However, no link appears in IP addr, the only one available is loopback. Additionally, inxi shows this:

Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK PRIME B450M-A driver: N/A modules: r8169 pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  WAN IP: No WAN IP found. Connected to web? SSL issues?

I’m not even sure what would be the problem. Just in case it might help, here’s my update history:

systemd-sysvcompat (254-1 > 254.1-1)
python-zipp (3.16.1-1 > 3.16.2-1)
openssl-1.1 (1.1.1.u-1 > 1.1.1.v-1)
modemmanager (1.20.6-1 > 1.20.6-2)
linux64-nvidia (535.98-2 > 535.98-3)
linux64-headers (6.4.9-1 > 6.4.10-1)
linux64 (6.4.9-1 > 6.4.10-1)
linux61-nvidia (535.98-2 > 535.98-3)
linux61-headers (6.1.44-1 > 6.1.45-1)
linux61 (6.1.44-1 > 6.1.45-1)
libmm-glib (1.20.6-1 > 1.20.6-2)
lib32-systemd (254-1 > 254.1-1)
highway (1.0.5-1 > 1.0.6-1)
easyeffects (7.0.6-1 > 7.0.7-1)
systemd (254-1 > 254.1-1)
openmpi (4.1.5-2 > 4.1.5-3)
openpmix (4.2.3-2 > 4.2.5-1)
systemd-libs (254-1 > 254.1-1)

Hi @hrlil, and welcome!

I’ve only read this very quickly, but here :point_down:

…it clearly states that the Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet has no driver. But luckily there is a driver for 8168 in the AUR:

$ pamac search 8168
r8168-dkms  8.051.02-2                                                                                                                                                                                                                                    AUR
A kernel module for Realtek 8168 network cards (DKMS version)
[...]

So it can be quite easily installed using:

pamac build r8168-dkms

I recommend the -dkms version ass that will survive kernel upgrades of the same major version,

Hope this helps!

1 Like

Thanks for your response!

Decided to query a search first, because internet was working before rebooting from update and I remember installing it. Pamac reports r8168-dkms as installed:

> pamac search r8168-dkms
r8168-dkms  8.0.51.02-2 [Installed]
    A kernel module for Realtek 8168 network cards (DKMS version)

Should I proceed with pamac build?

I’m guessing so.

It’s worth a try, but then you should also blacklist the in-kernel r8169 driver, because that’s the one in use right now. :arrow_down:

sudo su -c "echo r8169 >> /etc/modprobe.d/blacklist.conf"
1 Like

Doesn’t look that way in the inxi output? Yeah, I know it’s listed here:

…but it doesn’t show as being used here:

…which in my opinion is very strange now…

1 Like

You are correct. And for that matter, we don’t know what kernel the OP is using, but there are several threads at the PCLinuxOS forum of people who are having internet problems — specifically, cabled internet — with the 6.x kernels while it works with 5.15. I’m guessing it may be related to the hardware generation. :thinking:

Before trying anything else reboot into tty and run:
sudo dkms autoinstall
then reboot. Had the same issue with another dkms driver after the last update.

I checked the update logs @OP provided, and it all looked OK to me…I’m using the latest5 kernel, and wired networking witho0ut a problem…then again, I have an intel NIC, not realtek, so that might be the reason.

Thanks, everyone! Had to do a wired tether through my phone to build with pamac, but after rebooting the internet started working again. I’ll also add r8169 to the blacklist just in case. Have a good day, everyone!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.