2021年7月12日 星期一

Compiling Realtek RTL8125 Network Card Driver on Ubuntu 20.04.2 LTS

 https://askubuntu.com/questions/1259947/cant-get-rtl8125b-working-on-20-04

 

lspci -knn | grep Realtek
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
 

$ lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:    focal
 

 Here's a solution I found;
    Go to the Realtek website 992
    Download the Unix(Linux) r8125 driver. You will need to give an email address.
    1754×445
    Go to /Downloads directory. Extract the Tarball.
    In Terminal, go into r8125-xxxx folder and run the autorun.sh
    $ sudo ./autorun.sh
Everything should run automatically and you should get ethernet connection now.

 

TUF GAMING B550M-PLUS 

AMD B550
Realtek RTL8125B 2.5Gb Ethernet

 

 

 

 $ sudo ./autorun.sh

Check old driver and unload it.
rmmod r8125
Build the module and install
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:69
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:76
sign-file: certs/signing_key.pem: No such file or directory
Warning: modules_install: missing 'System.map' file. Skipping depmod.
DEPMOD 5.8.0-43-generic
load module r8125
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-5.8.0-43-generic
Completed.


ip link

sudo ip link set enp6s0 up

沒有留言:

張貼留言

2023 Promox on Morefine N6000 16GB 512GB

2023 Promox on Morefine N6000 16GB 512GB Software Etcher 100MB (not but can be rufus-4.3.exe 1.4MB) Proxmox VE 7.4 ISO Installer (1st ISO re...