4g USB WAN not working

Started by avidesh, August 08, 2025, 02:16:10 PM

Previous topic - Next topic
Hi I have tried to connect USB 4g modem to my OPNsense router firewall. It is a bare bone device. I intend to use this USB $g modem as a WAN fail-over option. However I am getting an error relate to the device.
Notice, kernel, [114] ugen1.2: <vendor 0x1286 product 0x4e31> at usbus1 (disconnected)
Notice, kernel, [114] ugen1.2: <vendor 0x1286 product 0x4e31> at usbus1
Notice, kernel, [114] usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 7, addr 56 (ignored)

I tried using the same usb device on a vanilla FreeBSD VM as well as a separate OPNsense VM. in both those cases, USB 4g WAN device is working fine.

what could be wrong?

Within a VM, the hardware is usually supported by a driver within the hypervisor, and such drivers are usually derived from Linux. For bare-metal FreeBSD, have a look at https://www.freebsd.org/releases/14.3R/hardware/ (I did not see a Marvell cellular modem offhand).