Sorry.. but in this field i'm a proper newbie/noob
I have a router that when i plug in the adapter...It detects but doesn't have the drivers (no link)
Is there a way to install the drivers? they all seem to be the realtek 2.5gb adapter...but i can try to find out what chip each one uses but safe to assume all will be 8156
I have very little knowledge in this os/environment so some proper hand holding would be really appreciated.
So far the router def detects the presence of the usb adapter.. but shows no link instead of 0mbps if unplugged or 1000 or 2500 mbps when a cable is in.
if up doesn't do anything either.. its def missing the drivers.
r8169 if it is a pci express card (this one covers different realtek chips including the 2.5 gbit)
r8125 if it is a Realtek 2.5gbit usb dongle
dont pick any 815x packages, those also cover 2.5gbit, but are based on proprietary vendor code and may cause issues with the other 2 proper opensource modules)
there might be 2 packages you need: 1 kernel module and 1 firmware loadable binary
Try to install these packages, you should be able to have the adaper recognized (my suggestion is to create a custom image and add these packages directly in the custom built).
Bus 005 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 006 Device 002: ID 0bda:8156
Bus 006 Device 001: ID 1d6b:0003
Bus 004 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
root@vodafone:~# dmesg | grep -i usb
bcm-bca-usb-ctrl 8000c200.usb_ctrl: ---- Powering up USB blocks
bcm-bca-usb-xhci 8000d000.usb0_xhci: registered successfully
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-platform 8000c300.usb0_ehci: EHCI Host Controller
ehci-platform 8000c300.usb0_ehci: new USB bus registered, assigned bus number 1
ehci-platform 8000c300.usb0_ehci: irq 15, io mem 0x8000c300
ehci-platform 8000c300.usb0_ehci: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
ehci-platform 8000c500.usb1_ehci: EHCI Host Controller
ehci-platform 8000c500.usb1_ehci: new USB bus registered, assigned bus number 2
ehci-platform 8000c500.usb1_ehci: irq 17, io mem 0x8000c500
ehci-platform 8000c500.usb1_ehci: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-platform 8000c400.usb0_ohci: Generic Platform OHCI controller
ohci-platform 8000c400.usb0_ohci: new USB bus registered, assigned bus number 3
ohci-platform 8000c400.usb0_ohci: irq 14, io mem 0x8000c400
hub 3-0:1.0: USB hub found
ohci-platform 8000c600.usb1_ohci: Generic Platform OHCI controller
ohci-platform 8000c600.usb1_ohci: new USB bus registered, assigned bus number 4
ohci-platform 8000c600.usb1_ohci: irq 16, io mem 0x8000c600
hub 4-0:1.0: USB hub found
xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 5
hub 5-0:1.0: USB hub found
xhci-hcd xhci-hcd.0: new USB bus registered, assigned bus number 6
xhci-hcd xhci-hcd.0: Host supports USB 3.0 SuperSpeed
hub 6-0:1.0: USB hub found
usbcore: registered new interface driver usblp
usbcore: registered new interface driver uas
usb 6-2: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
usbnet_thread created successfully
cdc_ncm 6-2:2.0 eth4: register 'cdc_ncm' at usb-xhci-hcd.0-2, CDC NCM, 00:e0:4c:68:01:7d
You’re using an ancient version of OpenWrt from before 2.5GbE adapters were available. So of course it doesn’t have an available kernel module. No official version of OpenWrt ever used kernel 4.19. OpenWrt 19.07 series used the 4.14 kernel and OpenWrt 21.02 used kernel 5.4.