You are not logged in.

#1 2024-05-03 13:18:50

Xsofito
Member
Registered: 2024-01-29
Posts: 33

[SOLVED] Ethernet not working after reinstalling kernel

Coming from this post: [link=https://bbs.archlinux.org/viewtopic.php?id=295393][SOLVED] System not able to boot after removing files not owned[/link]

I had to reconfigure all the system and all modules in mkinitcpio.conf went back to default. My ethernet connection is not working anymore, I managed to get wifi working but ethernet not.
I tried following the wiki instructions but when talking about ethernet all shoud work out of the box.


$ lspci -v

25: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 7c52
	Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 14
	I/O ports at e000 [size=256]
	Memory at fcc04000 (64-bit, non-prefetchable) [size=4K]
	Memory at fcc00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

# dmesg | grep r8169

[    8.149037] r8169 0000:25:00.0 eth0: RTL8168h/8111h, 2c:f0:5d:d6:5e:2b, XID 541, IRQ 86
[    8.149042] r8169 0000:25:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    8.152860] r8169 0000:25:00.0 enp37s0: renamed from eth0

$ ip address show

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 noprefixroute
       valid_lft forever preferred_lft forever
2: enp37s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 2c:f0:5d:d6:5e:2b brd ff:ff:ff:ff:ff:ff

$ cat /etc/mkinitcpio.conf

MODULES=(amdgpu)
BINARIES=()
FILES=()
HOOKS=(base systemd autodetect keyboard keymap modconf block filesystems fsck kms)

For using wifi I started iwd (is disabled usually) and used an external anthena, this commands outputs are without it.

Last edited by Xsofito (2024-05-03 13:52:12)

Offline

#2 2024-05-03 13:20:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,645

Re: [SOLVED] Ethernet not working after reinstalling kernel

Everything looks fine, what's the problem? What are you running to configure the connection?

Offline

#3 2024-05-03 13:55:10

Xsofito
Member
Registered: 2024-01-29
Posts: 33

Re: [SOLVED] Ethernet not working after reinstalling kernel

Got it working after configuring DHCP in systemd-networkd.
https://wiki.archlinux.org/title/System … using_DHCP

Offline

Board footer

Powered by FluxBB