Cellular hat no longer connecting

I purchased both the 4G cellular hat with EG25-G and a loose Quectel EG25-G from sixfab.
Tested the loose EG25-G with twilio and hologram sims on a Balena Fin and worked like a charm. Then I discovered the 64k unlimited plan from IoTDataworks/embeddedworks.net from this discussion: Unlimited 64kbps IoT data plans (IOTDataWorks, Embedded Works, AT&T) - #20 by barryjump

Bought one, activated it, and for some odd reason neither the HAT with EG25-G, nor the loose EG25-G work now. Tried with several different Pi4s, the Balena Fin, multiple OS versions and a bunch of different SD cards and sim cards.

The latest test is on clean install of Raspberry Pi OS lite on a Pi4 with power HAT, following the QMI instructions and still the same problem. Plenty of signal, GPS fix no problem, etc. Just no proper data connection or IP provisioned.

Here are the logs using the qmi instructions from sixfab. Any suggestions??

pi@raspberrypi:~/files/quectel-CM $ sudo ./quectel-CM -s m2mglobal
[03-18_10:24:24:425] Quectel_QConnectManager_Linux_V1.6.0.12
[03-18_10:24:24:426] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x003
[03-18_10:24:24:427] Auto find qmichannel = /dev/cdc-wdm0
[03-18_10:24:24:427] Auto find usbnet_adapter = wwan0
[03-18_10:24:24:427] netcard driver = qmi_wwan, driver version = 5.10.17-v7l+
[03-18_10:24:24:427] ioctl(0x89f3, qmap_settings) failed: Operation not supported, rc=-1
[03-18_10:24:24:428] Modem works in QMI mode
[03-18_10:24:24:439] cdc_wdm_fd = 7
[03-18_10:24:24:537] Get clientWDS = 17
[03-18_10:24:24:569] Get clientDMS = 1
[03-18_10:24:24:601] Get clientNAS = 3
[03-18_10:24:24:633] Get clientUIM = 2
[03-18_10:24:24:665] Get clientWDA = 1
[03-18_10:24:24:697] requestBaseBandVersion EG25GGBR07A08M2G
[03-18_10:24:24:825] requestGetSIMStatus SIMStatus: SIM_READY
[03-18_10:24:24:825] requestSetProfile[1] m2mglobal///0
[03-18_10:24:24:889] requestGetProfile[1] m2mglobal///0
[03-18_10:24:24:921] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: LTE
[03-18_10:24:24:953] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[03-18_10:24:24:953] ifconfig wwan0 down
[03-18_10:24:24:969] ifconfig wwan0 0.0.0.0
[03-18_10:24:25:402] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
[03-18_10:24:25:402] call_end_reason is 1005
[03-18_10:24:25:402] call_end_reason_type is 6
[03-18_10:24:25:402] call_end_reason_verbose is 26
[03-18_10:24:25:402] try to requestSetupDataCall 5 second later
[03-18_10:24:30:650] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
[03-18_10:24:30:651] call_end_reason is 1005
[03-18_10:24:30:651] call_end_reason_type is 6
[03-18_10:24:30:651] call_end_reason_verbose is 26
[03-18_10:24:30:651] try to requestSetupDataCall 10 second later

For what its worth, here are the logs for a hologram sim.

pi@raspberrypi:~/files/quectel-CM $ sudo ./quectel-CM -s hologram
[03-18_11:10:44:630] Quectel_QConnectManager_Linux_V1.6.0.12
[03-18_11:10:44:632] Find /sys/bus/usb/devices/1-1.3 idVendor=0x2c7c idProduct=0x125,
 bus=0x001, dev=0x003
[03-18_11:10:44:632] Auto find qmichannel = /dev/cdc-wdm0
[03-18_11:10:44:632] Auto find usbnet_adapter = wwan0
[03-18_11:10:44:632] netcard driver = qmi_wwan, driver version = 5.10.17-v7l+
[03-18_11:10:44:633] ioctl(0x89f3, qmap_settings) failed: Operation not supported, rc
=-1
[03-18_11:10:44:633] Modem works in QMI mode
[03-18_11:10:44:647] cdc_wdm_fd = 7
[03-18_11:10:44:745] Get clientWDS = 17
[03-18_11:10:44:777] Get clientDMS = 1
[03-18_11:10:44:809] Get clientNAS = 3
[03-18_11:10:44:841] Get clientUIM = 2
[03-18_11:10:44:873] Get clientWDA = 1
[03-18_11:10:44:905] requestBaseBandVersion EG25GGBR07A08M2G
[03-18_11:10:45:033] requestGetSIMStatus SIMStatus: SIM_READY
[03-18_11:10:45:033] requestSetProfile[1] hologram///0
[03-18_11:10:45:097] requestGetProfile[1] hologram///0
[03-18_11:10:45:129] requestRegistrationState2 MCC: 310, MNC: 260, PS: Detached, Data
Cap: UNKNOW
[03-18_11:10:45:161] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[03-18_11:10:45:161] ifconfig wwan0 down
[03-18_11:10:45:178] ifconfig wwan0 0.0.0.0

I think I’m getting somewhere.

It appears that the problem is tmobile’s network. IoTDataworks runs on tmobile, Twilio runs on tmobile, and hologram (sometimes) runs on tmobile.

I went back to the hologram SIM and tried to force it to join Verizon and it worked.

The constant here seems to be the:
requestRegistrationState2 MCC: 310, MNC: 260
Which is in fact Tmobile’s MCC and MNC.

I did find this post https://forums.quectel.com/t/eg25-g-and-t-mobile/4469 which seems to suggest the same problem.
Perhaps Tmobile updated their network and it broke something in the EG25-G firmware.

I requested the new firmware from Quectel support, but I’m curious if anyone else is having this problem with Tmobile?

I am also getting this same error. I was using ECM mode a few weeks ago, everything was working fine.
I have been away for a few weeks and decided to start fresh with a new installation of Buster and I cannot connect using EMC mode or any other method. I have the Telit and Quectel cards, same results. And I am using Broadband as my APN but I also tried NXYGENPHONE.
I would be happy to share any info requested.

Hi @kev.oue I managed to get it working quite reliably (at least for the last 2 days) on a Pi4, Sixfab LTE HAT with Quectel EC25-AF on T-mobile. I haven’t gone back to test the EG25-G modem in the same setup to see if that had anything to do with it though…

I think my original problem was with BalenaOS which has its own way of interacting with the modem using ModemManager. In particular it appears to be a problem with ModemManager interacting with NetworkManager during the dbus assignment. Not yet resolved unfortunately.

Tell us more about what you’ve got going on?