No ethernet connection in clean Manjaro install

Hello. I have been a long time Manjaro user (PC) but recently installed it in a laptop and can't get ethernet to work (wireless does not work neither but I can probably fix that if I fix the ethernet problem). I have read similar threads but none of them gave me a solution. Here is some relevant info:

lspci -V
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	DeviceName: Hanksville Gbe Lan Connection
	Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	I/O ports at 4000 [size=256]
	Memory at b1104000 (64-bit, non-prefetchable) [size=4K]
	Memory at b1100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 01
	Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Virtual Channel
	Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
	Capabilities: [170] Latency Tolerance Reporting
	Capabilities: [178] L1 PM Substates
	Kernel driver in use: r8169
	Kernel modules: r8169

~ >>> sudo lshw -C network                                                                                                                           
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eno1
       version: 15
       serial: 10:62:e5:6c:c3:ca
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=r8169 latency=0 multicast=yes
       resources: irq:16 ioport:4000(size=256) memory:b1104000-b1104fff memory:b1100000-b1103fff


~ >>> ip addr                                                                                                                                        
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 10:62:e5:6c:c3:ca brd ff:ff:ff:ff:ff:ff
    altname enp2s0

~ >>> inxi -Fxxxz --no-host                                                                                                                          
System:    Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: Gnome 3.36.2 wm: gnome-shell 
           dm: GDM 3.34.1 Distro: Manjaro Linux 
Machine:   Type: Laptop System: HP product: HP Laptop 15-bs0xx v: Type1ProductConfigId serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: HP model: 8329 v: 23.70 serial: <filter> UEFI: Insyde v: F.52 date: 03/04/2019 
Battery:   ID-1: BAT1 charge: 8.7 Wh condition: 36.5/41.4 Wh (88%) volts: 14.6/14.8 model: Hewlett-Packard PABAS0241231 
           type: Li-ion serial: <filter> status: Discharging 
CPU:       Topology: Dual Core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake rev: 3 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 16006 
           Speed: 500 MHz min/max: 400/2000 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 4: 500 
Graphics:  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:1916 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] vendor: Hewlett-Packard 
           driver: radeon v: kernel bus ID: 01:00.0 chip ID: 1002:6660 
           Display: x11 server: X.org 1.20.8 driver: radeon compositor: gnome-shell resolution: <xdpyinfo missing> 
           OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:9d70 
           Sound Server: ALSA v: k5.6.15-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel 
           port: 4000 bus ID: 02:00.0 chip ID: 10ec:8168 
           IF: eno1 state: down mac: <filter> 
           Device-2: Realtek RTL8723DE 802.11b/g/n PCIe Adapter vendor: Hewlett-Packard driver: N/A port: 3000 bus ID: 03:00.0 
           chip ID: 10ec:d723 
           Device-3: Realtek 802.11n WLAN Adapter type: USB driver: btusb bus ID: 1-4:3 chip ID: 0bda:b009 serial: <filter> 
Drives:    Local Storage: total: 938.73 GiB used: 8.79 GiB (0.9%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-60JC3T1 size: 931.51 GiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 1A02 scheme: GPT 
           ID-2: /dev/sdb type: USB vendor: Kingston model: DataTraveler 2.0 size: 7.22 GiB serial: <filter> rev: 1.00 
           scheme: MBR 
Partition: ID-1: / size: 915.60 GiB used: 7.02 GiB (0.8%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 33.5 C mobo: 29.8 C gpu: radeon temp: 30 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 234 Uptime: 7m Memory: 7.70 GiB used: 939.7 MiB (11.9%) Init: systemd v: 245 Compilers: gcc: N/A 
           Shell: zsh v: 5.8 running in: gnome-terminal inxi: 3.0.37 

Some additional information that may be of help: ethernet did not work during the liveboot neither. I had a previous ElementaryOS install on the same laptop and ethernet worked without problem. I appreciate any help, thanks!

Try:

sudo modprobe r8169; sudo systemctl restart NetworkManager

@tbg is the resident nic troubleshooting engineer - sounds nice right?

Manjaro keeps a special driver for r8168 because at some point the kernel driver
didn't work well.

I don't know if this was a hardware issue or a driver issue.

Fact is - there is a driver for r8168 - if it should be used instead of the kernel driver is difficult to say. It requires you to test it.

List your installed kernels

mhwd-kernel -li

To test with your current kernel - look for

Currently running: ......  (linuxXY)

Install

sudo pacman -Syu linuxXY-r8168

Unload kernel driver

sudo modprobe -rv r8169

Load r8168

sudo modprobe -v r8168

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

Forum kindly sponsored by