You are not logged in.

#1 2022-12-27 09:35:36

m3nhir
Member
From: Torino - Italy
Registered: 2020-04-03
Posts: 43

[SOLVED] network interface does not appear at boot

After the last update, I have no Internet connection at startup. The interface "enp3s0" doesn't appear by giving "ip a" but only the loopback interface. In part I solve by giving from root:

# modprobe r8169

This loads the drivers for the Ethernet card for me and the connection is activated. These are the messages found in dmesg related to the driver:

[   74.876682] r8169 0000:03:00.0 eth0: RTL8168h/8111h, 24:4b:fe:56:8e:9a, XID 541, IRQ 108
[   74.876691] r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   74.881642] r8169 0000:03:00.0 enp3s0: renamed from eth0
[   74.951032] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[   75.141575] r8169 0000:03:00.0 enp3s0: Link is Down
[   78.848350] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control off
[   78.853353] r8169 0000:03:00.0 enp3s0: Link is Up - 1Gbps/Full - flow control off

The last 2 messages refer to after loading the driver with the previous command.
I also tried to insert in

/etc/modules-load/r8169.conf:
r8169

But this does not work. At startup I still have to manually load the driver to get the connection.
How can I solve this?

Last edited by m3nhir (2022-12-27 10:25:15)


Intelligence is not making mistakes, but find out how to profit immediately.

Offline

#2 2022-12-27 09:49:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,895

Re: [SOLVED] network interface does not appear at boot

You most likely have a blacklist from installing one of the alternate versions of the driver (... e.g. the r8168 package) at some point, check /{etc,usr/lib}/modprobe.d

Offline

#3 2022-12-27 10:15:38

m3nhir
Member
From: Torino - Italy
Registered: 2020-04-03
Posts: 43

Re: [SOLVED] network interface does not appear at boot

V1del wrote:

You most likely have a blacklist from installing one of the alternate versions of the driver (... e.g. the r8168 package) at some point, check /{etc,usr/lib}/modprobe.d

Yes. there was an entry in /usr/lib/modprobe.d where the r8169 driver was blacklisted. i removed the entry. But checking with pacman there are no drivers for "r8169" but only for "r8168" , installed by the system. Before the last update I never had any problems.
This is the output of lshw:

# lshw -C network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       logical name: enp3s0
       version: 15
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.1.1-arch1-1 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15


Intelligence is not making mistakes, but find out how to profit immediately.

Offline

#4 2022-12-27 10:19:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,895

Re: [SOLVED] network interface does not appear at boot

Yes r8168 is an alternate driver for more or less the same chipsets because the r8169 used to have some issues. If r8168 is now not loading anymore but you have no actual issues with r8169 from the kernel itself you can remove the r8168 package.

Offline

#5 2022-12-27 10:24:21

m3nhir
Member
From: Torino - Italy
Registered: 2020-04-03
Posts: 43

Re: [SOLVED] network interface does not appear at boot

V1del wrote:

Yes r8168 is an alternate driver for more or less the same chipsets because the r8169 used to have some issues. If r8168 is now not loading anymore but you have no actual issues with r8169 from the kernel itself you can remove the r8168 package.

I removed the "r8168" package, rebooted, and now everything is okay.
Thanks for your help and best wishes for the new year!


Intelligence is not making mistakes, but find out how to profit immediately.

Offline

#6 2022-12-27 10:25:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,242

Re: [SOLVED] network interface does not appear at boot

the r8169 driver comes with the kernel, so is always present .

Please post the output of

$ lspci -knn

.

Also please use [ code ] tags for the output.
see https://bbs.archlinux.org/help.php#bbcode .

Edit : too slow

Last edited by Lone_Wolf (2022-12-27 10:25:37)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2022-12-27 10:32:17

m3nhir
Member
From: Torino - Italy
Registered: 2020-04-03
Posts: 43

Re: [SOLVED] network interface does not appear at boot

Lone_Wolf wrote:

the r8169 driver comes with the kernel, so is always present .

Please post the output of

$ lspci -knn

.

Also please use [ code ] tags for the output.
see https://bbs.archlinux.org/help.php#bbcode .

Edit : too slow

This is the output concerning the network card:

Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: ASUSTeK Computer Inc. PRIME B450M-A Motherboard [1043:8677]
        Kernel driver in use: r8169
        Kernel modules: r8169

This is the output after removing the old driver and rebooting. All ok I would say. :-)


Intelligence is not making mistakes, but find out how to profit immediately.

Offline

Board footer

Powered by FluxBB