R8168 Ethernet - why isnt this working?

@aragorn is right a simple mode probe may correct this. You can do either:

sudo modprobe r8168

Or:

sudo modprobe r8169
2 Likes
 sudo inxi -Fxzmc0                                                                                                                                                                                                                       
system:    Host: openboxed Kernel: 5.6.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: Openbox 3.6.1 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: GIGABYTE product: GB-BXA8-5557 v: 1.x serial: N/A 
           Mobo: GIGABYTE model: M1M3XCP-00 v: 1.x serial: N/A BIOS: American Megatrends v: F3 date: 10/30/2015 
Battery:   Device-1: hidpp_battery_0 model: Logitech M570 charge: 60% status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard K360 charge: 100% (should be ignored) 
           status: Discharging 
           Device-3: sony_controller_battery_07:2d:87:44:63:25 model: N/A charge: N/A status: Full 
Memory:    RAM: total: 14.85 GiB used: 873.3 MiB (5.7%) 
           Array-1: capacity: 16 GiB slots: 2 EC: None max module size: 8 GiB note: est. 
           Device-1: DIMM 0 size: 8 GiB speed: 1600 MT/s type: DDR3 
           Device-2: DIMM 0 size: 8 GiB speed: 1600 MT/s type: DDR3 
CPU:       Topology: Quad Core model: AMD A8-5557M APU with Radeon HD Graphics bits: 64 type: MCP arch: Piledriver rev: 1 
           L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 16775 
           Speed: 1325 MHz min/max: 1400/2100 MHz Core speeds (MHz): 1: 1316 2: 1275 3: 1343 4: 1288 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8550G] vendor: Gigabyte driver: radeon v: kernel 
           bus ID: 00:01.0 
           Display: server: X.Org 1.20.8 driver: ati,radeon unloaded: modesetting resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 5.6.14-1-MANJARO LLVM 10.0.0) v: 4.3 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 00:01.1 
           Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:14.2 
           Sound Server: ALSA v: k5.6.14-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: N/A port: e000 
           bus ID: 05:00.0 
           Device-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtl8821ae v: kernel 
           port: d000 bus ID: 06:00.0 
           IF: wlp6s0 state: up mac: <filter> 
Drives:    Local Storage: total: 592.61 GiB used: 10.12 GiB (1.7%) 
           ID-1: /dev/sda vendor: Micron model: MT-128 size: 119.24 GiB temp: 33 C 
           ID-2: /dev/sdb vendor: Toshiba model: MK5075GSX size: 465.76 GiB temp: 30 C 
           ID-3: /dev/sdc type: USB vendor: PNY model: USB 2.0 FD size: 7.61 GiB 
Partition: ID-1: / size: 29.40 GiB used: 8.64 GiB (29.4%) fs: ext4 dev: /dev/sda3 
           ID-2: /boot size: 968.3 MiB used: 148.5 MiB (15.3%) fs: ext4 dev: /dev/sda2 
           ID-3: /home size: 86.28 GiB used: 1.33 GiB (1.5%) fs: ext4 dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 52.4 C mobo: N/A gpu: radeon temp: 51 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 172 Uptime: 31m Init: systemd Compilers: gcc: 10.1.0 Shell: bash v: 5.0.16 inxi: 3.0.37 

sudo modprobe r8168
modprobe: FATAL: Module r8168 not found in directory /lib/modules/5.6.14-1-MANJARO

i installled it how can it not be there?

udo modprobe r8169 [1]

~ >>>

Exactly how did you install it?

2 Likes

pamac-manager

pamac-manager

screenshot_20200524-011716_1920x1080

Wrong way, use mhwd to install the driver.

Uninstall the dkms driver version you installed, then reboot.

Then do:

sudo mhwd -i pci network-r8168 

Reboot



After a restart, do:

sudo modprobe -r r8168 && sleep 3 && sudo modprobe r8168 && sudo systemctl restart NetworkManager

If that command works to restart your r8168 adapter then the command can be automated by writing a service to reload your driver at startup.

5 Likes

still no wired connection but there is this:

sudo modprobe r8168
[sudo] password for lizzias:
~ >>> lsmod | grep r81
r8168 569344 0
~ >>>

post

inxi -nz
1 Like

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Kernel driver in use: r8168
Kernel modules: r8169, r8168
06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter
Subsystem: AzureWave RTL8821AE 802.11ac PCIe Wireless Network Adapter
Kernel driver in use: rtl8821ae
Kernel modules: rtl8821ae
~ >>> ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether fc:aa:14:65:34:07 brd ff:ff:ff:ff:ff:ff
3: wlp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 74:c6:3b:45:d4:49 brd ff:ff:ff:ff:ff:ff

1 Like

inxi -nz

Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae
IF: wlp6s0 state: up mac:
~ >>>

Naah ... is perfectly fine. I didn't know if the file exist or not, and first coffee is always taking time to kick in :smiley:

For me the driver always performed worst than the kernel module. Try restarting the router, unplug and plug back the cable.

1 Like

back in a few.

Do:

sudo modprobe -r r8168 && sleep 3 && sudo modprobe r8168 && sudo systemctl restart NetworkManager
1 Like

This is true, but a small subset of r8168 adapter revisions are experiencing a bug using the r8169 module.

1 Like

the modem restart finalized it!

WOOO!!!!!

wifi is off and i am still on the internet

T TY TY TY TY TY TY TY TY TY TY ALL

2 Likes

Ya that's the bug I was referring to. The module is not loaded properly by the kernel the first time. It takes a manual unload/reload of the module to get it to start properly.

This will be required at each restart, or you can write a startup service to automate things until the kernel bug is corrected.

3 Likes

screenshot_20200524-014442_1920x1080

right as it should be...

the Brix is unbricked once more! WOOOO!!!

1 Like

To be precise: there's a known BIOS bug on a number of Gigabyte boards. For few users it helped to update BIOS or enable "LAN Boot ROM" option in BIOS.

1 Like

i shall lan boot rom it if it has a lan bot rom that i can find. TY!

Forum kindly sponsored by