Just got my expansion card in the mail minutes ago but I cannot get it to function properly nor have I be able to determine a good cause.
I’m currently running Debian 11 with a 5.19 kernel. From what I’ve gathered the driver for the RTL8156 has been in the kernel since 5.13 and the system certainly detect it fine. The full lsusb output of the device is at: https://termbin.com/22j1
The main issue seems to be the the adapter isn’t reporting any appropriate information to the system and so it’s defaulting to 100Mbps and half duplex. It also takes a fairly significant time for a link to even be detected. I’ve attempted to manually set the speed and duplex with ethtool but I am only returned an “Operation not permitted” error. Additionally there are no errors regarding the device in dmesg. Below is the output of ethtool.
Settings for enx9cbf0d0002c3:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Port: Twisted Pair
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Anyone else who has received one seeing similar? Or everything working perfectly fine? I’ve never had an ethernet adapter behave in such a way so I’m at a loss of how to proceed.
Edit: Got it working.
While researching I came across this: Fixing performance issues with Realtek RTL8156B 2.5GbE USB dongle in Ubuntu - CNX Software
That revealed to me that instead of the appropriate realtek driver my system was loading the cdc-ncm driver. After adding a udev rule which I got from here: realtek-r8152-linux/50-usb-realtek-net.rules at master · wget/realtek-r8152-linux · GitHub
I then unloaded the cdc_mbim and cdc_ncm modules and restarted udev. Now ethtool reports all appropriate information and I’m and full link speed.