...next time buy an optiplex SFF and you can add PCI NICs, problem 100% solved ;-)
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?
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.
#!/bin/sh# WORKAROUND for the UP/DOWN cycling of the USB ethernet adapter# cf. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255251echo "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_DEVICESif 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 donefi