SlackBuilds Repository

15.0 > Network > r8125 (9.018.00)

r8125 is the out-of-tree Linux kernel driver for Realtek RTL8125 and
RTL8125B 2.5 Gigabit Ethernet controllers with PCI-Express interface.
It provides complete 2.5Gbps support not available in the in-tree r8169
driver for this hardware revision.

The resulting package is specific to the kernel it was built against.
You must rebuild this package whenever you upgrade your kernel.

BUILDING
--------
To build for the currently running kernel:

./r8125.SlackBuild

To build for a different kernel (e.g. one you have just installed but
not yet booted):

KERNEL=6.1.0 ./r8125.SlackBuild

The KERNEL variable must match the directory name under /lib/modules/
and the kernel build tree must exist at /lib/modules/$KERNEL/build.

LOADING THE MODULE
------------------
After installing the package, load the driver without rebooting:

modprobe r8125

To verify it loaded:

lsmod | grep r8125

CONFLICT WITH r8169
-------------------
The in-tree r8169 driver may also bind to RTL8125 hardware. This package
installs a blacklist file to prevent r8169 from loading:

/etc/modprobe.d/r8169_blacklist.conf

If the file already exists and has been modified, the new version will
be installed as r8169_blacklist.conf.new for you to review and merge.

If r8169 is currently loaded, unload it before loading r8125:

modprobe -r r8169
modprobe r8125

NVCHECKER
---------
An nvchecker configuration file is installed alongside this README at:

/usr/doc/r8125-VERSION/r8125.nvchecker

nvchecker (https://github.com/lilydjwg/nvchecker) is a tool for checking
new versions of software. Copy or include this file in your nvchecker
configuration to be notified when Realtek publishes a new r8125 release.

Maintained by: danix
Keywords: driver,ethernet,realtek,gigabit
ChangeLog: r8125

Homepage:
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit

Source Downloads:
r8125-9.018.00.tar.bz2 (88d7c3ae81808c95a89c0b0eee1c7256)

Download SlackBuild:
r8125.tar.gz
r8125.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
doinst.sh
r8125.SlackBuild
r8125.info
r8125.nvchecker
slack-desc

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2026 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds