OPNsense Forum

English Forums => Hardware and Performance => Topic started by: kazin187 on February 06, 2023, 04:09:02 AM

Title: USB NIC Port goes up and down
Post by: kazin187 on February 06, 2023, 04:09:02 AM
Building Opnsense on a laptop with a USB NIC. I've tried a few models from amazon and they all seem to do the same  thing. On the console I get the following:

ue0:Link state changed to UP
ue0:Link state changed to DOWN
ue0:Link state changed to UP
ue0:Link state changed to DOWN

...etc

Anyway to fix this or do I need a desktop computer? As mention this happens on 2 different USB NICs.

Thank you,
Title: Re: USB NIC Port goes up and down
Post by: kazin187 on February 06, 2023, 05:41:30 PM
Tried...
https://www.amazon.ca/gp/product/B00MYTSN18/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
https://www.amazon.ca/gp/product/B00BBD7NFU/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Tried different USB ports, reboots, etc.
Title: Re: USB NIC Port goes up and down
Post by: Patrick M. Hausen on February 06, 2023, 06:09:43 PM
Trying to use IDS/IPS?
Title: Re: USB NIC Port goes up and down
Post by: kazin187 on February 06, 2023, 07:25:53 PM
Not specifically unless its turned on by default?

Base install no config changes.
Title: Re: USB NIC Port goes up and down
Post by: Patrick M. Hausen on February 06, 2023, 08:11:38 PM
OK. USB Ethernet is not well supported. Probably not a suitable platform. Sorry for you, FreeBSD is picky about the hardware. But once running it's the most stable platform I've ever used. And I'm "I used SunOS ... and System V ... and Xenix" old.
Title: Re: USB NIC Port goes up and down
Post by: drew442 on February 08, 2023, 01:51:57 AM
There's some USB debugging options that may help you:
hw.usb.wmt.debug: 0
hw.usb.ums.debug: 0
hw.usb.ukbd.debug: 0
hw.usb.uhid.debug: 0
hw.usb.ucom.debug: 0
hw.usb.proc.debug: 0
hw.usb.uhub.debug: 0
hw.usb.ugen.debug: 0
hw.usb.dev.debug: 0
hw.usb.debug: 0
hw.usb.umass.debug: 0
hw.usb.ctrl.debug: 0
hw.usb.xhci.debug: 0
hw.usb.uhci.debug: 0
hw.usb.ohci.debug: 0
hw.usb.ehci.debug: 0


I'd start with sysctl -x hw.usb.debug=1