Page 1 of 1

Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 9:23 am
by privateid
Hello everyone, New here, I just got a 4g setup with a usb3.0 sled and a WG3526 router, Latest rooter firmware on router, I am having issues with it not connecting with tmobile sim. At this point I am just getting everything setup and tested. I have searched the forum and came to a point about downgrading the em20 firmware but downloaded the writeup from Jim but the download files are no longer available.

Any help is much appreciated.

Thank you!

Re: Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 11:57 am
by Didneywhorl

Re: Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 11:59 am
by Didneywhorl
Set the modem in MBIM mode, turn off the PDP context auto load (AT+QMBNCFG="autosel",0) and ensure the modem has saved memory (AT+QPRTPARA=1) then power cycle the modem, or run AT+CFUN=1,1

Re: Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 7:13 pm
by privateid
Thank you very much for that. Got all that done, set the apn and under interfaces where i set the modem to MBIM mode, shows Pin code rejected but then disappears, and now under modem network status the modem or sim info doesn't show at all as before upgrade it did.

Re: Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 7:18 pm
by privateid
Ok, just powered down everything restart and now sim info is showing under modem network status, failed to connect, And still shows PIN code rejected in WWAN interfaces.

Re: Quectel EM20-G wont connect

Posted: Fri Jun 17, 2022 9:12 pm
by Didneywhorl
Did you have a SIM pin code before?

That may be coming from the router firmware attempting to send SIM pin unlock to the modem

IMEI matches the registered Tmo device?

Re: Quectel EM20-G wont connect

Posted: Sat Jun 18, 2022 9:04 am
by privateid
So I went and got the att sim for hotspot setup and apn settings imei is correct. And still showing same error and won’t connect.

Re: Quectel EM20-G wont connect

Posted: Sat Jun 18, 2022 9:06 am
by privateid
No sim pin as far as I know. Didn’t say anything about it when I was registering it and setting it in online.

Re: Quectel EM20-G wont connect

Posted: Sat Jun 18, 2022 9:28 am
by Didneywhorl
Sim pin is set on device, as far as i know. Not really from the carrier.

Re: Quectel EM20-G wont connect

Posted: Sat Jun 18, 2022 11:20 am
by privateid
So the modem? Or the router?

Re: Quectel EM20-G wont connect

Posted: Sat Jun 18, 2022 4:40 pm
by Didneywhorl
router. via AT commands to the modem. I'm not super familiar myself, though, on the how. I could be wrong, but I'm pretty sure that's what I've seen before.

Re: Quectel EM20-G wont connect

Posted: Sun Jun 19, 2022 9:44 am
by privateid
Its just stuck on connecting, and under miscellaneous says modem present /not connected.

and under WWAN says "Error: Unknown error (NO_REGISTRATION)"

Re: Quectel EM20-G wont connect

Posted: Mon Jun 20, 2022 9:55 am
by Didneywhorl
What does the command AT+CGDCONT? output?

What errors does your system log show for the mbim messages?

Re: Quectel EM20-G wont connect

Posted: Mon Jun 20, 2022 10:39 am
by privateid
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","broadband","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0

OK

System Log


