Forums

Hang on connect to router for Ubuntu 22.04 for Realtek8125 ethernet

Hang on connect to router for Ubuntu 22.04 for Realtek8125 ethernet. I have downloaded ‘r8125 installation file’ from entry 2.5G Ethernet LINUX driver r8125 for kernel up to 5.19 on Realtek’s webpage (https://www.realtek.com/en/component/z...

Hang on connect to router for Ubuntu 22.04 for Realtek8125 ethernet. I have downloaded ‘r8125 installation file’ from entry 2.5G Ethernet LINUX driver r8125 for kernel up to 5.19 on Realtek’s webpage (https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software). But it gave ‘System Map’ warning and modprobe fail. Here is the log:
john@Desktop:~/Software/Realtek/r8125-9.011.01$ sudo ./autorun.sh
[sudo] password for john:

Check old driver and unload it.
Build the module and install
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Skipping BTF generation for /home/john/Software/Realtek/r8125-9.011.01/src/r8125.ko due to unavailability of vmlinux
Warning: modules_install: missing ‘System.map’ file. Skipping depmod.
DEPMOD 5.19.0-43-generic
load module r8125
modprobe: ERROR: could not insert ‘r8125’: Key was rejected by service
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-5.19.0-43-generic
Completed.

1 post - 1 participant

Read full topic