RTL8156 USB ethernet change address

richiewu

New Member
Jul 21, 2021
27
3
3
42
Download from realtek

I install by run setup.sh but got

Check old driver and unload it. Build the module and install make[2]: *** /lib/modules/5.11.22-1-pve/build: No such file or directory. Stop. make[1]: *** [Makefile:184: clean] Error 2 make: *** [Makefile:48: clean] Error 2
 
Not sure if it help but when I wanted to compile the intel NIC utilities I needed to install the pve-headers package first.
 
I installed pve-headers mannually by dpkg -i pve-headers-5.11.22-1-pve_5.11.22-1_amd64.deb

Now I can install drivers
Code:
Check old driver and unload it.
Build the module and install
Skipping BTF generation for /root/r8125-9.006.04/src/r8125.ko due to unavailability of vmlinux
Warning: modules_install: missing 'System.map' file. Skipping depmod.
DEPMOD 5.11.22-1-pve
load module r8125
Updating initramfs. Please wait.
update-initramfs: Generating /boot/initrd.img-5.11.22-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
Completed.

lsmod | grep r8125 got

r8125 192512 0


But after reboot, nothing found in ip link
 
Last edited:
After plug again to another USB port, it works well and lsusb display correct device name,
very strange ...