Help with modem

Started by Nuradon, March 24, 2020, 07:00:38 PM

Previous topic - Next topic
March 24, 2020, 07:00:38 PM Last Edit: March 25, 2020, 12:20:29 PM by Nuradon
Hi guys,

I just received a new hardware today (fitlet2), which i set up with Proxmox.
The hardware itself has a LTE modem, which i passed through the OPNsense VM.
But OPNsense itself doesn't recognize it as interface ...

So I was trying to troubleshoot and what i found out so far is that OPNsense recognizes the HW, but as USB device ...
root@OPNsense:~ # usbconfig
ugen1.2: <SimTech, Incorporated SimTech, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)


So I checked the forum and found: https://forum.opnsense.org/index.php?topic=7872.0

Next step i performed was to set the config to 1 (like written in the post) ...
root@OPNsense:~ # usbconfig -d ugen0.6 set_config 1
... which resulted in ...
ugen1.2: <SimTech, Incorporated SimTech, Incorporated> at usbus1, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
... but is till can't choose it as an interface (shell and web).

I know that not every modem works, but maybe someone has another idea I could try?

Thanks and best regards,
Markus

Hey Markus,

does it expose any serial ports on the system? You can find out by running ls /dev/cuaU*

In turn you should be able to use these ports as PPP devices. If there are no serial ports, try to see if you can find any documentation from the vendor that might let you change the mode of the device.

If there is a serial port; try if it accepts AT commands using cu -l /dev/cuaU0.0 and replace 0.0 by whatever port is created on your system. There is also some documentation of setting up a 4G modem as PPP device https://wiki.opnsense.org/manual/how-tos/cellular.html.