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

What does inxi -N show on the live ISO?

inxi -Fxxxaz --no-host
inxi -Fxxxxaz --no-host
System:    Kernel: 5.11.14-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: initrd=\EFI\archiso\intel-ucode.img initrd=\EFI\archiso\amd-ucode.img 
           initrd=\EFI\archiso\archiso.img archisobasedir=arch cow_spacesize=10G 
           archisolabel=ENDEAVOUROS i915.modeset=1 radeon.modeset=1 nvidia.blacklist=yes 
           modprobe.blacklist=nvidia nouveau.modeset=1 nouveau 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 vt: 1 
           dm: LightDM 1.30.0 Distro: EndeavourOS base: Arch Linux 
Machine:   Type: Desktop System: HP product: HP EliteDesk 805 G6 Small Form Factor PC v: N/A 
           serial: <filter> Chassis: type: 3 serial: <filter> 
           Mobo: HP model: 872B v: KBC Version 09.94.00 serial: <filter> UEFI: HP 
           v: S09 Ver. 02.02.00 date: 12/30/2020 
CPU:       Info: 8-Core model: AMD Ryzen 7 PRO 4750G with Radeon Graphics bits: 64 type: MT MCP 
           arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600104 cache: 
           L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
           bogomips: 115027 
           Speed: 2995 MHz min/max: 1400/3600 MHz boost: enabled Core speeds (MHz): 1: 2995 
           2: 2994 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 9: 1331 10: 1330 11: 1331 
           12: 1331 13: 1330 14: 1335 15: 1545 16: 1397 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel bus-ID: 08:00.0 
           chip-ID: 1002:1636 class-ID: 0300 
           Display: server: X.org 1.20.11 compositor: xcompmgr driver: loaded: amdgpu,ati 
           unloaded: fbdev,modesetting,vesa resolution: <missing: xdpyinfo> 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 08:00.1 
           chip-ID: 1002:1637 class-ID: 0403 
           Device-2: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus-ID: 08:00.6 chip-ID: 1022:15e3 class-ID: 0403 
           Sound Server-1: ALSA v: k5.11.14-arch1-1 running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.25 running: no 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8168 v: 8.048.03-NAPI modules: r8169 port: 2200 
           bus-ID: 05:00.1 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 499.18 GiB used: 13.64 GiB (2.7%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW512G8H 
           size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: HPS1 temp: 24.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Kingston model: DataTraveler 3.0 
           size: 7.22 GiB block-size: physical: 512 B logical: 512 B serial: <filter> rev: PMAP 
           scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
           ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Sony model: Storage Media 
           size: 15.02 GiB block-size: physical: 512 B logical: 512 B serial: <filter> rev: 0100 
           scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw-size: N/A size: 10 GiB used: 968 KiB (0.0%) fs: overlay source: ERR-102 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 32.5 C mobo: N/A gpu: amdgpu temp: 24.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 314 Uptime: 7m wakeups: 2 Memory: 15.04 GiB used: 1012.4 MiB (6.6%) 
           Init: systemd v: 248 target: multi-user.target tool: systemctl Compilers: gcc: 10.2.0 
           Packages: pacman: 896 lib: 204 Shell: Bash v: 5.1.4 running-in: xfce4-terminal 
           inxi: 3.3.03

@ricklinux

 Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8168 v: 8.048.03-NAPI modules: r8169 port: 2200 
           bus-ID: 05:00.1 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>

Hi,

Here is some update:

On an off-line installed system, I ran the following commands:

sudo pacman -R r8168
sudo rmmod r8168
sudo modprobe r8169

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

After reboot:

lsmod | grep r816
r8169                   98304      0
mdio_devres             16384      1  r8169
libphy                 151552      3 r8169,mdio_devres,realtek

Still no Ethernet connection.

Any clues in sudo dmesg -T? or journalctl -xb?

I have exactly the same results on my laptop with the r8168 chip, only mine works.

1 Like

Hi @onyxnz and everybody!

There has been some developments here. After doing an offline installation and running the commands mentioned in my previous post above, not getting the Ethernet connection, I tethered my phone and updated fully the system, rebooting and voilĂ  Ethernet connection!!

Now I am sitting on a Xfce DE while wanting a Cinnamon DE from the beginning. So I think I am going to try an online install getting connected with the phone and see how it goes.

To be continued…

3 Likes

It looks like it is using the r8169. Is that what is showing after on the installed system? Not sure why it’s not working off the live ISO. You should be able to either blacklist the r8168 or remove it somehow and have it load the r8169. The r8169 is a kernel module that should load but the r8168 package blacklists the r8169. Strange. :thinking:

It looks like so on the installed system, doesn’t it. I removed r8168 altogether.

If you get it working you’ll have to watch the updates as the package R8168 will install again on you unless you put it in the ignore list.

1 Like

I will do so! Thanks for the heads-up!

Currently mine is using the r8168.

[ricklinux@eos-kde ~]$ inxi -n
Network:   Device-1: Broadcom BCM4360 802.11ac Wireless Network Adapter driver: wl 
           IF: wlan0 state: down mac: a2:b9:f2:d3:0d:87 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168 
           IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: 00:d8:61:9d:ac:6f 

I am not on that machine right now but when I finally had it up and running, it showed (iirc) the same output as yours with the difference of the driver. For me it was driver: r8169.

@pebcak
If i uninstall the r8168 mine boots up on the r8169. It works on either for me so I’m one of the lucky ones.

[ricklinux@eos-kde ~]$ inxi -n
Network:   Device-1: Broadcom BCM4360 802.11ac Wireless Network Adapter driver: wl 
           IF: wlan0 state: down mac: a2:b7:32:d0:41:47 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: 00:d8:61:9d:ac:6f 
[ricklinux@eos-kde ~]$ 
1 Like

The reason why EndeavourOS installs r8168 by default is in fact very simple: if the system already has r8168 in the package cache, user has an easy way to try 8168 or 8169 by either uninstalling or installing r8168. No internet connection is needed to do that!

If we would not install r8168 by default, a user without an internet connection (with 8169) might not be able to download r8168…

2 Likes

Thanks for the explanation @manuel and your input in this thread. That sounds like a very reasonable course of action. No wonder with such degree of care and user-friendliness more and more people are converting to EnOS.
:enos_flag:

2 Likes