Feedback on Cellular Wireless — Known Working 3G-4G Modems
For devices such as the Huawei E3372h (HiLink), we need to run the usb_modeswitch command. If we run this using the shellcmd service so that the the ue0 interface comes up on boot, it happens too late so we get a "Network interface mismatch" which needs to be resolved via the serial console.
A simple work around is to add a delay (I opted for 10s) to give the system time to switch the mode and initialize the ue0 interface.
usb_modeswitch -v 12d1 -p 1f01 -c /usr/local/share/usb_modeswitch/12d1:1f01 && sleep 10
Perhaps this is something that could be added to the documentation so that users (like myself) that rely upon a 4g dongle as our primary connection can handle unattended startups.