Is Realtek 2.5Gbit USB>Ethernet working? (RTL8156)

Is there a way to make this work? Or any plans to make it work?
I dont yet have openwrt but planning on installing it within 2-3 weeks when i get my hardware, so i want to prepare, is this a possibility?

Thank you

1 Like

Should be, assuming that the router hardware comes with

  • USB3.1 port
  • sufficient bus bandwidth
  • powerful CPU to handle such bandwidth throughput
  • suitable power supply

Else the driver r8152.c (as listed on https://realtek-download.com/realtek-usb-fe-gbe-2-5g-rtl8156-rtl8153-rtl8152b-gaming-ethernet-family-controller/) appears to be natively available in the Linux kernel https://github.com/torvalds/linux/blob/cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2/drivers/net/usb/r8152.c

it requires kconf flag https://github.com/torvalds/linux/blob/3e1ad4054b8d7c91c1ebf19d7709c754a6c703b6/drivers/net/usb/Kconfig#L107 to build as kmod - check the OpenWrt kconfig settings for your hardware target whether the flag is set accordingly.

You sure it doesnt work with 3.0 USB? There are devices that use that with 2.5gbit

Those links refer to 8152 and not 8156 which is the new 2.5G, i expect they need specific drivers

I think at this stage these adapters will work more reliably in CDC/ECM/NCM mode using the driver that comes with the linux kernel rather than using the vendor driver.

It might be best to stick with kernel 5.10 if you're going to use them this way as there's stuff like this

https://lkml.org/lkml/2020/11/18/49