OpenWrt Forum Archive

Topic: Raspberry PI (B 512MB version) - Help with USB Ethernet adapters

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

My ultimate goal is to use the Rpi+OpenWRT as a way to monitory my traffic between my VDSL+ modem and DD-WRT powered Netgear WNDR4500 OR place the DD-WRT WNDR4500 into AP ONLY mode for Wireless and use the Rpi as the router and network traffic monitor.  I had OpenWRT running on my old Netgear3700v2 and loved the information that it provided me.

The issue I am finding is that the two USB Ethernet adapters I have tried are not recognized by OpenWRT.  I only need one of them as I will use the built in Ethernet port (LAN) for one of the connections and the USB Adapter (WAN) as the other.  I have tried both of these devices :

Insignia™ - USB 2.0-to-Ethernet Adapter
Model: NS-PU98505 SKU: 6233049
http://www.bestbuy.com/site/insignia-us … Id=6233049

Insignia - USB 3.0-to-Gigabit Ethernet Adapter
Model: NS-PU98635 SKU: 3510527
http://www.bestbuy.com/site/insignia-us … Id=3510527

When run in OpenWRT they are not recognized.  When I boot into Raspbian (latest), they are both recognized and work great.  I have tried both Barrier Breaker and Chaos Calmer with no success.  I have include the lsusb -v information at the end of this post.  If anyone could aid me in identifying what I am missing I would appreciate it.

Thank You in advance,

MD



Insignia™ - USB 2.0-to-Ethernet Adapter
Model: NS-PU98505 SKU: 6233049
http://www.bestbuy.com/site/insignia-us … Id=6233049

Bus 001 Device 015: ID 0b95:772b ASIX Electronics Corp. AX88772B
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0b95 ASIX Electronics Corp.
  idProduct          0x772b AX88772B
  bcdDevice            0.01
  iManufacturer           1
  iProduct                2
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0
      iInterface              7
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              11
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0



Insignia - USB 3.0-to-Gigabit Ethernet Adapter
Model: NS-PU98635 SKU: 3510527
http://www.bestbuy.com/site/insignia-us … Id=3510527

Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8153
  bcdDevice           30.00
  iManufacturer           1
  iProduct                2
  iSerial                 6
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           57
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               64mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           98
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               64mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0
      iInterface              5
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      CDC Ethernet:
        iMacAddress                      3 (??)
        bmEthernetStatistics    0x00000000
        wMaxSegmentSize               1514
        wNumberMCFilters            0x0000
        bNumberPowerFilters              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               8
        bMaxBurst               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3

Do a lsmod on Raspian to see which kernel modules the adapters use.  Then see if those kmods are available in the OpenWrt package list.  If they are, you just need to install them.

OK...will do and will report back with my findings (and hopefully -- solution).

TYU

mk24 wrote:

Do a lsmod on Raspian to see which kernel modules the adapters use.  Then see if those kmods are available in the OpenWrt package list.  If they are, you just need to install them.


mk24.... I did exactly what you said .. and I found the packages for both and added them.  I now have my rasbpi chugging along great!!!

For anyone interested.. the packages needed for the respective USB adapters are:

Insignia USB2.0 to Ethernet Adapter - Package : kmod-usb-net-asix

Insignia USB3.0 to Ethernet Adapter - Package : kmod-usb-cdc-ether

Thanks again for pointing me in the right direction!

hitekagpilot wrote:
mk24 wrote:

Do a lsmod on Raspian to see which kernel modules the adapters use.  Then see if those kmods are available in the OpenWrt package list.  If they are, you just need to install them.


mk24.... I did exactly what you said .. and I found the packages for both and added them.  I now have my rasbpi chugging along great!!!

For anyone interested.. the packages needed for the respective USB adapters are:

Insignia USB2.0 to Ethernet Adapter - Package : kmod-usb-net-asix

Insignia USB3.0 to Ethernet Adapter - Package : kmod-usb-cdc-ether

Thanks again for pointing me in the right direction!

Hello, unfortunately I have the same problem.
I have a raspberry pi 2 with the Realtek 8153 (USB 3.0 gigabits).
I tried to install the package that you suggest it:
kmod-usb-cdc-ether ---> does not exist
I looked on the net and I found the following:
kmod-usb-net-cdc-ether ----> exists, but it does not work! sad
I can not load the correct driver.
Can you help me please?
Thank you, bye!

The discussion might have continued from here.