Network Connection not working with Ubuntu 24.04.2 and Realtek r8125 Ethernet/WiFi

Ubuntu Version:
Ubuntu 24.04.2 LTS

Desktop Environment (if applicable):
Gnome

Problem Description:
Both Ethernet and WiFi do not work on Ubuntu. Bluetooth works and I can get internet through Bluetooth tethering from my phone. Nothing I try works to fix my issue. WiFi and Ethernet don’t show up in settings. It does look like the device is detected.

lspci -k
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 0c)
	Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8125 2.5GbE Controller
	Kernel modules: r8169, r8125

My Desktop is dual boot with windows on one SSD and Ubuntu on a second SSD. Ethernet and WiFi work on windows but not Ubuntu. I don’t believe my issue is because I am dual booting. I fixed an initial problem with my device not being detected on both operating systems. If I run into that issue, I am able to fix it by cold booting my system. I’ve also turned off windows fast boot option because I read that could cause a similar issue. I’m not aware of any other issue with dual booting.

I think it’s a driver issue, but when I try updating or re-installing the drivers I still get the same problem. It’s my first time using Ubuntu on my own system so I’m not sure what other solutions to try.

I’m not sure if I edited something incorrectly in a config file. I tried following some fixes on other forums to no avail.

Relevant System Information:

From wireless-info
https://dpaste.com/3G7ULYG8B

From hardinfo report. I tried to include only the relevant information.

Computer

Summary

Computer
Processor	AMD Ryzen 7 9700X 8-Core Processor
Memory	28272MB (3268MB used)
Machine Type	Desktop
Operating System	Ubuntu 24.04.2 LTS

Operating System

Version
Kernel	Linux 6.11.0-21-generic (x86_64)
Version	#21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 24 16:52:15 UTC 2
C Library	GNU C Library / (Ubuntu GLIBC 2.39-0ubuntu8.4) 2.39
Distribution	Ubuntu 24.04.2 LTS

Kernel Modules

