How to install r8125?

freddyf

New Member
Feb 7, 2025
2
0
1
I am reaching out regarding an issue I encountered while setting up Proxmox VE 8.4.0 on my machine. The r8125 NIC not being listed after installation.

I downloaded the necessary driver from Realtek (r8125-9.016.00.tar.bz2), but unfortunately, I have been unable to successfully install it thus far. I'm looking for guidance or assistance with this. Any help or advice you could provide would be greatly appreciated.

Thank you in advance for your time and support.

Best regards,
 
The r8125-dkms package is provided by the PVE repos. Please share this
Bash:
lspci -vnnk | awk '/Ethernet/{print $0}' RS=
 
Last edited:
root@t605-mint:~# lspci -vnnk | awk '/Ethernet/{print $0}' RS=
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
c1:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 08)
Subsystem: Hewlett-Packard Company RTL8125 2.5GbE Controller [103c:8d1d]
Flags: fast devsel, IRQ 25, IOMMU group 16
I/O ports at 2000
Memory at b5100000 (64-bit, non-prefetchable) [size=256K]
Memory at b5140000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=64 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [164] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [174] Transaction Processing Hints
Capabilities: [200] Latency Tolerance Reporting
Capabilities: [208] L1 PM Substates
Capabilities: [218] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Kernel modules: r8169
root@t605-mint:~#
 
Last edited:
Mine is using the 8169 module.
lspci -nnk
21:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:0123]
Kernel driver in use: vfio-pci
Kernel modules: r8169
Seems to be working fine. Don't remember having to add anything. It is passed threw to an openwrt vm that sees it as an 8125.
I can provide other info if requested.

lspci -vnnk | awk '/Ethernet/{print $0}' RS=
21:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:0123]
Flags: bus master, fast devsel, latency 0, IRQ 47, IOMMU group 24
I/O ports at cc00
Memory at cfed0000 (64-bit, non-prefetchable) [size=64K]
Memory at cfefc000 (64-bit, non-prefetchable) [size=16K]
Expansion ROM at cfee0000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=32 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Virtual Channel
Capabilities: [168] Device Serial Number 01-00-00-00-bb-b3-c9-88
Capabilities: [178] Transaction Processing Hints
Capabilities: [204] Latency Tolerance Reporting
Capabilities: [20c] L1 PM Substates
Capabilities: [21c] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Kernel driver in use: vfio-pci
Kernel modules: r8169
 
Last edited: