OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • usb_modeswitch package
« previous next »
  • Print
Pages: [1]

Author Topic: usb_modeswitch package  (Read 3644 times)

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
usb_modeswitch package
« 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!
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: usb_modeswitch package
« Reply #1 on: August 12, 2018, 01:54:42 pm »
Me stupid: it is as simple as pkg install usb_modeswitch from a remote shell...
Logged

eblot

  • Newbie
  • *
  • Posts: 31
  • Karma: 1
    • View Profile
Re: usb_modeswitch package
« Reply #2 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?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • usb_modeswitch package
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2