Loaded Modules
rfcomm	Bluetooth RFCOMM ver 1.11
snd_seq_dummy	ALSA sequencer MIDI-through client
snd_hrtimer	ALSA hrtimer backend
qrtr	Qualcomm IPC-router driver
cmac	CMAC keyed hash algorithm
algif_hash	Userspace interface for hash algorithms
algif_skcipher	Userspace interface for skcipher algorithms
af_alg	Crypto userspace interface
bnep	Bluetooth BNEP ver 1.3
amd_atl	AMD Address Translation Library
intel_rapl_msr	Driver for Intel RAPL (Running Average Power Limit) control via MSR interface
intel_rapl_common	Intel Runtime Average Power Limit (RAPL) common code
snd_hda_codec_realtek	Realtek HD-audio codec
binfmt_misc	Kernel support for miscellaneous binaries
snd_hda_codec_generic	Generic HD-audio codec parser
snd_hda_scodec_component	HD Audio component binding library
nls_iso8859_1	NLS ISO 8859-1 (Latin 1; Western European Languages)
edac_mce_amd	AMD MCE decoder
snd_hda_codec_hdmi	HDMI HD-audio codec
snd_hda_intel	Intel HDA driver
kvm_amd	KVM support for SVM (AMD-V) extensions
snd_intel_dspcfg	Intel DSP config driver
amdgpu	AMD GPU
snd_intel_sdw_acpi	Intel Soundwire ACPI helpers
kvm	Kernel-based Virtual Machine (KVM) Hypervisor
snd_hda_codec	HDA codec core
nouveau	nVidia Riva/TNT/GeForce/Quadro/Tesla/Tegra K1+
snd_hda_core	HD-audio bus
crct10dif_pclmul	T10 DIF CRC calculation accelerated with PCLMULQDQ.
mxm_wmi	MXM WMI Driver
snd_hwdep	Hardware dependent layer
polyval_clmulni	POLYVAL hash function accelerated by PCLMULQDQ-NI
drm_gpuvm	DRM GPUVM
amdxcp	AMD XCP PLATFORM DEVICES
snd_pcm	Midlevel PCM code for ALSA.
polyval_generic	POLYVAL hash function
drm_exec	DRM execution context
drm_buddy	DRM Buddy Allocator
snd_seq_midi	Advanced Linux Sound Architecture sequencer MIDI synth.
ghash_clmulni_intel	GHASH hash function, accelerated by PCLMULQDQ-NI
gpu_sched	DRM GPU scheduler
drm_suballoc_helper	Range suballocator helper
snd_seq_midi_event	MIDI byte <-> sequencer event coder
btusb	Generic Bluetooth USB driver ver 0.8
sha256_ssse3	SHA256 Secure Hash Algorithm, Supplemental SSE3 accelerated
drm_ttm_helper	DRM gem ttm helpers
snd_rawmidi	Midlevel RawMidi code for ALSA.
btrtl	Bluetooth support for Realtek devices ver 0.1
sha1_ssse3	SHA1 Secure Hash Algorithm, Supplemental SSE3 accelerated
ttm	TTM memory manager subsystem (for DRM device)
snd_seq	Advanced Linux Sound Architecture sequencer.
btintel	Bluetooth support for Intel devices ver 0.1
aesni_intel	Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized
drm_display_helper	DRM display adapter helper
btbcm	Bluetooth support for Broadcom devices ver 0.1
snd_seq_device	ALSA sequencer device management
crypto_simd	Shared crypto SIMD helpers
spd5118	SPD 5118 driver
cec	Device node registration for cec drivers
btmtk	Bluetooth support for MediaTek devices ver 0.1
snd_timer	ALSA timer interface
cryptd	Software async crypto daemon
i2c_piix4	PIIX4 SMBus driver
rc_core	Remote Controller core module
joydev	Joystick device interfaces
rapl	Support Intel/AMD RAPL energy consumption counters
bluetooth	Bluetooth Core ver 2.22
snd	Advanced Linux Sound Architecture driver for soundcards.
input_leds	Input -> LEDs Bridge
wmi_bmof	WMI embedded Binary MOF driver
i2c_smbus	SMBus protocol extensions support
k10temp	AMD Family 10h+ CPU core temperature monitor
ccp	AMD Secure Processor driver
i2c_algo_bit	I2C-Bus bit-banging algorithm
soundcore	Core sound module
gpio_amdpt	AMD Promontory GPIO Driver
mac_hid	Mouse button 2+3 emulation
sch_fq_codel	Fair Queue CoDel discipline
msr	x86 generic MSR driver
parport_pc	PC-style parallel port driver
ppdev	Support for user-space parallel port device drivers
lp	Generic parallel printer driver
parport	Parallel-port resource manager
efi_pstore	EFI variable backend for pstore
nfnetlink	Netfilter messages via netlink socket
dmi_sysfs	DMI sysfs support
ip_tables	IPv4 packet filter
x_tables	{ip,ip6,arp,eb}_tables backend module
autofs4	Kernel automounter support
hid_generic	HID generic driver
usbhid	USB HID core driver
hid	HID support for Linux
nvme	NVMe host PCIe transport driver
ahci	AHCI SATA low-level driver
xhci_pci	xHCI PCI Host Controller Driver
nvme_core	NVMe host core framework
video	ACPI Video Driver
crc32_pclmul	CRC32 algorithm (IEEE 802.3) accelerated with PCLMULQDQ
libahci	Common AHCI SATA low-level routines
xhci_pci_renesas	Support for Renesas xHCI controller with firmware
nvme_auth	NVMe Authentication framework
wmi	ACPI-WMI Mapping Driver

Devices

