You are not logged in.

#1 2024-05-21 04:40:37

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

[SOLVED] Ethernet is not listed

Since yesterday or a couple of days ago, the ethernet interface is not listed anymore.

Last edited by RedArcher (2024-11-04 15:37:15)

Offline

#2 2024-05-21 06:32:00

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Ethernet is not listed

Shows up … where? And what happend yesterday or a couple of days ago…?
https://bbs.archlinux.org/viewtopic.php?id=57855

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2024-05-21 14:35:59

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

Yesterday or a couple of days ago, I have updated Arch Linux with command

pacman -Syu

After restart, the regular ethernet did not show up.

ifconfig -a

http://0x0.st/XPG2.txt

However, the lights of the Arch Linux machine hardware and OpenWrt router indicate of signals.

Offline

#4 2024-05-21 14:41:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,119

Re: [SOLVED] Ethernet is not listed

ifconfig has been deprecated for well over a decade. Switch to ip.

log shows enp3s0f0u4 just fine. If you're having problems, it's probably because you're using both NetworkManager and systemd-networkd. You can only use one network management daemon at a time.

Last edited by Scimmia (2024-05-21 14:47:41)

Offline

#5 2024-05-21 16:28:33

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

1) Scimmia, interface usb0 is a postmarketOS PDA device connected via USB (usb0).

2) I am not familiar with systemd-networkd.

3) Is it possible to use NetworkManager without its daemon (i.e. with systemd-networkd)?

Offline

#6 2024-05-21 16:32:16

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Ethernet is not listed

Not "possible", "necessary".
Disable systemd-networkd and reboot but also post the output of "lspci -k" - does the device show up w/ the LTS kernel?

Offline

#7 2024-11-04 12:47:57

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

This is the ourput of "lspci -k".

https://dpaste.org/OcsTP

This is the output after disabling "systemd-networkd":

$ lspci -k > lspcik.txt
lspci: Unable to load libkmod resources: error -2

https://dpaste.org/98SDT

I do not know what is the name of the device.

I do not know whether or not do I run the LTS kernel, as I think that I have zen and other kernels intalled too.

I have disabled "systemd-networkd" with:

# systemctl stop systemd-networkd
# systemctl disable systemd-networkd

The interface still not shown.

Last edited by RedArcher (2024-11-04 13:06:34)

Offline

#8 2024-11-04 13:50:21

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Ethernet is not listed

May 21 15:11:07 workstation kernel: pci 0000:18:00.0: [10ec:8168] type 00 class 0x020000 PCIe Endpoint
18:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7b86
	Kernel modules: r8169

You've an r8168 chip, but it's not picked up by the r8169 driver (though covered)

modprobe -c | grep 8169 | grep -v alias

I do not know whether or not do I run the LTS kernel, as I think that I have zen and other kernels intalled too.

Half a year ago

