Solved -- Help with Realtek module r8169

using command “lspci -v”,

under Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit

ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. Device 205f
Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 13
I/O ports at d000 [size=256]
Memory at fc804000 (64-bit, non-prefetchable) [size=4K]
Memory at fc800000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: r8169
Kernel modules: r8169

So, wizards of Linux, where does this selection of r8169 happen?

…is " udev rules written by the administrator go in /etc/udev/rules.d/
a clue?

udev should detect your network interface controller (NIC) and automatically load the necessary kernel module at startup. Check the “Ethernet controller” entry (or similar) from the lspci -v output. It should tell you which kernel module contains the driver for your network device.

edit: removal of r8168 package solved my issue

1 Like

I have the same controller in my laptop and had the same issues. Removing everything Reltek worked for me… the r8168 specifically…

I wish you luck!

from experience, removing the r8168 driver package results in LOSS of ethernet network connection.

my guess is that the solution is somewhere in UDEV, not the removal of any package

1 Like

Yes of course it will but install the r8169 in its place maybe do that first

About r8169 it depends your hardware, on mine it’s a r8168 but detected as a r8169, so the install of r8168 made it work…

Try to see first what there is in your hardware !

May have stumbled onto cause of my issue.

removed r8168 package, REBOOTED, r8169 appears under “nmcli”

ethernet network connection working!

1 Like

I tried modules-load.d modprobe.d and default/grub but nothing. I had to manually modprobe r8169 every boot!

BUT Thanks to Mr G and his simple solution I have regular ethernet again!!

Thank you!!

brandent

I have the same problem but its new all for me explain me more

A question on the subject: I have the Realtek 8168 installed, but there are problems with the 8168 driver. So I have removed it (in the Welcome app). Now the 8169 driver is active. Everything works fine. Now which is better: to use the 8169 driver or the r8168-dkms driver from the AUR? I just don’t like the feeling of getting something as important as the network driver from the AUR.

Don’t fix what ain’t broken?

Yes, actually I see it that way too. Only, it is actually the “wrong” driver that is running now :thinking:

I am not sure if it is the wrong one, see:

1 Like

Thanks @pebcak, but still the question: what to think in general of a network driver from the AUR? Trustworthy or rather less?

I am afraid I have no experience of network drivers from AUR so perhaps some other forum members might be better suited to answer the question.

The solution its so simple first delete de module r8168 sudo pacman -Rns r8168 and later start this service sudo systemctl enable systemd-networkd and reboot its all

1 Like

Or just use the welcome app…

2 Likes