Problem getting wired iternet to work: Realtek RTL8111/8168/8411

network:
  eno1                 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
network interface:
  eno1                 Ethernet network interface
  lo                   Loopback network interface

Hi,

I got this new desktop just today but I am having trouble to get the internet working. It doesn’t have a wifi card. Some specs are as followed:

eos-log-tool-logs
#################### lsusb ########################

Bus 007 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 002: ID 054c:05ba Sony Corp. Storage Media
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 03f0:0620 HP, Inc USB3.1 Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 002 Device 004: ID 054c:06b1 Sony Corp. Storage Media
Bus 002 Device 003: ID 03f0:0610 HP, Inc Z24i Monitor Hub
Bus 002 Device 002: ID 0461:4141 Primax Electronics, Ltd HP 320M USB Optical Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


#################### hwinfo --short ########################

cpu:
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 3250 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 3417 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1442 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1337 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1497 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1336 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1488 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 2341 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1455 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1485 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1683 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1438 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 2200 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1397 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1710 MHz
                       AMD Ryzen 7 PRO 4750G with Radeon Graphics, 1504 MHz
keyboard:
  /dev/input/event4    MosArt Wireless Keyboard/Mouse
mouse:
  /dev/input/mice      MosArt Wireless Keyboard/Mouse
  /dev/input/mice      Colorado HP 320M USB Optical Mouse

graphics card:
                       ATI Renoir
sound:
                       ATI Audio device
                       AMD Family 17h (Models 10h-1fh) HD Audio Controller
storage:
                       Intel SSD 660P Series
                       AMD SATA controller
network:
  eno1                 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
network interface:
  eno1                 Ethernet network interface
  lo                   Loopback network interface
disk:
  /dev/nvme0n1         Intel SSD 660P Series
  /dev/sdb             Kingston DataTraveler 3.0
  /dev/sdc             Sony Storage Media
  /dev/sda             Sony Storage Media
partition:
  /dev/nvme0n1p1       Partition
  /dev/nvme0n1p2       Partition
  /dev/nvme0n1p3       Partition
  /dev/nvme0n1p4       Partition
  /dev/sdb1            Partition
  /dev/sdb2            Partition
  /dev/sdc1            Partition
  /dev/sda1            Partition
  /dev/sda2            Partition
cdrom:
  /dev/sr0             hp HLDS DVDRW  GUD1N
usb controller:
                       AMD Renoir USB 3.1
                       AMD USB Controller
                       Realtek USB Controller
                       AMD Renoir USB 3.1
bios:
                       BIOS
bridge:
                       AMD Renoir PCIe Dummy Host Bridge
                       AMD Renoir Device 24: Function 3
                       AMD Renoir Device 24: Function 1
                       AMD PCI bridge
                       AMD Renoir PCIe Dummy Host Bridge
                       AMD PCI bridge
                       AMD FCH LPC Bridge
                       AMD Renoir PCIe GPP Bridge
                       AMD Renoir Device 24: Function 6
                       AMD PCI bridge
                       AMD Renoir Root Complex
                       AMD Renoir Internal PCIe GPP Bridge to Bus
                       AMD Renoir Device 24: Function 4
                       AMD Renoir Device 24: Function 2
                       AMD Renoir Device 24: Function 0
                       AMD PCI bridge
                       AMD Renoir PCIe GPP Bridge
                       AMD Renoir PCIe Dummy Host Bridge
                       AMD Renoir Device 24: Function 7
                       AMD PCI bridge
                       AMD Renoir Device 24: Function 5
hub:
                       HP Z24i Monitor Hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
                       HP USB3.1 Hub
                       Linux Foundation 3.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 2.0 root hub
                       Linux Foundation 3.0 root hub
                       Linux Foundation 2.0 root hub
memory:
                       Main Memory
unknown:
                       FPU
                       DMA controller
                       PIC
                       Keyboard controller
                       AMD Family 17h (Models 10h-1fh) Platform Security Processor
                       AMD Renoir IOMMU
                       Realtek Serial controller
                       Realtek Unclassified device
                       Realtek IPMI Interface
                       AMD FCH SMBus Controller
                       Serial controller


link to pdf for the make and model

https://dustinimages.azureedge.net/media/d200001001347520/elitedesk-805-g6.pdf

Reluctantly I had to start up Windows to check if it wasn’t a hardware issue. It wasn’t. I also tried a couple of other Live iso:s (Fedora 34 and Linux Mint 20.1). No internet connection there either.

Please let me know if there is other info you need to troubleshoot this.

1 Like

Maybe it’s the r8168 / r8169 problem?

2 Likes

Fire up welcome and see if there is a button that says remove r8168. If so click it and then reboot.

1 Like

Does that mean when I see this button that I necessarily have this problem, even if my Ethernet seems to be working fine?

Thanks @BONK and @Endlich,

I didn’t have the removal button. I looked around the forum and saw it was introduced by @manuel in another tread. In the same tred, there was a post by @joekamprad. Tried that and it didn’t work. Here it is:

You got a new desktop? 4750G? I’m waiting for them to get some Ryzen 7 4700G processors. :tired_face:

Edit: Now i jealous! :laughing:

1 Like

Did you try remove r8168 and reboot?

No it is there for situations like this when it is installed and caused ethernet issues. Uninstall it and r8169 is used. It is a hardware based issue with certain systems.

2 Likes

thx @BONK :+1:t2:

1 Like

Are you fully updated? also post inxi -Fxxxza --no-host

I got it it delivered today. I had been looking at it for some time and it was out of stock at my web retailer. Yesterday I checked and they had only 3. . It’s a pretty nice machine.

1 Like

@BONK, @ricklinux

I just tried the live os. This machine doesn’t have a wireless card so I am not sure if I get EnOs installed, how I would go about and update.

1 Like

Are you not getting Ethernet on the live ISO is what you are saying?

1 Like

Yes, on the live os.

Maybe @BONK has the same idea? If you sudo rmmod r8168 and sudo modprobe r8169

In the live os I did:

sudo pacman -R r8168
sudo rmmod r8168
sudo modprobe r8169

as per the link I posted above from @joekamprad. Unfortunately it didn’t work.

Well the package r8168 is on the live ISO and removing it probably only removes it from the Live environment so when you reboot does it show the same one as being loaded?

Edit: The r8169 is a kernel module that will load if you can blacklist or remove the r8168 in the live ISO?

Hmm, I guess so. Or rather I assume so. I am gonna fire up the live iso now. How would I check that? Sould I run the same commend as above or something else?

Did you try this and reboot? As per @manuel from the wiki?

sed -i /usr/lib/modprobe.d/r8168.conf -e 's|r8169|r8168|'

No. But wouldn’t rebooting set everything back to the “original” state of the live iso. I mean I could do a offline installation and then try it perhaps? I would rather have had Cinnamon but I could install it afterwards and remove Xfce.