Should be no problem providing network status via at commands?
Have you tried the Luci-App-ModemManager packages?
https://openwrt.org/docs/guide-user/network/wan/wwan/modemmanager
It improves on both LibMBIM and LibQMI for newer modems - Qualcomm-based and others...
Thank you for your reply. I just tested this out with the T-Mobile SIM, and it seems like it's still failing. Here is what I have in my network file. Is there something else I'm missing?
config interface '4G'
option proto 'modemmanager'
option device '/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1'
option apn 'fast.t-mobile.com'
option auth 'none'
option iptype 'ipv4v6'
option loglevel 'ERR'
I think there is another problem before it gets to the IP assignment stage, but also keep in mind that T-Mobile is v6 only. v4 compatibility may be implemented in the modem or you can use 464xlat on OpenWrt.
And AT&T is v4 only, with CGNAT.
For T-Mobile USA (and perhaps other providers) - Tmo is IPV6 only for iptype
For IPv4, they use 464XLAT, which means you'll need to add the clat stanzas
Here's some addtional info
https://forum.archive.openwrt.org/viewtopic.php?id=57455
Note that the apn "fast.t-mobile.com" also needs to be associated with the Billing Plan for the SIM card in use - those two things must be aligned
Lastly - Tmo will assign you an IPv6 address upon connection, but they do not, at least in my experience, assign a PD, so the option here is to allow them to assign IPv6 for your client devices on the LAN side (ugly I know) - I can't find my notes on this, as I am not home at the moment, but enough googling about for TMHI and OpenWRT should land you in the right place... I found the info via Reddit for the third party blog site that had the right way to approach things.