Quectel RM520N-GL and Verizon Pin Code Rejected

I am trying to register above router on Rpi with openwrt and I keep getting the error “pin code rejected”. Verizon advised to reach out to manufacturer. Can anyone help please?

“pin code rejected” probably comes from OpenWrt, so I suggest you ask a question in their forum.

Will do thank you for responding

It makes sense to run some tests on the modem itself to isolate problems.

AT+CEREG?
AT+CGDCONT?
AT+CGPADDR
AT+QMBNCFG="list"

@jfrog Thanks, I am new to all this and limited in ability. I don’t know how to run AT commands in openwrt,…I have ran them before but just not in openwrt

The approach is pretty much the same across all the platforms. Install any dumb terminal application like picocom then run
picocom /dev/ttyUSB2

@jfrog Dude, thanks so much! Here it is

AT+CEREG?
+CEREG: 0,1
OK

+QLWURC: "dtls","failed",100
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","ims","0.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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,0
+CGDCONT: 6,"IPV4V6","vzwclass6","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 7,"IPV4V6","vzwiotts","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","ims","0.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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,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,,,,,,,,,"",,,,0
+CGDCONT: 6,"IPV4V6","vzwclass6","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 7,"IPV4V6","vzwiotts","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

OK

AT+CGPADDR
+CGPADDR: 1,“38.0.16.1.17.20.149.204.0.0.0.0.20.184.225.144”
+CGPADDR: 2,“10.135.175.55”,“38.0.16.1.241.6.45.228.0.0.0.68.160.223.46.1”
+CGPADDR: 3,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 4,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 5,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 6,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 7,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”

OK

AT+QMBNCFG="list"
+QMBNCFG: "List",0,1,1,"CDMAless-Verizon",0x0A010126,202209281
+QMBNCFG: "List",1,0,0,"FirstNet",0x0A015300,202206171
+QMBNCFG: "List",2,0,0,"ROW_Commercial",0x0A010809,202305221
+QMBNCFG: "List",3,0,0,"TEF_Spain_Commercial",0x0A010C00,202302071
+QMBNCFG: "List",4,0,0,"ROW_Generic_3GPP_PTCRB_GCF",0x0A01FF09,202205261
+QMBNCFG: "List",5,0,0,"Rogers_Canada",0x0A014800,202303141
+QMBNCFG: "List",6,0,0,"Bell_Canada",0x0A014700,202111051
+QMBNCFG: "List",7,0,0,"Telus_Canada",0x0A014900,202112271
+QMBNCFG: "List",8,0,0,"Commercial-Sprint",0x0A010204,202111051
+QMBNCFG: "List",9,0,0,"Commercial-TMO",0x0A01050F,202303091
+QMBNCFG: "List",10,0,0,"VoLTE-ATT",0x0A010335,202208211
+QMBNCFG: "List",11,0,0,"CDMAless_Private-Verizon",0x0A01FD28,202305082
+QMBNCFG: "List",12,0,0,"Telia_Sweden",0x0A012400,202111051
+QMBNCFG: "List",13,0,0,"TIM_Italy_Commercial",0x0A012B00,202111051
+QMBNCFG: "List",14,0,0,"France-Commercial-Orange",0x0A010B21,202111051
+QMBNCFG: "List",15,0,0,"Commercial-DT-VOLTE",0x0A011F1F,202206131
+QMBNCFG: "List",16,0,0,"Germany-VoLTE-Vodafone",0x0A010449,202111051
+QMBNCFG: "List",17,0,0,"UK-VoLTE-Vodafone",0x0A010426,202111051
+QMBNCFG: "List",18,0,0,"Commercial-EE",0x0A01220B,202111051
+QMBNCFG: "List",19,0,0,"Optus_Australia_Commercial",0x0A014400,202111051
+QMBNCFG: "List",20,0,0,"Telstra_Australia_Commercial",0x0A010F00,202304251
+QMBNCFG: "List",21,0,0,"Commercial-LGU",0x0A012608,202111051
+QMBNCFG: "List",22,0,0,"Commercial-KT",0x0A01280B,202304191
+QMBNCFG: "List",23,0,0,"Commercial-SKT",0x0A01270A,202111051
+QMBNCFG: "List",24,0,0,"Commercial-Reliance",0x0A011B0C,202210211
+QMBNCFG: "List",25,0,0,"Commercial-SBM",0x0A011C0B,202111051
+QMBNCFG: "List",26,0,0,"Commercial-KDDI",0x0A010709,202111051
+QMBNCFG: "List",27,0,0,"Commercial-DCM",0x0A010D0D,202208151
+QMBNCFG: "List",28,0,0,"VoLTE-CU",0x0A011561,202204211
+QMBNCFG: "List",29,0,0,"VoLTE_OPNMKT_CT",0x0A0113E0,202204211
+QMBNCFG: "List",30,0,0,"Volte_OpenMkt-Commercial-CMCC",0x0A012010,202212151

OK

+QLWURC: "dns","successfully",100

Is “vzwinternet” the APN you should use?

@jfrog no it is a static verizon data sim so i have it set to ne01.vzwstatic

Well, let’s try the following then:

AT+QMBNCFG="AutoSel",0
AT+QMBNCFG="Deactivate"
AT+CFUN=1,1

The modem will restart, so you will need to reconnect.

AT+CGDCONT=3,"IPV4V6","ne01.vzwstatic"
AT+CGACT=0,3
AT+CGACT=1,3
AT+CGDCONT?
AT+CGPADDR

@jfrog all the commands took munis AT+QMBNCFG=“Deactivate” “error”

still getting pin reject

+QLWURC: "pdp active","failed","ims"
AT+CGACT=1,3
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0
+CGDCONT: 3,"IPV4V6","ne01.vzwstatic","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

OK
AT+CGPADDR
+CGPADDR: 1,"10.128.179.255","38.0.16.1.241.4.223.90.0.0.0.85.93.119.201.1"
+CGPADDR: 2,"0.0.0.0","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0"
+CGPADDR: 3,"XXXXXXXXXXXXX"

that is the static address of this data sim though i just XXX it out

Anyway you now have your static (?) IP in context #3.
In OpenWrt you will need to use the same profile number.

@jfrog sorry but what does that mean openwrt same profile number. Sorry again but thanks for helping me along

You will need to use the same profile number (3) when setting up the interface in OpenWrt.

@jfrog sorry i dont see anything for profile in the interface for the modem

Please ask in OpenWrt forum.

Alternatively you can probably swap contexts 1 and 3 in CGDCONT then the context #1 will be used by default.

will do thanks for all your help

Does your pin start with 0 ?

Are you/openwrt are using quectel-CM ?
Because there is/was a bug where PINs that start with a leading zero don’t work. main.c atoi’s the pin and checks it is > 999 ) ;-(

Don’t ask me how I know.
Easiest work around is to pop the SIM in a phone and change/disable the pin.

@steely-glint

openwrt and confirmed no sim pin myself and with Verizon.