PCI Devices
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14d8
IOMMU	Advanced Micro Devices, Inc. [AMD] Device 14d9
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14da
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14db (prog-if 00 [Normal decode])
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14db (prog-if 00 [Normal decode])
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14da
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14db (prog-if 00 [Normal decode])
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14db (prog-if 00 [Normal decode])
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14da
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14da
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14da
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14dd (prog-if 00 [Normal decode])
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 14dd (prog-if 00 [Normal decode])
SMBus	Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
ISA bridge	Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e0
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e1
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e2
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e3
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e4
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e5
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e6
Host bridge	Advanced Micro Devices, Inc. [AMD] Device 14e7
VGA compatible controller	NVIDIA Corporation Device 2c05 (rev a1) (prog-if 00 [VGA controller])
Audio device	NVIDIA Corporation Device 22e9 (rev a1)
Non-Volatile memory controller	Phison Electronics Corporation PS5027-E27T PCIe4 NVMe Controller (DRAM-less) (rev 01) (prog-if 02 [NVM Express])
USB controller	Advanced Micro Devices, Inc. [AMD] Device 43ef (prog-if 30 [XHCI])
SATA controller	Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller (prog-if 01 [AHCI 1.0])
PCI bridge	Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port (prog-if 00 [Normal decode])
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 43ea (prog-if 00 [Normal decode])
PCI bridge	Advanced Micro Devices, Inc. [AMD] Device 43ea (prog-if 00 [Normal decode])
Ethernet controller	Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 0c)
Non-Volatile memory controller	Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less) (rev 01) (prog-if 02 [NVM Express])
VGA compatible controller	Advanced Micro Devices, Inc. [AMD/ATI] Device 13c0 (rev c5) (prog-if 00 [VGA controller])
Audio device	Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
Encryption controller	Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
USB controller	Advanced Micro Devices, Inc. [AMD] Device 15b6 (prog-if 30 [XHCI])
USB controller	Advanced Micro Devices, Inc. [AMD] Device 15b7 (prog-if 30 [XHCI])
Audio device	Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
USB controller	Advanced Micro Devices, Inc. [AMD] Device 15b8 (prog-if 30 [XHCI])

USB Devices
Linux Foundation 2.0 root hub	
Micro Star International MYSTIC LIGHT	
Foxconn / Hon Hai	
Corsair Lighting Node Pro	
Linux Foundation 3.0 root hub	
Linux Foundation 2.0 root hub	
Linux Foundation 3.0 root hub	
Linux Foundation 2.0 root hub	
Linux Foundation 3.0 root hub	
Linux Foundation 2.0 root hub	
Genesys Logic, Inc. Hub	
Bridgesil USB2.1 Hub	
Razer USA, Ltd Razer BlackWidow V3 Mini	
Logitech, Inc. G Pro Gaming Mouse	
Linux Foundation 3.0 root hub	

DMI
Product
Name	MS-7E57
Family	To be filled by O.E.M.
Vendor	Micro-Star International Co., Ltd.
Version	1.0
BIOS
Date	11/20/2024
Vendor	American Megatrends International, LLC. (American Megatrends, www.ami.com)
Version	1.A10
Board
Name	PRO B840-P WIFI (MS-7E57)
Vendor	Micro-Star International Co., Ltd.
Version	1.0
Asset Tag	To be filled by O.E.M.
Chassis
Vendor	Micro-Star International Co., Ltd.
Type	[3] Desktop
Version	1.0
Asset Tag	To be filled by O.E.M.

Network

Interfaces
Network Interfaces
lo	0.17MiB	0.17MiB	127.0.0.1
enxc8a3e84e4be0	22.26MiB	3.99MiB	172.20.10.9

IP Connections
Connections

Routing Table
IP routing table

ARP Table
ARP Table
172.20.10.1	46:da:30:f9:d2:64	enxc8a3e84e4be0

DNS Servers
Name Servers
127.0.0.53	_localdnsstub

Statistics

Shared Directories
SAMBA

Screenshots or Error Messages:

When I try to see if my device is working, it doesn’t show up with these commands

