Realtek 8125: no wired network

Asked by Zoltan The G

New whitebox desktop build ASUS Z890-P Wifi motherboard with in-build Realtek 8125 wired NIC. Tried 24.04.1 and 24.10 both fully updated. Same result with both of them. Wired connection not recognized. Wifi does work. FWIW, same problem with "Brand F" Linux.

Don't see a way to post a screenshot of lspci and that's all I have just now. It reports:

Ethernet controller: Realtek Semiconductor...RTL8125 2.5GbE ...
...
( no kernel driver in use listed)
Kernel modules: r8169

Grateful for any way to get this working. I have 2gbps internet that I'd like to take advantage of.

Thanks and regards
Zoltan

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
Zoltan The G (wdw) said :
#2

Thanks! My Google-fu missed that one. Gave it a try and it ran to completion. Then I screwed up. On reboot it offered "enroll MOK" or similar. Didn't know what I was looking at so I selected to continue boot. Once booted, nothing had changed.

Ran through the whole process again, but now it fails with errors like "(dkms apport): binary package for r8125 : 9.813.02 not found"

Any way out of this mess other than a Ubuntu reinstall? That's a huge pain since I have Fedora installed on the same drive, and the Ubuntu installer fails if I do anything other than an erase and full install...

Hoping there's an easier way to recover, and sorry for messing up,

Thanks again,
Zoltan

Revision history for this message
Daniel Letzeisen (dtl131) said :
#3

"enroll MOK" means you need to sign the module you built so it is allowed to load by SecureBoot (or turn off SecureBoot in the EFI/BIOS).

For future reference, Ubuntu 24.04 has the module already in the repo.
sudo apt install r8125-dkms

Or, if you insist on always having the latest version of r8125, there's a PPA for that:
https://launchpad.net/~awesometic/+archive/ubuntu/ppa

But you still to need to sign the built module if using those.

Revision history for this message
Jeremy Rivera (myrivera) said :
#4

Hi Zoltan, the issue with your Realtek 8125 Ethernet card is due to missing drivers. To fix this, go to the Realtek website and download the RTL8125 driver for Linux. After downloading, follow the installation instructions, and once the driver is installed, reboot your computer. This should enable your wired connection.

Can you help with this problem?

Provide an answer of your own, or ask Zoltan The G for more information if necessary.

To post a message you must log in.