Sun Jun 19 04:15:27 2022 daemon.notice netifd: wan1 (16184): Command failed: Permission denied
Sun Jun 19 04:15:27 2022 daemon.notice netifd: Interface 'wan1' is now down
Sun Jun 19 04:15:27 2022 daemon.notice netifd: Interface 'wan1' is setting up now
Sun Jun 19 04:15:27 2022 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wan1'
Sun Jun 19 04:15:27 2022 user.notice MBIM Connect: Query radio state
Sun Jun 19 04:15:27 2022 user.notice MBIM Connect: Reading capabilities
Sun Jun 19 04:15:27 2022 user.notice MBIM Connect: Checking subscriber
Sun Jun 19 04:15:28 2022 user.notice MBIM Connect: Checking PIN state
Sun Jun 19 04:15:28 2022 daemon.notice netifd: wan1 (16194): required pin: 3 - pin2
Sun Jun 19 04:15:28 2022 daemon.notice netifd: wan1 (16194): remaining attempts: 3
Sun Jun 19 04:15:28 2022 user.notice MBIM Connect: PIN is not required
Sun Jun 19 04:15:28 2022 user.notice MBIM Connect: Register with network
Sun Jun 19 04:15:28 2022 user.notice MBIM Connect: Subscriber registration failed
Sun Jun 19 04:15:28 2022 user.notice MBIM Connect: MBIM bringup failed, retry in 15s
Sun Jun 19 04:15:29 2022 user.notice MBIM Connect: Stopping network
Sun Jun 19 04:15:29 2022 daemon.notice netifd: wwan (16385): Command failed: Permission denied
Sun Jun 19 04:15:29 2022 daemon.notice netifd: Interface 'wwan' is now down
Sun Jun 19 04:15:29 2022 daemon.notice netifd: Interface 'wwan' is setting up now
Sun Jun 19 04:15:29 2022 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wwan'
Sun Jun 19 04:15:29 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Query radio state
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Reading capabilities
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Checking subscriber
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): uci: Invalid argument
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Checking PIN state
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): required pin: 3 - pin2
Sun Jun 19 04:15:30 2022 daemon.notice netifd: wwan (16396): remaining attempts: 3
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: PIN is not required
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Register with network
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: Subscriber registration failed
Sun Jun 19 04:15:30 2022 user.notice MBIM Connect: MBIM bringup failed, retry in 15s
Sun Jun 19 04:15:43 2022 user.notice MBIM Connect: Stopping network
Sun Jun 19 04:15:43 2022 daemon.notice netifd: wan1 (16635): Command failed: Permission denied
Sun Jun 19 04:15:43 2022 daemon.notice netifd: Interface 'wan1' is now down
Sun Jun 19 04:15:43 2022 daemon.notice netifd: Interface 'wan1' is setting up now
Sun Jun 19 04:15:43 2022 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wan1'
Sun Jun 19 04:15:43 2022 user.notice MBIM Connect: Query radio state
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: Reading capabilities
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: Checking subscriber
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: Checking PIN state
Sun Jun 19 04:15:44 2022 daemon.notice netifd: wan1 (16646): required pin: 3 - pin2
Sun Jun 19 04:15:44 2022 daemon.notice netifd: wan1 (16646): remaining attempts: 3
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: PIN is not required
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: Register with network
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: Subscriber registration failed
Sun Jun 19 04:15:44 2022 user.notice MBIM Connect: MBIM bringup failed, retry in 15s
Sun Jun 19 04:15:45 2022 user.notice MBIM Connect: Stopping network
Sun Jun 19 04:15:46 2022 daemon.notice netifd: wwan (16857): Command failed: Permission denied
Sun Jun 19 04:15:46 2022 daemon.notice netifd: Interface 'wwan' is now down
Sun Jun 19 04:15:46 2022 daemon.notice netifd: Interface 'wwan' is setting up now
Sun Jun 19 04:15:46 2022 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wwan'
Sun Jun 19 04:15:46 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:46 2022 user.notice MBIM Connect: Query radio state
Sun Jun 19 04:15:46 2022 user.notice MBIM Connect: Reading capabilities
Sun Jun 19 04:15:46 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:46 2022 user.notice MBIM Connect: Checking subscriber
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): uci: Invalid argument
Sun Jun 19 04:15:47 2022 user.notice MBIM Connect: Checking PIN state
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): required pin: 3 - pin2
Sun Jun 19 04:15:47 2022 daemon.notice netifd: wwan (16867): remaining attempts: 3
Sun Jun 19 04:15:47 2022 user.notice MBIM Connect: PIN is not required
Sun Jun 19 04:15:47 2022 user.notice MBIM Connect: Register with network
Sun Jun 19 04:15:47 2022 user.notice MBIM Connect: Subscriber registration failed
Sun Jun 19 04:15:47 2022 user.notice MBIM Connect: MBIM bringup failed, retry in 15s
Sun Jun 19 04:15:59 2022 user.notice MBIM Connect: Stopping network
Sun Jun 19 04:15:59 2022 daemon.notice netifd: wan1 (17115): Command failed: Permission denied
Sun Jun 19 04:15:59 2022 daemon.notice netifd: Interface 'wan1' is now down
Sun Jun 19 04:15:59 2022 daemon.notice netifd: Interface 'wan1' is setting up now
Sun Jun 19 04:15:59 2022 user.notice URL-DEBUG: hotplug (iface): action='ifup-failed' interface='wan1'
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Query radio state
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Reading capabilities
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Checking subscriber
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Checking PIN state
Sun Jun 19 04:16:00 2022 daemon.notice netifd: wan1 (17125): required pin: 3 - pin2
Sun Jun 19 04:16:00 2022 daemon.notice netifd: wan1 (17125): remaining attempts: 3
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: PIN is not required
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Register with network
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Subscriber registration failed
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: MBIM bringup failed, retry in 15s

Re: Quectel EM20-G wont connect

Posted: Mon Jun 20, 2022 12:33 pm
by Didneywhorl
Sun Jun 19 04:16:00 2022 user.notice MBIM Connect: Subscriber registration failed

Network sees your modem and SIM card and is saying, NO!

What plan is the ATT and Tmobile SIMs?

What device was the SIM placed in to make sure it is working and passing data? Are you using that devices IMEI on the modem when use its SIM card in the router?

Re: Quectel EM20-G wont connect

Posted: Tue Jun 21, 2022 3:09 pm
by privateid
att is a hotspot plan, tmobile is one of my phone lines, The modem is a "tablet".

Re: Quectel EM20-G wont connect

Posted: Thu Jun 23, 2022 10:47 am
by Didneywhorl
I would mirror the modem identity to the registered SIM before firing up each SIM change.

Also to repeat ensure the AT!QMBNCFG="AutoSel" is set to off/0 and stays that way after a power cycle.

You may want to try and factory reset the modem with the SIM removed and set it up to just MBIM, IMEI, and manually set APN#2 and #3 to your preferred carrier settings.

Re: Quectel EM20-G wont connect

Posted: Thu Jun 23, 2022 5:17 pm
by privateid
ok, What is apn #2 and #3? I know set it in the modem setting and in the wwan under network.

Re: Quectel EM20-G wont connect

Posted: Sat Jun 25, 2022 9:18 am
by Didneywhorl
AT commands:

AT+CGDCONT=1,"IPV4V6","broadband"

AT+CGDCONT=2,"IPV4V6","sos"

AT+CGDCONT=3,"IPV4V6","broadband"


to see what is currently set:
AT+CGDCONT?