jonathan-martinez@jonathan-martinez-MS-7E57:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enxc8a3e84e4be0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether c8:a3:e8:4e:4b:e0 brd ff:ff:ff:ff:ff:ff
jonathan-martinez@jonathan-martinez-MS-7E57:~$ nmcli connection show
NAME                       UUID                                  TYPE       DEVICE            
Jonathan’s iphone Network  e9be115e-0020-413f-878d-d114bc4c69d5  bluetooth  44:DA:30:A1:FD:8A 
lo                         517220b1-f300-4577-89fc-a140f256b335  loopback   lo                
Wired connection 1         902407e0-0aee-3ad3-a72f-bc35d701093f  ethernet   --   

What I’ve Tried:
I’ve mainly followed these two post No Network Connection with 24.04 and r8125 Ethernet and RTL8125 2.5GbE Ethernet port not working in Ubuntu 24.04 to no avail.

This did not work for me

You can try sudo apt install git
git clone https://github.com/notpeelz/r8125.git
cd r8125/src
make

Ignore some errors, then
zstd r8125.ko
sudo cp r8125.ko.zst /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/realtek/
echo "blacklist r8169" | sudo tee /etc/modprobe.d/r8169.conf
sudo depmod -a
Reboot

On the other subject, I think I have the script fixed by using pastebinit once again

This also did not work for me

sudo apt install r8125-dkms

As suggested here Network Connection Troubleshooting I’ve updated my system again to no avail and I’ve shared the relevant system information

sudo apt update
sudo apt full-upgrade

I’ve also tried downloading the driver from Realtek’s website and wasn’t able to get it working either.

I might have tried a few other steps from post on other forums, but I don’t remember exactly what I did.


Did you try

sudo add-apt-repository ppa:awesometic/ppa
sudo apt update

from Multipurpose published PPA

You will need to disable Secure Boot for the ethernet device to work

Does Secure Boot block any none signed driver? If so this may be the solution for other driver problems (for example webcam), too?

Yes, the kernel won’t load any unsigned modules with Secure Boot enabled

1 Like

Okay I’ve disabled the Secure Boot now and it looks like my system recognizes the Ethernet connection, but now I get another error as a system popup message Activation of Network Connection failed’. My internet doesn’t work still through my Ethernet connection.

WiFi-info
https://dpaste.com/5VQG4CUDS

It shows up a device now

jonathan-martinez@jonathan-martinez-MS-7E57:~$ nmcli device status
DEVICE             TYPE      STATE                   CONNECTION                
44:DA:30:A1:FD:8A  bt        connected               Jonathan’s iphone Network 
enp5s0             ethernet  connected               Wired connection 2        
lo                 loopback  connected (externally)  lo   
jonathan-martinez@jonathan-martinez-MS-7E57:~$ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 34:5a:60:3c:7b:27 brd ff:ff:ff:ff:ff:ff
3: enxc8a3e84e4be0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether c8:a3:e8:4e:4b:e0 brd ff:ff:ff:ff:ff:ff
jonathan-martinez@jonathan-martinez-MS-7E57:~$ nmcli connection show
NAME                       UUID                                  TYPE       DEVICE            
Jonathan’s iphone Network  97a33293-3747-41cf-8657-e02e1728e005  bluetooth  44:DA:30:A1:FD:8A 
Wired connection 2         30b0e5b1-cb58-3ac0-acc2-83d7bfba9305  ethernet   enp5s0            
lo                         8839ccc4-c80d-4231-92e3-d110af173680  loopback   lo                
Wired connection 1         902407e0-0aee-3ad3-a72f-bc35d701093f  ethernet   --  

This is becoming a “well-known problem” with Ubuntu 24.04.x (maybe especially 24.04.2) and RTL8125. One interesting difference between your situation and mine is that my Wi-Fi always works (so far, anyway). Like you, Jonathan, I can’t remember all the different things I tried, but I know I used both the CLI version and the GUI version of Network Manager, and it seemed to work well, at least for the Wi-Fi.

