OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: panks21 on January 15, 2023, 10:28:27 am

Title: ASIX AX88179A USB3 to Ethernet Adaptor
Post by: panks21 on January 15, 2023, 10:28:27 am
Hi

Opnsense 22.7.10_2
I want to use the USB to Ethernet Adaptor which has chipset Asix AX88179A. It gets detected by the system but it is continuously flapping. Is there any way to make it work??

Following are the charterstics

Code: [Select]
root@pghome:~ # usbconfig -d ugen0.4mp_device_desc
ugen0.4: <ASIX AX88179A> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (46mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0320
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0009
  idVendor = 0x0b95
  idProduct = 0x1790
  bcdDevice = 0x0200
  iManufacturer = 0x0001  <ASIX>
  iProduct = 0x0002  <AX88179A>
  iSerialNumber = 0x0003  <000000000088A6>
  bNumConfigurations = 0x0003

root@pghome:~ # usbconfig -d ugen0.4mp_all_config_desc | grep -i binterface
      bInterfaceNumber = 0x0000
      bInterfaceClass = 0x00ff  <Vendor specific>
      bInterfaceSubClass = 0x00ff
      bInterfaceProtocol = 0x0000
      bInterfaceNumber = 0x0000
      bInterfaceClass = 0x0002  <Communication device>
      bInterfaceSubClass = 0x000d
      bInterfaceProtocol = 0x0000
      bInterfaceNumber = 0x0001
      bInterfaceClass = 0x000a  <CDC-data>
      bInterfaceSubClass = 0x0000
      bInterfaceProtocol = 0x0001
      bInterfaceNumber = 0x0001
      bInterfaceClass = 0x000a  <CDC-data>
      bInterfaceSubClass = 0x0000
      bInterfaceProtocol = 0x0001
      bInterfaceNumber = 0x0000
      bInterfaceClass = 0x0002  <Communication device>
      bInterfaceSubClass = 0x0006
      bInterfaceProtocol = 0x0000
      bInterfaceNumber = 0x0001
      bInterfaceClass = 0x000a  <CDC-data>
      bInterfaceSubClass = 0x0000
      bInterfaceProtocol = 0x0000
      bInterfaceNumber = 0x0001
      bInterfaceClass = 0x000a  <CDC-data>
      bInterfaceSubClass = 0x0000
      bInterfaceProtocol = 0x0000
root@pghome:~ #
Title: Re: ASIX AX88179A USB3 to Ethernet Adaptor
Post by: S199p.Wa1k9r on January 15, 2023, 08:02:33 pm
I thought it was just me that didn't work so well. At the same time, it works stably in FreeBSD.
Title: Re: ASIX AX88179A USB3 to Ethernet Adaptor
Post by: panks21 on January 17, 2023, 03:39:07 pm
That is so strange.. I read somewhere that OPNSense brings in all native drivers from FreeBSD. Not sure why it doesn't work.
I understand using a USB adaptor is not the ideal thing to do, but currently don't have a L2 switch to make it work with a single NIC
Title: Re: ASIX AX88179A USB3 to Ethernet Adaptor
Post by: Kosolapiy on February 26, 2023, 10:42:06 pm
I’m having same issue with ASIX based Amazon Basics USB 3.0 adapter. Did you managed to find solution? Previously I saw posts that those are very stable.
Title: Re: ASIX AX88179A USB3 to Ethernet Adaptor
Post by: Kosolapiy on February 28, 2023, 06:03:27 pm
I think I found solution. I have plugged adapter into USB 3.0 instead of USB 2.0 port and had no issues for 36 hours. I guess you need to match port.