All Projects → awesometic → realtek-r8125-dkms

awesometic / realtek-r8125-dkms

Licence: GPL-2.0 license
A DKMS package for easy use of Realtek r8125 driver, which supports 2.5 GbE.

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to realtek-r8125-dkms

ezpptp
Easy PPTP VPN setup script for Debian based VPS
Stars: ✭ 87 (-38.73%)
Mutual labels:  debian
debian-setup
neurite.github.io/debian-setup
Stars: ✭ 27 (-80.99%)
Mutual labels:  debian
cylon-deb
TUI menu driven bash shell script to update and maintain a Debian based Linux distro.
Stars: ✭ 23 (-83.8%)
Mutual labels:  debian
builder
Treehouses Awesome 👓 Raspberry Pi Image Builder 🏗
Stars: ✭ 44 (-69.01%)
Mutual labels:  debian
python-deb-pkg-tools
Debian packaging tools
Stars: ✭ 36 (-74.65%)
Mutual labels:  debian
install script
YunoHost installation scripts
Stars: ✭ 71 (-50%)
Mutual labels:  debian
debian bridge
CLI utility to run .deb packages on non-debian distros using docker
Stars: ✭ 23 (-83.8%)
Mutual labels:  debian
my blog
在 Issues 中建立的个人博客
Stars: ✭ 28 (-80.28%)
Mutual labels:  debian
installer-linux
💾 SinusBot Installer for Debian, Ubuntu and CentOS - Installs the SinusBot with a single command.
Stars: ✭ 28 (-80.28%)
Mutual labels:  debian
debian900
DebiaN900 - A set of scripts to facilitate the installation of Devuan or Debian GNU/Linux on the Nokia N900
Stars: ✭ 35 (-75.35%)
Mutual labels:  debian
docker-debian-repository
A local repository for publishing deb files for use with apt.
Stars: ✭ 49 (-65.49%)
Mutual labels:  debian
Deb Dots
Debian GNU/Linux dot files.
Stars: ✭ 49 (-65.49%)
Mutual labels:  debian
dots
Use chezmoi to install my dotfiles easily on Gentoo, Arch, Void and Debian.
Stars: ✭ 70 (-50.7%)
Mutual labels:  debian
ansible-role-php-versions
Ansible Role - PHP Versions
Stars: ✭ 78 (-45.07%)
Mutual labels:  debian
Autodesk-Fusion-360-for-Linux
This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
Stars: ✭ 810 (+470.42%)
Mutual labels:  debian
dotfiles
Dotfiles generator that allows quick configuration of different window managers in multiple OSs
Stars: ✭ 36 (-74.65%)
Mutual labels:  debian
debian-packaging
Create Debian packages of non-free, closed-source and other software.
Stars: ✭ 19 (-86.62%)
Mutual labels:  debian
wp-in-a-box
WordPress in a (LEMP) box (Debian & Ubuntu)!
Stars: ✭ 53 (-62.68%)
Mutual labels:  debian
wakemeops
A Debian repository for portable applications
Stars: ✭ 54 (-61.97%)
Mutual labels:  debian
sarbian
We’ve built a plug’n play Operation System (based on Debian Linux) with all the freely and openly available SAR processing software. No knowledge of installation steps needed, just download and get started with SAR data processing. SARbian is free for use in research, education or operational work.
Stars: ✭ 49 (-65.49%)
Mutual labels:  debian

Realtek r8125 DKMS

GitHub release (latest SemVer)

This provides Realtek r8125 driver in DKMS way so that you can keep the latest driver even after the kernel upgrade.

Before use

This DKMS package is for Realtek RTL8125 (r8125 in module name) Ethernet, which is designed for the PCI interface.

If you are searching for the Realtek 2.5 Gbits USB Ethernet, which may use RTL8156 (r8152 in module name), you are in the wrong place. Please refer to another DKMS project for that Realtek driver.

Installation

There are 3 ways to install this DKMS module. Choose one as your tastes.

Those are not interfering with each other. So you can do all 3 methods but absolutely you don't need to.

Installation using the Debian package is recommended for the sake of getting the newer driver.

Debian package

Released package file

Download the latest Debian package from the Release tab on the Github repository.

Then enter the following command.

sudo dpkg -i realtek-r8125-dkms*.deb

If multiple files selected by the wild card, you should type the specific version of the file.

sudo dpkg -i realtek-r8125-dkms_9.009.01-1_amd64.deb

If dependency error occurs, try to fix that with apt command.

sudo apt install --fix-broken

Launchpad PPA (Recommended)

Add the Launchpad PPA.

sudo add-apt-repository ppa:awesometic/ppa

Then install the package using apt tool.

sudo apt install realtek-r8125-dkms

autorun.sh

Using the autorun.sh script that Realtek provides on their original driver package. This is not installed as a DKMS, only efforts to the current kernel.

Download or clone this repository and move to the extracted directory, then run the script.

sudo ./autorun.sh

dkms-install.sh

This script is from aircrack-ng team. You can install the DKMS module by a simple command.

Download or clone this repository and move to the extracted directory, then run the script.

sudo ./dkms-install.sh

Verify the module is loaded successfully

After installing the DKMS package, you may not be able to use the new r8125 module on the fly. This because the existing r8169 module will be loaded priority to r8125 so that it prevents working of the r8125 module.

Check if the r8169 module loaded currently.

lsmod | grep -i r8169

If there is a result, maybe the r8125 module wasn't loaded properly. You can check out modules currently in use via lspci -k or dmesg too.

To use the r8125 module explicitly you can add the r8169 module to not be loaded by adding it to a blacklist file.

Enter the following command to configure the blacklist.

sudo tee -a /etc/modprobe.d/blacklist-r8169.conf > /dev/null <<EOT
# To use r8125 driver explicitly
blacklist r8169
EOT

To apply the new blacklist to your kernel, update your initramfs via

sudo update-initramfs -u

Finally, reboot to take effect.

  • If you need to load both r8169 and r8125, maybe removing r8125 firmware could make it work. Please enter sudo rm -f /lib/firmware/rtl_nic/rtl8125* to remove all the r8125 firmwares on the system. But it is just a workaround, you should have to do this every time installing the new kernel version or new Linux firmware.
  • In the case of the Debian package, I will update the scripts to make it do this during the installation.

Debian package build

You can build yourself this after installing some dependencies including dkms.

sudo apt install devscripts debmake debhelper build-essential dkms
dpkg-buildpackage -b -rfakeroot -us -uc

LICENSE

GPL-2 on Realtek driver and the debian packaing.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].