See

One user seems to have got Ethernet working on Ubuntu Server, but I haven’t tested his methods on my Desktop. See

I also wish I knew more about showing which driver the OS is actually using to run that ethernet device, but that is way beyond my abilities at this point.

I agree with @Jeremy31 and others who recommend that we document error messages in test scenarios and file bug reports with Ubuntu.

For my part, when I again have access to my target system, I plan to try a couple of scripts that I got recently from ChatGPT, which actually seem to work on another Linux box, which detect “version incompatibilities” in libraries and executables, but that’s a longshot, I think.

Jim

If you are going to file a bug report, make sure you are using r8125-dkms from the repos and not something else and file it against package r8125-dkms

Thanks again, Jeremy, for well-thought-of and Really Important advice. Unfortunately, as I said in my most recent post in this Topic,

So now I’m asking anyone who reads this, please tell me/us how to learn which driver the OS is actually using to run that Ethernet device, preferably by telling specific commands, and if that shows [my] system is not using the desired driver, i.e. in this case the one in package r8125-dkms, (how is it identifiable – by name, version, date, filesystem path, etc.) how to fix that. Hopefully this will also help @jonathanm9029, @johnk03, and others who may read this topic.

Thanks for help!

Jim

dmesg, and grep the output for the name of the interface. Or run it interactively and pipe through a pager.

For example, on my system running Pop-OS derived from Ubuntu 22.04:

pop-os:~# dmesg| fgrep enp47s0
[    2.165525] r8169 0000:2f:00.0 enp47s0: renamed from eth0
[  377.509735] r8169 0000:2f:00.0 enp47s0: Link is Down
[  379.289256] r8169 0000:2f:00.0 enp47s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4514.505028] r8169 0000:2f:00.0 enp47s0: Link is Down
[ 4547.808772] r8169 0000:2f:00.0 enp47s0: Link is Down
[ 4549.390076] r8169 0000:2f:00.0 enp47s0: Link is Up - 100Mbps/Full - flow control rx/tx
[19941.361981] r8169 0000:2f:00.0 enp47s0: Link is Down
[19993.474603] r8169 0000:2f:00.0 enp47s0: Link is Down
[19995.138988] r8169 0000:2f:00.0 enp47s0: Link is Up - 100Mbps/Full - flow control rx/tx

so here I am using the r8169 driver

Thanks, @q-undertow Ian.

But again, I am really inexperienced, so I need Every. Explicit. Step. :^) .

For example, how do I know what to grep for? I don’t know the name of my interface.

I took a stab at it and did this:

james@NUC14Ess:~$ sudo dmesg | fgrep 8125
[ 1.234638] pci 0000:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 2.207813] r8125: loading out-of-tree module taints kernel.
[ 2.207829] r8125: module verification failed: signature and/or required key missing - tainting kernel
[ 2.210660] r8125 2.5Gigabit Ethernet driver 9.011.00-NAPI loaded
[ 2.210708] r8125 0000:01:00.0: enabling device (0000 → 0003)
[ 2.224271] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 2.224282] r8125 Copyright (C) 2022 Realtek NIC software team nicfae@realtek.com
[ 2.246648] r8125 0000:01:00.0 enp1s0: renamed from eth0
[ 8.055987] r8125: enp1s0: link up
james@NUC14Ess:~$

I see in the last line of the response to my command above says, “link up”. But it’s not. It seems up on my unmanaged Ethernet switch, and the pulse blinks are in unison on the device jack and on the uplink, but it doesn’t actually work (if I turn off the WiFi Network connection, Ah ain’t got no Internet).

Then I took a guess, trying to follow the pattern recommended by @q-undertow, and I did
sudo dmesg | fgrep enp1s0
… and I got this output, and it continues with lots of lines that look like the last one in this quote::

