I bought a USB 2.5Gbe interface from Asus for my PVE (8.0.4 with kernel 6.2.16-19-pve).
This has the RTL8156 / RTL8156B chipset.
I can't get this interface to work with the correct driver. The "cdc_ncm" driver is selected and I get only a HALF-Duplex connection.
I have found and read several topics where it is solved with the "/etc/udev/rules.d/50-usb-realtek-net.rules" file.
The ASUS is not present in the example files, I added this:
I found the values over here:
But after a reboot, the device doesn't show up anymore. It looks like the Realtek driver is missing or something.
I try to install/compile the original driver from Realtek, but get this errors:
I allready installed apt install pve-headers. But apt install pve-headers$(uname -r) doesn't exists, the latest version is pve-headers-6.2.16-5-pve.
Can anyone help to get this working? Also after future kernel updates...
This has the RTL8156 / RTL8156B chipset.
I can't get this interface to work with the correct driver. The "cdc_ncm" driver is selected and I get only a HALF-Duplex connection.
I have found and read several topics where it is solved with the "/etc/udev/rules.d/50-usb-realtek-net.rules" file.
The ASUS is not present in the example files, I added this:
Code:
# ASUS
ATTR{idVendor}=="0b05", ATTR{idProduct}=="1976", ATTR{bConfigurationValue}!="$env{REALTEK_MODE1}", ATTR{bConfigurationValue}="$env{REALTEK_MODE1}"
I found the values over here:
Code:
[ 1.808461] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 1.829105] usb 3-2: New USB device found, idVendor=0b05, idProduct=1976, bcdDevice=31.05
[ 1.829112] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1.829114] usb 3-2: Product: USB 10/100/1G/2.5G LAN
[ 1.829116] usb 3-2: Manufacturer: Realtek
[ 1.829118] usb 3-2: SerialNumber: 5013000001
But after a reboot, the device doesn't show up anymore. It looks like the Realtek driver is missing or something.
Code:
[ 1.841944] usbcore: registered new interface driver cdc_ether
[ 1.865698] cdc_ncm 3-2:2.0 eth0: register 'cdc_ncm' at usb-0000:00:14.0-2, CDC NCM (NO ZLP), 04:42:1a:3c:6c:da
[ 1.865874] usbcore: registered new interface driver cdc_ncm
[ 4.794518] cdc_ncm 3-2:2.0 enx04421a3c6cda: unregister 'cdc_ncm' usb-0000:00:14.0-2, CDC NCM (NO ZLP)
I try to install/compile the original driver from Realtek, but get this errors:
Code:
make
make -C /lib/modules/6.2.16-19-pve/build M=/root/rlt modules
make[1]: Entering directory '/usr/lib/modules/6.2.16-19-pve/build'
make[1]: *** No rule to make target 'modules'. Stop.
make[1]: Leaving directory '/usr/lib/modules/6.2.16-19-pve/build'
make: *** [Makefile:24: modules] Error 2
I allready installed apt install pve-headers. But apt install pve-headers$(uname -r) doesn't exists, the latest version is pve-headers-6.2.16-5-pve.
Can anyone help to get this working? Also after future kernel updates...
Last edited: