Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awesometic/realtek-r8152-dkms
A DKMS package for easy use of Realtek r8152 driver, which supports Realtek USB NICs including RTL8156 (2.5 GbE) and RTL8157 (5 GbE)
https://github.com/awesometic/realtek-r8152-dkms
List: realtek-r8152-dkms
debian dkms launchpad-ppa r8152 realtek realtek-driver rtl8152
Last synced: 1 day ago
JSON representation
A DKMS package for easy use of Realtek r8152 driver, which supports Realtek USB NICs including RTL8156 (2.5 GbE) and RTL8157 (5 GbE)
- Host: GitHub
- URL: https://github.com/awesometic/realtek-r8152-dkms
- Owner: awesometic
- License: gpl-2.0
- Created: 2022-01-26T07:15:08.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-16T11:22:23.000Z (3 months ago)
- Last Synced: 2025-01-29T09:44:43.120Z (9 days ago)
- Topics: debian, dkms, launchpad-ppa, r8152, realtek, realtek-driver, rtl8152
- Language: C
- Homepage:
- Size: 205 KB
- Stars: 82
- Watchers: 7
- Forks: 18
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Realtek r8152 DKMS
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/awesometic/realtek-r8152-dkms?sort=semver&style=for-the-badge)
This provides Realtek r8152 driver in DKMS way so that you can keep the latest driver even after the kernel upgrade.
## Compatibility
The r8152 driver supports the following USB Ethernet chipsets.
> Refers to the official websites, you can check it at the bottom of this document
>
> *For RTL8157 (5 GbE), you need 2.18.1 or above*Chipset | Interface | Performance
:----------------|:-----------:|:----------------:
RTL8157 | USB 3.0 | 5 GbE
RTL8156 /B | USB 3.0 | 2.5 GbE
RTL8153 /B/C/D/E | USB 3.0 | 10/100/1000 MbE
RTL8154 /B | USB 2.0 | 10/100/1000 MbE
RTL8152B | USB 2.0 | 10/100M## 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.
```bash
sudo dpkg -i realtek-r8152-dkms-2.19.2-1*.deb
```> If multiple files selected by the wild card, you should type the specific version of the file.
>
> ```bash
> sudo dpkg -i realtek-r8152-dkms*.deb
> ```If dependency error occurs, try to fix that with `apt` command.
```bash
sudo apt install --fix-broken
```#### Launchpad PPA (Recommended)
Add the Launchpad PPA.
```bash
sudo add-apt-repository ppa:awesometic/ppa
```Then install the package using `apt` tool.
```bash
sudo apt install realtek-r8152-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.
```bash
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.
```bash
sudo ./dkms-install.sh
```## Debian package build
You can build yourself this after installing some dependencies including `dkms`.
```bash
sudo apt install devscripts debmake debhelper build-essential dkms dh-dkms
``````bash
dpkg-buildpackage -b -rfakeroot -us -uc
```## LICENSE
GPL-2 on Realtek driver and the debian packaing.
## References
- [Realtek r8152 driver downloads](https://www.realtek.com/Download/List?cate_id=585)