Ethernet suddenly stopped working completely

Yesterday the whole day was quite stable connection, no disconnections at all(which is surprising cobsidering the past 3 months turning on and off randomly). Today i turn on my pc and same thing happens. Failing to connect repeatedly.
I also tried a live usb and the same thing happened.

1 Like

I dont dual boot windows. Also what is BPL?

Ia it possible to install KERNEL-r8618 without an internet connection? I cant get a connection at all now…

I cant find IOMMU setting in bios.

Check if you have any packages in /var/cache/pacman/pkg with a partial name of r8168 is your only hope to install it offline.

So we can rule out the driver - then what can it be?

:thinking:

One thing that passes through is the power - something is disabling the nic - I suspect waking up after sleep could trigger the dead device - either in settings manager or tlp or acpi or a combination.

I would go over the settings and disable any and all power daemon running.

Another thought is hardware - but I have no idea how to troubleshoot the device itself.

 lspci

could list the recognized pci devices.

sudo inxi -Nxxx

should list which driver is in use for your nic

Currently my laptop uses the kernel driver r8169 and there’s no hickups (kernel 5.15.25 (unstable))

[fh@panther ~]$ inxi -Nxxx
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 3a:00.1 chip-ID: 10ec:8168 class-ID: 0200
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie:
    speed: 5 GT/s lanes: 1 bus-ID: 3b:00.0 chip-ID: 8086:2526 class-ID: 0280
  Device-3: Intel Wireless-AC 9260 Bluetooth Adapter type: USB
    driver: btusb bus-ID: 1-5:3 chip-ID: 8087:0025 class-ID: e001
[fh@panther ~]$ inxi -Sxxx
System:
  Host: panther Kernel: 5.15.25-1-MANJARO x86_64 bits: 64 compiler: gcc
    v: 11.2.0 Desktop: LXQt 1.0.0 tk: Qt 5.15.2 info: plank, lxqt-panel
    wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux

You might laugh but my connection ia back after leaving my pc on for 4 hours… im posting the output.

I am suspecting some kind of suspended device … please go over your power settings - including tlp.conf - there’s a package tlpui which makes it easier to handle.

1 Like

sudo inxni -Nxx

Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8168 v: 8.049.02-NAPI pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200

 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
02:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 16)
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8)
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
09:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
09:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
09:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
09:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
0a:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)

It honestly tries to connect for 4 hours then succedes and is better that it was 3 days ago.
It stopped being able to connect at all 2 days ago. Before that it would connect but disconnect at random times.

please go over your power settings - including tlp.conf - there’s a package tlpui which makes it easier to handle.

Can you guide me through that? What exactly should i check and tweak?

Please remove the r8168 driver - just to rule that out.

Before that i had the r8169 and after reading some forums i switched to the r8168…

When i check inxi -Fayz i see that r8168 is the driver but the module is r8169

Then I’m afraid it sounds like wobbly hardware…

Yes - sometimes the r1868 is better - but when you have these unexplainable disconnects - they have been driving me nuts - from time to time.

I have had different results on the same chip and the same hardware - depending on kernel versions - there is no one answer fits all - the chip itself could be from a bad batch.

When i check inxi -Fayz i see that r8168 is the driver but the module is r8169

Could these two be causing a conflict?
I will install the r8169 again and update you.

They will cause conflict - check in /etc/modprobe.d if you have a blacklist for the r8169 - it could be placed there by the r8168 package - so try uninstalling that first - check if the blacklist has been removed and run

sudo modprobe -u r8168
sudo modprobe r8169

Yes, i have blacklisted the r8169 driver in the past so i can i use r8168 as suggested on other forums.
So now i should blacklist and r8168 and remove the r8169 from the blacklist?

If I remember correct - the kernel driver takes priority - so by removing the blacklist of r8169 it will load on boot.

But there’s no harm done in blacklisting r8168 - just remember to unload r8168 before loading r8169

That :point_up_2:

Ok so i unloaded and blacklisted r8168 but now
inxi -Fayz shows no driver and modules: r8169, r8168

I cant post the output directly cause i have no connection

driver: N/A