Quectel EM20-G wont connect

Forum rules
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Post Reply
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Quectel EM20-G wont connect

Post 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!
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post by Didneywhorl »

User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post 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.
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post 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.
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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?
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post 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.
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post 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.
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post by Didneywhorl »

Sim pin is set on device, as far as i know. Not really from the carrier.
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post by privateid »

So the modem? Or the router?
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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.
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post by privateid »

Its just stuck on connecting, and under miscellaneous says modem present /not connected.

and under WWAN says "Error: Unknown error (NO_REGISTRATION)"
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post by Didneywhorl »

What does the command AT+CGDCONT? output?

What errors does your system log show for the mbim messages?
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post 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
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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?
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post by privateid »

att is a hotspot plan, tmobile is one of my phone lines, The modem is a "tablet".
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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.
privateid
Posts: 11
Joined: Fri Jun 17, 2022 9:17 am
Has thanked: 0
Been thanked: 0

Re: Quectel EM20-G wont connect

Post by privateid »

ok, What is apn #2 and #3? I know set it in the modem setting and in the wwan under network.
User avatar
Didneywhorl
Posts: 3646
Joined: Fri Mar 23, 2018 5:37 pm
Location: USA
Has thanked: 1370 times
Been thanked: 764 times
Contact:

Re: Quectel EM20-G wont connect

Post 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?
Post Reply

Return to “Quectel Modems”