Raspberry Pi4 & USB3 1Gb CableMatters

Hello & happy new year to all,

I am a complete newbie here & this is my first post. My idea is to protect my 2 homes internet access with OpenWrt & if possible create a dedicated tunnel between both.

So I have

  • 1 Pi 4 & a USB3 to 1Gb adapter CableMatters 202013 (its a Realtek) & 1Gb internet link
  • 1 Pi 3b+ & a USB2 to 10/100Mb adapter CableMatters 202023 (its a Realtek) & 20Mb internet link

I have downloaded the last snapshot & the Pi4 has booted. My laptop is connected to the Pi eth0 so I managed ssh to it. But the USB2ETH adapter is not seen so no internet, no Luci or new drivers.

I know I haven't started with the easiest option, still expecting th Pi3b+ to arrive so it will be better for the first discoveries about OpenWrt. By the way I'm not a linux expert, this is why I chose OpenWrt :wink:

If someone could help me, I would appreciate!

Thx

well, i'd love to help you and you are correct these are realtek...

202013 1GB+? USB3 ( could be 8153 could be higher )
202023 USB2 100Mb ( probably 8152 )

sadly... the semi-intelligent folks at 'Cable Matters' choose not to put a driver name on device pages... and the link to the Realtek driver site a) requires provision of email b) lists no chipset or in the case of 202013 several....

don't have 2 hours to trawl through amazon/linux forums trying to find the correct chipset for these tho', you might... or you can plug it into a linux-pc ( live-cd ? ) to find out...

way to go cable-matters + realtek! ( this used to make me money when I worked in IT, but these guys are plain nasty )

1 Like

Would output from the logs after plugging the usb in help here? @jeanlouisc the issue is that snapshots are stripped down and don't have things like usb ethernet drivers out of the box, you need to figure out which usb drivers to install then manually grab them and copy to the PI and install them along with the generic usb ethernet infrastructure packages etc. You have tons of space so you might just grab everything :sweat_smile:

2 Likes

Thx to both for the answers :smile:

I connected to a Pi with Raspbian. Just unplugged and plugged again. This is the result of the dmesg:

[  484.866839] usb 2-2: USB disconnect, device number 2
[  484.867639] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[  491.186760] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[  491.218017] usb 2-2: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[  491.218036] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[  491.218053] usb 2-2: Product: USB 10/100/1000 LAN
[  491.218069] usb 2-2: Manufacturer: CMI
[  491.218085] usb 2-2: SerialNumber: 000001
[  491.377318] usb 2-2: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[  491.458018] r8152 2-2:1.0 eth0: v1.10.11
[  491.525566] usbcore: registered new interface driver cdc_ether
[  491.579057] r8152 2-2:1.0 wan: renamed from eth0
[  494.548319] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[  494.548948] r8152 2-2:1.0 wan: carrier on

I also emailed CableMatters, hope I will have an answer

1 Like

RTL8152/RTL8153 according to

https://www.amazon.com/gp/customer-reviews/R188Y2IVTE8WWK/ref=cm_cr_arp_d_rvw_ttl?ie=UTF8&ASIN=B00BBD7NFU

2 Likes

The driver should be located in the OpenWrt package kmod-usb-net-rtl8152.

3 Likes

OK That's cool

I've tested again with OpenWrt & I got the same message
IMG_6862

So now could you tell me how to have OpenWrt recognize it as a NIC? it seems that I need to load this package? Is it normal that it doesn't start when I plug the USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors?
Actually I launched

opkg list-installed | grep usb

and I just had

brcmfmac-firmware-usb - 2020118-3
kmod-usb-core - 5.4.91-1
kmod-usb-hid - 5.4.91-1

I suppose I should load kmod-usb-net-rtl8152 but I don't know how

Then I will be able to install Luci & off we go!

Thx

OK Thanks for the help all of you... Everything works!
The USB3ETH is connected via eth1 on DHCP to my provider box
The internal eth0 is on my network delivering DHCP & DNS service...

Still a lot to play with but I'm pretty sure that I'll have a lot of fun with this!!!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.