Quectel EM20-G wont connect
Forum rules
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Quectel EM20-G wont connect
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!
Any help is much appreciated.
Thank you!
- Didneywhorl
- Posts: 3646
- Joined: Fri Mar 23, 2018 5:37 pm
- Location: USA
- Has thanked: 1370 times
- Been thanked: 764 times
- Contact:
- 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
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
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.
- 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
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?
That may be coming from the router firmware attempting to send SIM pin unlock to the modem
IMEI matches the registered Tmo device?
- 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
Sim pin is set on device, as far as i know. Not really from the carrier.
- 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
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.
- 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
What does the command AT+CGDCONT? output?
What errors does your system log show for the mbim messages?
What errors does your system log show for the mbim messages?
Re: Quectel EM20-G wont connect
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
+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
- 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
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?
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?
- 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
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.
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.
- 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
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?
AT+CGDCONT=1,"IPV4V6","broadband"
AT+CGDCONT=2,"IPV4V6","sos"
AT+CGDCONT=3,"IPV4V6","broadband"
to see what is currently set:
AT+CGDCONT?