May 21 15:11:07 workstation kernel: Linux version 6.9.1-arch1-1 (linux@archlinux) (gcc (GCC) 14.1.1 20240507, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000

you were running the regular kernel

lspci: Unable to load libkmod resources: error -2

uname -a
modinfo r8169
pacman -Qs kernel

Offline

#9 2024-11-04 14:08:47

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

$ modprobe -c | grep 8169 | grep -v alias
blacklist r8169

$ uname -a              
Linux workstation 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 GNU/Linux

$ modinfo r8169
modinfo: ERROR: Module r8169 not found.

$ pacman -Qs kernel
local/binder_linux-dkms 6.3-1
    Android kernel driver fork by @choff in
    DKMS format, binder only.
local/deepin-anything-arch 6.1.2-105
    Deepin Anything file search tool, kernel
    module for Arch kernel
local/dkms 3.1.1-2
    Dynamic Kernel Modules System
local/exfatprogs 1.2.5-1
    exFAT filesystem userspace utilities for
    the Linux Kernel exfat driver
local/fuse2 2.9.9-5
    Interface for userspace programs to
    export a filesystem to the Linux kernel
local/fuse3 3.16.2-1
    Interface for userspace programs to
    export a filesystem to the Linux kernel
local/intel-oneapi-mkl 2024.1.0-1
    Intel oneAPI Math Kernel Library
local/iptables 1:1.8.10-2
    Linux kernel packet control tool (using
    legacy interface)
local/jupyter-console 6.6.3-3
    An IPython-like terminal frontend for
    Jupyter kernels in any language
local/kmod 33-3
    Linux kernel module management tools and
    library
local/libdrm 2.4.123-1
    Userspace interface to kernel DRM
    services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel
    connection tracking state table
local/libnetfilter_queue 1.0.5-2
    Userspace API to packets that have been
    queued by the kernel packet filter
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related
    kernel/userspace communication
local/libsysprof-capture 47.0-1
    Kernel based performance profiler -
    capture library
local/libtraceevent 1:1.8.4-1
    Linux kernel trace event library
local/libtracefs 1.8.1-1
    Linux kernel trace file system library
local/linux 6.11.6.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.10-1
    Kernel headers sanitized for use in
    userspace
local/linux-headers 6.11.6.arch1-1
    Headers and scripts for building modules
    for the Linux kernel
local/mtdev 1.1.7-1
    A stand-alone library which transforms
    all variants of kernel MT events to the
    slotted type B protocol
local/ndctl 79-1
    Utility library for managing the
    libnvdimm (non-volatile memory device)
    sub-system in the Linux kernel
local/python-comm 0.2.2-2
    Python Comm implementation for the
    Jupyter kernel protocol
local/python-ipykernel 6.29.5-1
    The ipython kernel for Jupyter
local/python-spyder-kernels 3.0.0-2
    Jupyter Kernels for the Spyder console
local/r8168 8.053.00-5
    A kernel module for Realtek 8168 network
    cards
local/vhba-module 20240917-8
    Kernel module that emulates SCSI devices

Offline

#10 2024-11-04 14:20:26

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Ethernet is not listed

blacklist r8169

Well…

$ modinfo r8169
modinfo: ERROR: Module r8169 not found.

WELL…


Linux workstation 6.11.5-arch1-1

local/linux 6.11.6.arch1-1

local/r8168 8.053.00-5

r8168 wa dropped into the AUR, https://aur.archlinux.org/packages?K=r8168
=> remove the package, it's likely the cause of the blacklist.

On top of that you're running 6.11.5 but have 6.11.6 installed which is likely just because you've not rebooted after an update.
So reboot as well.

If you then have problems w/ the r8169 driver, you want to pick up https://aur.archlinux.org/packages/r8168-dkms (you already have linux-headers)

Offline

#11 2024-11-04 14:51:55

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

This is an unexpected error. The AUR package was updated today.

==> Validating source files with sha256sums...
    r8168-8.054.00.tar.gz ... Passed
    r8168-8.054.00.tar.gz.asc ... Skipped
==> Verifying source file signatures with gpg...
    r8168-8.054.00.tar.gz ... FAILED (unknown public key 11675C743429DDEF)
==> ERROR: One or more PGP signatures could not be verified!

https://aur.archlinux.org/packages/r8168

Last edited by RedArcher (2024-11-04 14:52:15)

Offline

#12 2024-11-04 14:54:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,119

Re: [SOLVED] Ethernet is not listed

Why did you skip directly to that instead of doing what seth said?

And that error is not unexpected, that's pretty standard AUR stuff. See the AUR wiki page.

Offline

#13 2024-11-04 14:55:59

loqs
Member
Registered: 2014-03-06
Posts: 18,075

Re: [SOLVED] Ethernet is not listed

Did the kernel provided r8169 not work after you removed the r8168 package and rebooted?

See GnuPG#Import_a_public_key to fetch the key.

Last edited by loqs (2024-11-04 15:01:13)

Offline

#14 2024-11-04 15:04:56

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

Why did you skip directly to that instead of doing what seth said?

I have installed "r8168-dkms" which is in conflict with "r8168" so it pacman has prompted to remove "r8168" before installing "r8168-dkms".

Is this fine?

Also, after restart, the interface has been detected, yet NetworkManager fails to establish connectivity.

"systemd-networkd" is still disabled, and if possible, I will keep it disabled.

Offline

#15 2024-11-04 15:05:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,119

Re: [SOLVED] Ethernet is not listed

Go back and read seth's post again. Even that was the *last* step, not the first.

Offline

#16 2024-11-04 15:06:52

seth
Member
Registered: 2012-09-03
Posts: 59,012

Re: [SOLVED] Ethernet is not listed

Step #1: test the r8169
Step #2: provide a journal for the current situation, "NetworkManager fails to establish connectivity" fits  https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#17 2024-11-04 15:19:29

RedArcher
Member
From: South Africa
Registered: 2009-09-03
Posts: 131

Re: [SOLVED] Ethernet is not listed

How should r8169 be tested?

I hope that this journal log is useful

http://0x0.st/XGl_.txt

modinfo r8169

http://0x0.st/XGlO.txt

I will remove "r8168-dkms" and reboot and observe again.

REBOOT!

The interface successfully appears, even without "r8168" nor "r8168-dkms" package.

NetworkManager still fails to establish connectivity.

I might want to reset the router.

SOLVED!

I beg your pardon.

I have connected the cable to the WAN socket interface instead of the LAN socket interface of the router.

Thank you, kind gentlemen!

Last edited by RedArcher (2024-11-04 15:38:44)

Offline

Board footer

Powered by FluxBB