Realtek Connectivity Issues

Hello everyone,

When installing EndeavourOS, I noticed I have the Realtek problem where my NIC will connect just fine sometimes, other times it won’t at all or it does connect but I sit with over 50% packet loss. Wi-Fi works just fine.

Packet Loss Problem Example:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=2 ttl=60 time=8.51 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=60 time=7.72 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=60 time=7.82 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=60 time=8.31 ms

--- 8.8.8.8 ping statistics ---
9 packets transmitted, 4 received, 55.5556% packet loss, time 8091ms
rtt min/avg/max/mdev = 7.721/8.091/8.514/0.330 ms

NIC:

inxi -Na

Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280

Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8168 v: 8.052.01-NAPI modules: r8169 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3c:00.0
    chip-ID: 10ec:8168 class-ID: 0200

One thing, I do notice is the card is still using the 8169 module, is that causing the problem? How do I change that?

I have read the wiki as well as the forums and I see that there are issues with the specific NIC. There has been suggestions on forums as well as the wiki to resolve the issue:

  1. Install the r8168 drivers and blacklist r8169 drivers
  2. Disable the firewall to see if that was the issue
  3. Move to the LTS kernel and use those r8168-lts (This seems to have made it worse)
  4. Disable IPv6 to see if that is causing the issue

My problem still persists unfortunately and I am unsure what to do. Is there anything else I am missing or not trying?

I have never experienced this problem before, this machine has run Windows, Ubuntu, Arch and Debian distros before with no connectivity issues at all.

Welcome to the forum! :smile:
You seem to have package r8168 installed.
Try uninstalling it and reboot. Does that help?

Hi Manuel,

Thank you for the welcome. :smile:

So I ran:

sudo pacman -Rcns r8168

Rebooted and I have stable connectivity, I have rebooted a few times and it seems to be okay now.

When running inxi -Na I see I now get the following output:

  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:8168 class-ID: 0200

Am I supposed to be on r8169? I understood that r8169 was the issue.

Apologies, I am having a hard time understanding why this seems to have worked lol.

The r8169 is the kernel driver which works in most cases. The rest of the cases work with package r8168.

Thanks Manuel, It seems I misunderstood. Still quite newish to Linux and bumping my head along the way.

Thanks again for your time.

1 Like

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