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.