Page 1 of 1

WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Mon Oct 12, 2020 9:01 pm
by charlesrg
I'm testing a EM12-G with vzwinternet however on the General Information page the Provider states: "Connecting".

I can see the Modem/SIM info like IMEI, SIM IMSI, ICCID, Phone Number

But there is no Signal Info or Cell Info.

I've read the Quectel AT commands and tried to query a couple things.

Code: Select all

#Operator Info
AT+COPS?
+COPS: 0

#Network Info
AT+QNWINFO
+QNWINFO: No Service
OK

#ISP Name
AT+QSPN
ERROR
Am I expecting too much to connect the modem with a post paid sim with data plan and expect it to just work ?

Is there a troubleshooting guide that I could refer to get me up to speed ? Just reading the AT command set didn't enlighten me as I hoped.

Re: WG1608-V2 + Quectel EM12-G

Posted: Mon Oct 12, 2020 9:22 pm
by charlesrg
I tried issuing a:

Code: Select all

AT+CFUN=1,1
but it didn't help.


But still shows connecting. Debug shows:

Code: Select all

Mon Oct 12 22:12:13 2020 : /dev/ttyUSB2 AT+CGDCONT=?
+CGDCONT: (1-42),"IP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"PPP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV6",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV4V6",,,(0-3),(0-4),(0-1),(0-1)
OK
  
Mon Oct 12 22:12:15 2020 : /dev/ttyUSB2 AT+CGDCONT?;+CFUN?
+CGDCONT: 1,"IPV4V6","vzwinternet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","vzwadmin","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","vzwinternet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 4,"IPV4V6","vzwapp","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 5,"IPV4V6","vzwemergency","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
+CFUN: 1
OK
  
Mon Oct 12 22:12:19 2020 : /dev/ttyUSB2 AT+CMGS=?;+CMGL=?;+CMGR=?
+CMGL: ("REC UNREAD","REC READ","STO UNSENT","STO SENT","ALL")
OK
  
Mon Oct 12 22:12:20 2020 : /dev/ttyUSB2 AT+CMGF=0
OK
  
Mon Oct 12 22:12:23 2020 : /dev/ttyUSB2 AT+CPMS="SM","SM","SM"
+CPMS: 0,0,0,0,0,0
OK
  
Mon Oct 12 22:12:25 2020 : /dev/ttyUSB2 AT+CPMS="ME"
+CPMS: 0,99,0,0,0,0
OK
  
Mon Oct 12 22:12:28 2020 : /dev/ttyUSB2 AT+CPMS="SM"
+CPMS: 0,0,0,0,0,0
OK
  
Mon Oct 12 22:12:55 2020 : /dev/ttyUSB2 AT+CMGL=4
+CMS ERROR: 303

TIMEOUT ERROR
  
Mon Oct 12 22:12:56 2020 : /dev/ttyUSB2 AT+CMEE?
+CMEE: 1
OK
  
Mon Oct 12 22:13:00 2020 : /dev/ttyUSB2 AT+CPMS="SM"
+CPMS: 0,0,0,0,0,0
OK
  
Mon Oct 12 22:13:21 2020 : /dev/ttyUSB2 AT+CPMS="SM"
+CPMS: 0,0,0,0,0,0
OK
Tried the default builds https://www.ofmodemsandmen.com/upload/W ... 0-06-[b]10[/b].zip and https://www.ofmodemsandmen.com/upload/W ... 0-06-[b]14[/b].zip

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 12:23 am
by gscheb
Hello,
Try this on custom firewall.

#start TTL rules
iptables -t mangle -I POSTROUTING -j TTL --ttl-set 117
iptables -t mangle -I PREROUTING -j TTL --ttl-set 117
ip6tables -t mangle -A POSTROUTING -o wwan0 -j HL --hl-set 117
ip6tables -t mangle -I PREROUTING -i wwan0 -j HL --hl-set 117
#end TTL rules

Also try these at commands
AT+QMBNCFG="AutoSel",0 (stop Autoselect config on sim detection)
AT+QMBNCFG="Deactivate" (disable MBN config)
AT+CFUN=1,1 (reboot the modem)

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 9:13 am
by charlesrg
Still didn't work, here is some debug info with identification numbers replaced with XXX.
The only line I see an error is: AT+CPBR=? which in Quectel manual says is to read phonebook entries. The Sim should have no entries so it should be ok to fail.

Code: Select all

+QINDCFG: "all",0
OK
  
Tue Oct 13 10:02:14 2020 : /dev/ttyUSB2 AT+QCFG="nwscanmode"
+QCFG: "nwscanmode",0
OK
  
Tue Oct 13 10:02:16 2020 : /dev/ttyUSB2 AT+CFUN=1
OK
ATI
Quectel
EM12
Revision: EM12GPAR01A18M4G
OK
AT+CNUM
+CNUM: "Line 1","+1XXXxxxXXxx",145
OK
AT+CPBR=?
+CME ERROR: 100
  
Tue Oct 13 10:02:17 2020 : /dev/ttyUSB2 AT+CGMI
Quectel
OK
  