[ 2.246648] r8125 0000:01:00.0 enp1s0: renamed from eth0
[ 5.597482] enp1s0: 0xffff9847c06f0000, 48:21:0b:71:2b:f9, IRQ 18
[ 8.055987] r8125: enp1s0: link up
[ 10.861025] [UFW BLOCK] IN=enp1s0 OUT= MAC= SRC=fe80:0000:0000:0000:662f:1d71:363e:26b2 DST=ff02:0000:0000:0000:0000:0000:0000:000c LEN=655 TC=0 HOPLIMIT=1 FLOWLBL=974471 PROTO=UDP SPT=53420 DPT=3702 LEN=615
[ 128.537371] [UFW BLOCK] IN=enp1s0 OUT= MAC=01:00:5e:00:00:01:80:cc:9c:2b:e9:05:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

I see the “UFW BLOCK” text, and I’m looking into why this should happen.

I did a search for

ubuntu 24.x ufw block

which found this “article”, but I haven’t started to read it yet:

https://www.cyberciti.biz/faq/how-to-set-up-ufw-firewall-on-ubuntu-24-04-lts-in-5-minutes/

As always, thanks for more help.

Jim

I did

james@NUC14Ess:~$ sudo ufw disable
Firewall stopped and disabled on system startup
james@NUC14Ess:~$

and the ongoing re-tries for Wired Internet connection continued with no change (fails every time).

Therefore, I now think the Firewall is not the problem. As always, I invite confirmation/correction.

IHTH

Jim

Did you check your network settings (dhcp, …) )after disabling Secure Boot and seeing the device?

@g-schick Gerhad,

I don’t understand your input. Please expand, including, “after disabling Secure Boot and seeing the device”.

I disabled Secure Boot long ago.

Thanks,

Jim

Did you check/setup your network connection in Gnome’s Settings >> Network?

@g-schick, I go to Settings >> Network and I see nothing to work on. What do you recommend?

I have to get some sleep now. I’ll check in tomorrow morning.

Thanks for trying to hlp.

Jim

Gerhard,
When I said, “I go to Settings >> Network and I see nothing to work on”, I meant all the normal entries in Wired are there. It tells me my LAN “Hardware” (MAC) address (correct) and adds (enp1s0), “Connect automatically” is checked, IPv4 Method is Automatic (DHCP), IPv6 Method is Automatic, DNS and Routes are ON Automatic, and “802.1x Security”, whatever that is, is OFF. In other words, just like I always do, so I see nothing I have ever had any reason to change. That is why I asked, “What do you recommend?”.

Also, all other computers on this LAN get their IPv4 address via DHCP, and it always works.

Thanks for trying to help, and wow, you are really new. Welcome to a really complicated world! :^)

Jim

I found a lot of discussion on UFW logging “polluting” dmesg output, so I’m ignoring those [UFW BLOCK] messages and returning to trying to learn how to find out which driver is being used for my RTL8125. It used to work fine, for about 3 months after I did the “patching” (my term; may not be correct) beginning with

git clone https://github.com/notpeelz/r8125.git

Then about 10 days ago it quit working, and even though I do that same “patching” again, it never works. I think my system updated something so it is a software issue, but I don’t know what to do to document what software is actually in use, and I am reluctant to file a bug report without proper documentation.

So, I’m sorry, Jonathan, but I can’t help with your issue either.

Jeremy, or any administrator, will you please re-open my topic

[ RTL8125 2.5GbE Ethernet port not working in Ubuntu 24.04 ]

and I will go back there and try to learn how to make progress.

Best wishes to All on this Topic.

Jim

lspci -v prints that …

You should also make sure that you do not mix and mesh the git repo and the dkms based driver, if you switch between them make sure to uninstall the other cleanly (make uninstall in the source tree of the git clone or apt purge r8125-dkms … if you want to file a bug only one against the r8125-dkms package will be accepted by the ubuntu-bug tool (problems with the git tree should be submitted to the github issuer tracker manually instead)