USB lan dongle 2.5 gbps

hi,

do you known an usb lan dongle working with ipfire at 2.5gbps? I have try one but it is not recognized correctly by ipfire. I have only 2.5 gbps half duplex.
ethtools red0 does not want to display all possible settings, autonegociation is off.
ethtools did not succeeded to switch autonegociation to on.

I don’t understand why it is not working nice.

thank you

note:
I have found this link which is interesting, but I don’t know how to apply it on ipfire

Please look through this and post the results of the commands.

Thank you!

https://wiki.ipfire.org/hardware/networking#howto-identify-devices

thanks for the answer

this is the device description
Bus 004 Device 002: ID 0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN

and this is the driver used:
/sys/class/net/red0/device/uevent:DRIVER=cdc_ncm

it looks like the following link have well identified the trouble.

I read through the article.

Did you see the last paragraph?

I am guessing you may need to find a different manufacturer


EDIT: I found these files when searching the IPFire box:

[root@ipfire ~] # find '/' ! -path '/mnt' -iname "*8152*"
/lib/modules/6.1.30-ipfire/kernel/drivers/net/usb/r8152.ko.xz
[root@ipfire ~] # 

[root@ipfire ~] # find '/' ! -path '/mnt' -iname "*8156*"
/lib/firmware/rtl_nic/rtl8156a-2.fw
/lib/firmware/rtl_nic/rtl8156b-2.fw
find: ‘/proc/12360’: No such file or directory
[root@ipfire ~] # 

[root@ipfire ~] # find '/' ! -path '/mnt' -iname "*cdc_ncm*"
/lib/modules/6.1.30-ipfire/kernel/drivers/net/usb/cdc_ncm.ko.xz
/lib/modules/6.1.30-ipfire/kernel/drivers/net/usb/huawei_cdc_ncm.ko.xz
[root@ipfire ~] # 

It seems like your device needs the 8156 but the CNX article mentions the 8152.

1 Like

thank for the help

Looking at the Realtek site for the 8156 and looking at the archive file for the driver it is the 8152.

It looks like the 8152 driver covers the 8152, 8153, 8154 and 8156.

You could try out the udev rule that is mentioned in that CNX article but as @jon mentioned, even with that the article author did not succeed in solving all his problems with that network adaptor. It looks like the 8152 driver from Realtek probably still has some bugs in it for the 8156 based adaptor.

1 Like

i have try to create the 50-usb-realtek-net.rules file, the dongle is now at 2.5gbps with full duplex.
I can not do iperf to test the bandwitch. the dongles is on the red line.
but i have some troubles now with the orange network.