Tue Oct 13 10:02:18 2020 : /dev/ttyUSB2 AT+CGMM
EM12
OK
  
Tue Oct 13 10:02:19 2020 : /dev/ttyUSB2 AT+CGSN
XXXXXXXXXXXXXXX
OK
  
Tue Oct 13 10:02:20 2020 : /dev/ttyUSB2 AT+QCFG="nwscanmode"
+QCFG: "nwscanmode",0
OK
  
Tue Oct 13 10:02:22 2020 : /dev/ttyUSB2 AT+CIMI
XXXXXXXXXXXXXXXX
OK
  
Tue Oct 13 10:02:24 2020 : /dev/ttyUSB2 AT+CRSM=176,12258,0,0,10
+CRSM: 144,0,"XXXXXXXXXXXXXXXXXXXX"
OK
  
Tue Oct 13 10:02:26 2020 : /dev/ttyUSB2 AT+QINDCFG="all",1
OK
  
Tue Oct 13 10:02:27 2020 : /dev/ttyUSB2 AT+COPS=3,2;+COPS?
+COPS: 0
OK

Tue Oct 13 10:02:29 2020 : /dev/ttyUSB2 AT+CGDCONT=?
+CGDCONT: (1-42),"IP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"PPP",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV6",,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-42),"IPV4V6",,,(0-3),(0-4),(0-1),(0-1)
OK
  
Tue Oct 13 10:02:30 2020 : /dev/ttyUSB2 AT+CGDCONT?;+CFUN?
+CGDCONT: 1,"IPV4V6","vzwinternet","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CFUN: 1
OK
  
Tue Oct 13 10:02:34 2020 : /dev/ttyUSB2 AT+CMGS=?;+CMGL=?;+CMGR=?
+CMGL: (0-4)
OK
  
Tue Oct 13 10:02:36 2020 : /dev/ttyUSB2 AT+CMGF=0
OK
  
Tue Oct 13 10:02:38 2020 : /dev/ttyUSB2 AT+CPMS="SM","SM","SM"
+CPMS: 0,0,0,0,0,0
OK
  
Tue Oct 13 10:02:41 2020 : /dev/ttyUSB2 AT+CPMS="ME"
+CPMS: 0,127,0,0,0,0
OK
  
Tue Oct 13 10:02:43 2020 : /dev/ttyUSB2 AT+CPMS="SM"
+CPMS: 0,0,0,0,0,0
OK
  
Tue Oct 13 10:02:44 2020 : /dev/ttyUSB2 AT+CMGL=4
OK
  
Tue Oct 13 10:02:49 2020 : /dev/ttyUSB2 AT+CPMS="SM"
+CPMS: 0,0,0,0,0,0
OK


Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 5:44 pm
by charlesrg
I think the issue was Verizon not liking my modem. I popped a ATT sim and changed the profile to "broadband" and it worked.

Wondering what's the best way to find when a carrier rejects you instead of just keep trying. Wish there was a AT command to find out.

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 6:21 pm
by gscheb
Yes Verizon can be rough for sure.

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 9:21 pm
by charlesrg
That was exactly the case, used another SIM and it was back. Now I got it to work with Verizon and ATT.
Thank you guys.

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Oct 13, 2020 9:55 pm
by Didneywhorl
charlesrg wrote: Tue Oct 13, 2020 9:21 pm That was exactly the case, used another SIM and it was back. Now I got it to work with Verizon and ATT.
Thank you guys.
What did you end up doing to get it working?

Re: WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Thu Nov 19, 2020 5:50 am
by shrecewa
I'm also curious how you got it to work?

Re: WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Tue Dec 08, 2020 5:52 pm
by charlesrg
I put it back the simcard onto the phone so verizon would reactivate it. They didn't like SIM in the Quectel modem.

Re: WG1608-V2 + Quectel EM12-G

Posted: Tue Dec 08, 2020 6:12 pm
by shrecewa
charlesrg wrote: Tue Oct 13, 2020 9:21 pm That was exactly the case, used another SIM and it was back. Now I got it to work with Verizon and ATT.
Thank you guys.
So what did you do to get it working on Verizon?

Re: WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Tue Dec 08, 2020 6:24 pm
by punkguy00017
He said he put the SIM card back in the phone so verizon reactivates his sim

Re: WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Thu Mar 25, 2021 3:04 pm
by Acme182
This didn’t work for me. I put the sim in my phone and it worked, but when I put my phone sim in my router, it didn’t work. I put the router sim back in the router and it didn’t work either. So the sim works in my phone, but not in the router. I’m new to this but it seems they are blocking my router

Re: WG1608-V2 + Quectel EM12-G (SOLVED)

Posted: Fri Mar 26, 2021 10:01 pm
by Acme182
Acme182 wrote: Thu Mar 25, 2021 3:04 pm This didn’t work for me. I put the sim in my phone and it worked, but when I put my phone sim in my router, it didn’t work. I put the router sim back in the router and it didn’t work either. So the sim works in my phone, but not in the router. I’m new to this but it seems they are blocking my router

I reset the router firmware and it fixed it.