/dev
. I see three tty devices: /dev/ttyUSB0
to /dev/ttyUSB2
and one /dev/cdc-wdm0
./dev/ttyUSBx
devices should be a serial console for AT
commands, probably using 9600 baud. If it isn't, refer to the Switching to NBIM
section of this guide./dev/ttyUSBx
devices will probably be for NMEA, meaning that it's for talking to the built-in GPS. This has no bearing on the 4G LTE connectivity.swi_setusbcomp
script below./dev
associated with the modem.<number>
with the number of that entry. I used number 1.mbim-network
. To connect you will need your APN for your 4G LTE provider. For the Sprint connection you get from Calyx this is r.ispsn
. Edit /etc/mbim-network.conf
(create it if it doesn't exist) and make sure a line says 'APN=<your_apn>' so for Calyx Sprint it would be 'APN=r.ispsn'. Also ensure that the file has a line that says 'PROXY=yes'. If you don't use a proxy then you can't query the active connection while it is being used. If you have a username and password see man mbim-network
.mbimcli
to talk to the device at all:wwan0
when you run ip link
.184.250.142.38/30
so to set it I did:ping 8.8.8.8
./etc/resolv.conf
but remember to put it back the way it was before re-starting network-manager.swi_setusbcomp.pl
to switch to a USB composition that includes QMI.libqmi-utils
, the config file /etc/qmi-network.conf
and the commands qmi-network
and qmicli
. The command to get the IP and gateway is different though and I don't know what it is for qmicli
.uqmi
utility manually is documented here but it doesn't seem to be integrated into uci
or ubus
.mbim
called umbim
. You can install it using:umbim
.umbim
on OpenWRT:umbim
you can connect like so:wwan0
will appear./lib/netifd/proto/mbim.sh
file here and that seems to be the core of it. It seems like the rest of the missing files implement some sort of automatic ping and re-connect when the 4G LTE connection stops working.