Know this is one in the row but it seems that I am not smart enough to find
what is missing here =>
q@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 1e0e:9001 Qualcomm / Option SimTech, Incorporated
Bus 001 Device 003: ID 1eaf:0024 Leaflabs uConsole
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
q@raspberrypi:~ $ echo -en “AT+CUSBPIDSWITCH?\r\n” | sudo socat - /dev/ttyUSB2,crnl
…Depending on your 4G module’s firmware version, it may not appear when using lsusb. (I believe it will if the firmware is 9011. Do not take this as an advice to “upgrade”.)
In this case, mmcli -L is the way to check if your modem is up. You may also see an added entry in /dev.
If you have a usb modem or if you use a phone you might get the APN settings automatically. I think I just copied the APN from my phone.
Additionally, I just found out that gsm: NetworkManager Reference Manual there is a auto-config flag defaulting to false, that might configure automatically the GSM
Must study that.
Not sure that mmcli have that option.
Have read somewhere that ModemManager and NetManager are
setting up all in automatic mode. Not in my case…
That particular SIM was in use within the
TELTONIKA RUT950 wan router, only for data.
In fact our home net 3rd spare provider, before
we switched to Starlink and wire ADSL only.
By my experience, you should see an additional entry in NetworkManager a short while after turning on the modem. And then it is a matter of enabling the connection, assuming your access parameters are setup correctly.
It’s been too long since I made mine work without a hitch. I pulled that off on Arch and Alpine, in both cases running GNOME.