OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: eblot on August 12, 2018, 01:50:02 pm

Title: usb_modeswitch package
Post by: eblot on August 12, 2018, 01:50:02 pm
Hi,

I'm trying to setup a Huawei 4G/LTE modem as a fallback WAN interface w/ my OpnSense router.

It seems it requires to use the usb_modeswitch tool to enable the modem interface.

I read from here: https://forum.opnsense.org/index.php?PHPSESSID=or3em205tfimrihiklo1rjora0&topic=6771.msg29415#msg29415 that Franco is the maintainer of this package for FreeBSD, so ... is this tool/package available for OpnSense somehow? - or am I looking at the wrong direction to get this device work?

Thanks!
Title: Re: usb_modeswitch package
Post by: eblot on August 12, 2018, 01:54:42 pm
Me stupid: it is as simple as pkg install usb_modeswitch from a remote shell...
Title: Re: usb_modeswitch package
Post by: eblot on August 12, 2018, 03:37:25 pm
/usr/local/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1f01 -J seems to properly switch the device into CDC Ethernet, but the kernel does no detect it as a valid CDC Ethernet device, although if_cdce is loaded, and USB configuration #1 is set.

Does this mean this device is not supported on OpnSense?