LTE-USB-Stick (Huawei E3372h-320 Hilink) on OPNSense as LTE-Fallback

Started by ChrisN, July 14, 2020, 09:30:49 AM

Previous topic - Next topic
Hello dear community,

after spending almost 10h in trying to flash the E3372 into stickmode for proper support of AT-Commands, i just threw the towel (before almost all my hair has fallen out...) and wanted to try out the LTE-Stick in NDIS-Mode on the OPNSense.
Unfortunately the stick somehow is getting connected and disconnected over and over again, without holding that connection.
Here's my dmesg-output:
Quoteue0: ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected)
<USB Ethernet> on cdce0
cdce0: at uhub1, port 4, addr 1 (disconnected)
ue0: Ethernet address: 00:1e:10:1f:xx:xx
cdce0: detached
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_IOERROR
usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 4, addr 1 (ignored)
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected)
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_IOERROR
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_IOERROR
usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 4, addr 1 (ignored)
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected)
usbd_req_re_enumerate: addr=1, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 1 failed, USB_ERR_IOERROR
ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0
cdce0 on uhub1
cdce0: <CDC Ethernet Control Model ECM> on usbus0
ue0: ugen0.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus0 (disconnected)
<USB Ethernet> on cdce0
cdce0: at uhub1, port 4, addr 1 (disconnected)
ue0: Ethernet address: 00:1e:10:1f:xx:xx
cdce0: detached

The stick is directly connected with the APU2C4 via the BackUSB-Ports and as far as i've read on the documentation should be supported by the OS.
Is there any prior preparation to be done to support this stick properly, or what am i missing here?
I am planning to use this stick as LTE-Failover-Connection in case my main line is getting disconnected.

Any help is greatly appreciated.
Thanks in advance and best regards.
Chris

Anyone got an idea how i might be able to get this working?


Well, if hardwaresupport for the modem is bad in OPNsense you could put the modem in another device and then use ethernet between opnsense and the other device.

I'm running a Dovado router for my LTE failover.

If you got a spare raspberry pi you could use:
https://ofmodemsandmen.com/

Edit:
Also, you could try upgrading to 20.7 and see if support is better there.
2x 23.7 VMs & CARP, 4x 2.1GHz, 8GB
Cisco L3 switch, ESXi, VDS, vmxnet3
DoT, Chrony, HAProxy + NAXSI, Suricata
VPN: IPSec, OpenVPN, Wireguard
MultiWAN: Fiber 500/500Mbit dual stack + 4G failover

--
Available for private support.
Did my answer help you? Feel free to click [applaud] to the left

Hi,

I've also been struggling with using an E3372h-320 for AT commands. First of all I had a lot of trouble getting it into a mode where I could even send AT commands (I'm using Linux so probably different steps, but in the end I had to disable the usb_storage kernel module and then I could use usb_modeswitch as normal to switch it).

After that I found that it doesn't support almost any AT commands. The only ones that I was able to run without errors were ATI (which displays version information) and other related commands that display a subset of that information.

It's possible that I was doing something wrong, but I've been able to use exactly the same commands on older E3372 modems with no issues so it seems unlikely. Also I found that this website which reports that they also couldn't get an E3372h-320 to run any AT commands: https://en.avm.de/service/fritzbox/fritzbox-7490/knowledge-base/publication/show/120_Cannot-access-the-internet-with-a-mobile-broadband-dongle/

So I would recommend trying to get your hands on an older E3372, but if anyone does find a way to run the full set of AT commands on the E3372h-320 I'd love to hear about it.