Switched from Sprint SIM to T-Mobile SIM (Calyx), but can't connect. CME ERROR: 13
Posted: Mon May 30, 2022 3:34 am
Modem: Quectel EM20-G (4G)
Router: WG3526 (now running WiFiX-NEXP1GO-GO2022-03-23a firmware)
Before Calyx terminated my Sprint plan and switched me to their T-Mobile plan, my setup was working just fine. Calyx just sent me the T-Mobile SIM and a 5G M2000 hotspot, and I first tested it out in the hotspot which worked as expected. I then took it out of the hotspot and put it in the EM20-G after removing the Sprint SIM. Initially, everything seemed to work, pretty much plug-and-play. All I had to change was the APN. I don't think I even had to change the TTL even though it was set to default.
But then I realized it was disconnecting pretty frequently, so I tried messing with the APN (r.ispsn, fast.t-mobile.com, B2B.tmobile.com, B2B.static), the TTL (default, 64, 65), 4G only vs. Automatic, QMI vs. MBIM mode, specifying the network (e.g. 310120), etc., and nothing seemed to help. While I was in the middle of troubleshooting the disconnects, it stopped connecting entirely, and it hasn't been able to connect since then. This happened just hours after unboxing the new SIM card and hotspot.
So before I can fix the issue with the frequent disconnects, I now have to fix the even bigger problem which is that the modem won't connect at all and I'm getting the following error any time it tries to connect.
Which is "SIM failure"?
This is what it shows in the system log when it tries to connect in QMI mode:
and in MBIM mode:
Additional info:
The SIM still works in the hotspot.
AT+COPS=? indicates the following networks are available:
When it was able to connect, it seemed to be connected to 311490 on B41 (and B41 and B4 appear to be the only bands in range?)
In the time since it stopped connecting, I've upgraded the router firmware so that I could set PDP to IPv4 and set IPv6 to blank. I also tried every different combination of the configs mentioned above as well as the APN 'fbb.home'. No luck.
Any ideas?
Router: WG3526 (now running WiFiX-NEXP1GO-GO2022-03-23a firmware)
Before Calyx terminated my Sprint plan and switched me to their T-Mobile plan, my setup was working just fine. Calyx just sent me the T-Mobile SIM and a 5G M2000 hotspot, and I first tested it out in the hotspot which worked as expected. I then took it out of the hotspot and put it in the EM20-G after removing the Sprint SIM. Initially, everything seemed to work, pretty much plug-and-play. All I had to change was the APN. I don't think I even had to change the TTL even though it was set to default.
But then I realized it was disconnecting pretty frequently, so I tried messing with the APN (r.ispsn, fast.t-mobile.com, B2B.tmobile.com, B2B.static), the TTL (default, 64, 65), 4G only vs. Automatic, QMI vs. MBIM mode, specifying the network (e.g. 310120), etc., and nothing seemed to help. While I was in the middle of troubleshooting the disconnects, it stopped connecting entirely, and it hasn't been able to connect since then. This happened just hours after unboxing the new SIM card and hotspot.
So before I can fix the issue with the frequent disconnects, I now have to fix the even bigger problem which is that the modem won't connect at all and I'm getting the following error any time it tries to connect.
Code: Select all
/dev/ttyUSB2 AT+COPS=0
+CME ERROR: 13
This is what it shows in the system log when it tries to connect in QMI mode:
Code: Select all
Tue Aug 31 17:35:46 2021 user.notice Create Connection: Retry Connection
Tue Aug 31 17:36:00 2021 user.notice Create Connection: Pincode in script
Tue Aug 31 17:36:00 2021 user.notice Create Connection: Attempting to Connect Modem 1
Tue Aug 31 17:36:01 2021 user.notice Create Connection: PDP Type selected in the Connection Profile: "IP", active: "IP"
Tue Aug 31 17:36:13 2021 user.notice QMI Connect: WDA-GET-DATA-FORMAT is "raw-ip"
Tue Aug 31 17:36:13 2021 user.notice QMI Connect: Query radio state
Tue Aug 31 17:36:23 2021 user.notice QMI Connect: Waiting for network registration
Tue Aug 31 17:36:23 2021 user.notice QMI Connect: Starting network fast.t-mobile.com
Tue Aug 31 17:36:23 2021 user.notice QMI Connect: Connection returned : "Call failed"
Tue Aug 31 17:36:23 2021 user.notice QMI Connect: Status is "disconnected"
Tue Aug 31 17:36:33 2021 user.notice Create Connection: Retry Connection
Code: Select all
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Stopping network
Tue Aug 31 18:10:03 2021 daemon.notice netifd: wan1 (15253): Command failed: Permission denied
Tue Aug 31 18:10:03 2021 daemon.notice netifd: Interface 'wan1' is now down
Tue Aug 31 18:10:03 2021 daemon.notice netifd: Interface 'wan1' is setting up now
Tue Aug 31 18:10:03 2021 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wan1'
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Query radio state
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Reading capabilities
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Checking subscriber
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Checking PIN state
Tue Aug 31 18:10:03 2021 daemon.notice netifd: wan1 (15266): required pin: 3 - pin2
Tue Aug 31 18:10:03 2021 daemon.notice netifd: wan1 (15266): remaining attempts: 10
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: PIN is not required
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Register with network
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: Subscriber registration failed
Tue Aug 31 18:10:03 2021 user.notice MBIM Connect: MBIM bringup failed, retry in 15s
Tue Aug 31 18:10:19 2021 user.notice MBIM Connect: Stopping network
The SIM still works in the hotspot.
AT+COPS=? indicates the following networks are available:
Code: Select all
AT+COPS=?
+COPS: (0,"312 530","312 530","312530",7),(0,"311 882","311 882","311882",7),(0,"312 250","312 250","312250",7),(0,"Sprint","Sprint","310120",7),(0,"311 490","311 490","311490",7),(0,"T-Mobile","T-Mobile","310260",7),,(0-4),(0-2)
In the time since it stopped connecting, I've upgraded the router firmware so that I could set PDP to IPv4 and set IPv6 to blank. I also tried every different combination of the configs mentioned above as well as the APN 'fbb.home'. No luck.
Any ideas?