OPNsense Forum

English Forums => Hardware and Performance => Topic started by: tbiv56 on March 19, 2023, 11:53:51 am

Title: usb ethernet ASIX AX88179A
Post by: tbiv56 on March 19, 2023, 11:53:51 am
I am using a Dell Wyse 5060 that has only a single ethernet port with OPNSense 23.1.
I bought two USB ethernet ports.  One is ASIX AX88179A, and the other is a RealTek.
Both behave the same way.  I am only using the AX88179A at the moment, and it is inserted into a USB3.0 port.
They constantly go DOWN, then UP.  (see attached photo)
i am able to have some throughput, but the constant flipping of the port gives poor results.

On OPNSense dashboard, I updated the system with all updates.
I normally use ubuntu linux, so I know nothing about FreeBSD, and I'm at a loss to get this fixed.
Any help would be appreciated.
Title: Re: usb ethernet ASIX AX88179A
Post by: schnipp on March 19, 2023, 06:18:03 pm
There is nothing you can really do. It looks like a driver problem. I replaced my one with a Realtek USB NIC some time ago.
Title: Re: usb ethernet ASIX AX88179A
Post by: sparticle on March 19, 2023, 06:31:47 pm
I have a J5Create USB 3.0 Gbic it is using ugen0.3: <ASIX Elec. AX88179> at usbus0 driver.

Seems rock solid with no dropouts.

Cheers
Spart

Title: Re: usb ethernet ASIX AX88179A
Post by: chemlud on March 19, 2023, 07:45:10 pm
...next time buy an optiplex SFF and you can add PCI NICs, problem 100% solved ;-)
Title: Re: usb ethernet ASIX AX88179A
Post by: tbiv56 on March 20, 2023, 10:08:36 pm
Thank you all for responding. 
I was hoping I could fix it.
I will try the Realtek on ue0 and see if I get different results.
Thanks again.  I have learned some lessons.
Title: Re: usb ethernet ASIX AX88179A
Post by: sparticle on March 22, 2023, 12:38:24 pm
...next time buy an optiplex SFF and you can add PCI NICs, problem 100% solved ;-)

SFF are really too big a form factor for the job. The USFF devices are closer to an ideal but lack the internals from what I can see.

Is there a recommendation for a micro or USFF device than can take a single or dual nic?

Cheers
Spart
Title: Re: usb ethernet ASIX AX88179A
Post by: kayti on June 25, 2023, 02:12:31 pm
For recommendations ( I tested both):
Dell Wyse 5070 Extended
Fujitsu Futro S940
Title: Re: usb ethernet ASIX AX88179A
Post by: johndchch on June 25, 2023, 09:52:36 pm
...next time buy an optiplex SFF and you can add PCI NICs, problem 100% solved ;-)
Is there a recommendation for a micro or USFF device than can take a single or dual nic?

Intel do NUC models with dual lan ports ( latest ones are dual 2.5gbe ) - not as cheap as the topton etal boxes, but reliable, have proper support with BIOS updates and are rated for 24/7 operation by Intel
Title: Re: usb ethernet ASIX AX88179A
Post by: mopowa on September 15, 2023, 01:58:46 am
I am using a Dell Wyse 5060 that has only a single ethernet port with OPNSense 23.1.
I bought two USB ethernet ports.  One is ASIX AX88179A, and the other is a RealTek.
Both behave the same way.  I am only using the AX88179A at the moment, and it is inserted into a USB3.0 port.
They constantly go DOWN, then UP.  (see attached photo)
i am able to have some throughput, but the constant flipping of the port gives poor results.

On OPNSense dashboard, I updated the system with all updates.
I normally use ubuntu linux, so I know nothing about FreeBSD, and I'm at a loss to get this fixed.
Any help would be appreciated.

I had a similar problem with a dual-eth realtek USB3 adapter.
This is how I fixed it. Maybe this can help you.

I created this script at /usr/local/etc/rc.syshook.d/early/50-realtek_usbconfig_workaround

Code: [Select]
#!/bin/sh
# WORKAROUND for the UP/DOWN cycling of the USB ethernet adapter
# cf. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255251


echo "FreeBSD USB workaround for USB-ethernet adapter"
echo "See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255251"
echo "Looking for the Realtek Adapters to get their USB address"

USB_DEVICES=`usbconfig | grep "Realtek USB" | cut -f 1 -d ":"`
echo $USB_DEVICES

if test "$USB_DEVICES" = ''
then
  echo "No Realtek USB Ethernet adapters found. Are they plugged in?"
  echo "Or is this script running too early?"
else
  echo Found the following adapters: $USB_DEVICES
  for i in $USB_DEVICES
  do
    echo usbconfig -d $i set_config 1
    usbconfig -d $i set_config 1
  done
fi