The mainboard manual only says Realtek 2.5GbE LAN chip. Their website says something about “GIGABYTE Exclusive 8118 Gaming GbE LAN” though
Your LAN cable is o.K
yes, it’s working with the usb lan adapter I have
LAN is enabled in the BIOS?
I left everything on the defaults. I’ll check though, can’t hurt
Edit: there was something about network stack that was disabled but that was just about network booting and didn’t change anything
when I do that, it falls back to r8125 (that I installed from the realtek site) and doesn’t show r8168 at all:
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
DeviceName: RTL8111E Giga LAN
Subsystem: Gigabyte Technology Co., Ltd Device e000
Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 13
I/O ports at f000 [size=256]
Memory at fce00000 (64-bit, non-prefetchable) [size=64K]
Memory at fce10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8125
Kernel modules: r8169, r8125
Btw, I’m not too sure about the
GIGABYTE Exclusive 8118 Gaming GbE LAN
there appear to be multiple versions of this mainboard
The page with a description that exactly matches my mainboard doesn’t specify more than “2.5GbE Ethernet”, same as the manual
What you have is a RTL8125B that is supported from kernel version 5.9. Why don’t you go step by step when analyzing the issue? First check whether driver detects the network chip and generates the network device: go with r8169 and show what dmesg | grep r8169 says.
If the network device exists then it may be a network manager issue, therefore check w/o network manager. Assign IP and bring up the network manually.
This looks good so far. Driver correctly detects device, and device is brought up. Just no link is established. Is the link partner 2.5Gbps-capable, or just 1Gbps?
For a stable link at 1Gbps (or a link at all) this chip version needs firmware. Check whether you have file /lib/firmware/rtl_nic/rtl8125b-2.fw, and whether dmesg | grep -i firmware reports a problem loading the firmware. Also the output of ethtool -i eno1 would help.
If you don’t have the firmware file you have to update package linux-firmware, or get the file from the linux-firmware git repo directly.
Then from software perspective all looks good and maybe something is broken physically.
As a last resort you could try: ethtool -s eno1 speed 100
Reason: 100Mbps just needs two wire pairs, whilst 1Gbps needs all four. Means if one wire needed for 1Gbps has a problem, 100Mbps might still work.
Usually the ethtool speed command triggers an auto-negotiation and re-plugging the cable isn’t needed. This leaves one question: What is your link partner, and has it auto-negotiation enabled? Not that your link partner is fixed at 100Mbps. Output of ethtool eno1 may help.
On the other end of the cable the router is directly connected. Auto-negotiation IIRC didn’t work correctly with my old PC (but it does for everything else in the house) or I just had a slower connection, so it was actually disabled in the UI.
However back then it definitely did show the connection, here it didn’t even recognize there was a cable plugged in (no LED blinking on the port or anything)
$ ethtool eno1
Settings for eno1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Half 100baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Full
Auto-negotiation: off
master-slave cfg: preferred slave
master-slave status: slave
Port: MII
PHYAD: 0
Transceiver: external
netlink error: Operation not permitted
Link detected: yes
Maybe the old PC supported max. 100Mbps. Best should be to re-enable auto-negotiation in your router and use the USB network adapter with the old PC if needed. With auto-negotiation in the router re-enabled, do you have 1Gbps after reboot of your system?
Everything is good for something: You got an idea how to analyze network problems. So you don’t have to believe any longer the people who immediately say (w/o having seen any log): the driver is crap.
My router apparently doesn’t support auto-negotiation, I can only switch between 100Mbit and 1Gbit.
Edit: after setting it to 1Gbit however the connection works automatically