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.
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.
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
...next time buy an optiplex SFF and you can add PCI NICs, problem 100% solved ;-)
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.
Quote from: chemlud on March 19, 2023, 07:45:10 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
For recommendations ( I tested both):
Dell Wyse 5070 Extended
Fujitsu Futro S940
Quote from: sparticle on March 22, 2023, 12:38:24 PM
Quote from: chemlud on March 19, 2023, 07:45:10 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
Quote from: 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.
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
#!/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