When I finally got hold of a coupe of IOT enabled SIM cards (without PIN), this morning I started to explore PPP connection over NB-IOT/CAT-M using the Knot (Quectel BG77).
Operator is Norwegian Telenor. ROS version is 7.5.
First it wouldn't connect but then after some fiddling I managed to establish a PPP connection. It appeared to be rather solid, i disabled and enabled the PPP interface many times and it re-connected instantly and achieved IP address and default route. Pinging the Google DNS (or something else remote) was consistent.
Then I deactivated the PPP and played around with GNSS a little, tested a script that reads LAT/LON and so on.
After deactivating GPS and re-activating the PPP I was unable to get it working again.
Tested with AT+CSQ that signal strength was sufficient and AT+COPS=? showed the operators avaialble here.
When enabling "Dial on demand" it looks like it establishes a connection and adds an IP address for a fraction of a second, then it disappears.
When deactivating "Dial on demand" it never connects.
I have tried to remove and apply power, factory reset with and without defcfg, but no use.
Funny thing is that resetting using power button while applying power loads a different and much smaller config than with /system reset-configuration, the latter applies a "full featured" config with firewall and everything.
But neither makes the PPP work...
I also swapped SIM card to another one, same problem.
Init string is just default AT+QGPSCFG="priority",1
Telenor told me APN is "telenor.iot", I tried that as well as default "internet" and leaving the field blank, same result.
During my initial tests (which worked), APN was "internet"
Below is log output using "empty" config, just enabled the PPP interface and cleared "Dial on demand"
Anyone that can help me out?
Code: Select all
00:05:08 async,ppp,info ppp-out1: initializing...
00:05:08 async,ppp,debug ppp-out1: IPCP demandUp
00:05:08 async,ppp,debug ppp-out1: IPV6CP demandUp
00:05:08 async,ppp,debug ppp-out1: MPLSCP demandUp
00:05:08 async,ppp,info ppp-out1: waiting for packets...
00:05:08 async,ppp,info ppp-out1: connecting...
00:05:09 async,debug modem:2: sent ATH
00:05:09 async,debug modem:2: rcvd OK
00:05:09 async,ppp,info ppp-out1: initializing modem...
00:05:09 async,debug modem:2: sent AT+QGPSCFG="priority",1
00:05:09 async,debug modem:2: rcvd OK
00:05:09 async,ppp,info ppp-out1: dialing out...
00:05:09 async,debug modem:2: sent AT+CGDCONT=1,"IP","internet"
00:05:09 async,debug modem:2: rcvd OK
00:05:09 async,debug modem:2: sent ATDT*99***1#
00:05:09 async,debug modem:2: rcvd CONNECT
00:05:09 async,ppp,debug ppp-out1: LCP lowerup
00:05:09 async,ppp,debug,packet ppp-out1: sent LCP ConfReq id=0xe
00:05:09 async,ppp,debug,packet <magic 0x33be447e>
00:05:09 async,ppp,debug,packet <pcomp>
00:05:09 async,ppp,debug,packet <accomp>
00:05:09 async,ppp,debug ppp-out1: LCP open
00:05:09 async,ppp,debug ppp-out1: PPP received non-LCP packet (0x21) when LCP not open
00:05:09 async,ppp,debug,packet ppp-out1: rcvd LCP ConfReq id=0x27
00:05:09 async,ppp,debug,packet <asyncmap 0x0>
00:05:09 async,ppp,debug,packet <magic 0xd00f11a3>
00:05:09 async,ppp,debug,packet <pcomp>
00:05:09 async,ppp,debug,packet <accomp>
00:05:09 async,ppp,debug,packet <auth chap>
00:05:09 async,ppp,debug,packet ppp-out1: sent LCP ConfAck id=0x27
00:05:09 async,ppp,debug,packet <asyncmap 0x0>
00:05:09 async,ppp,debug,packet <magic 0xd00f11a3>
00:05:09 async,ppp,debug,packet <pcomp>
00:05:09 async,ppp,debug,packet <accomp>
00:05:09 async,ppp,debug,packet <auth chap>
00:05:09 async,ppp,debug,packet ppp-out1: rcvd LCP ConfAck id=0xe
00:05:09 async,ppp,debug,packet <magic 0x33be447e>
00:05:09 async,ppp,debug,packet <pcomp>
00:05:09 async,ppp,debug,packet <accomp>
00:05:09 async,ppp,debug ppp-out1: LCP opened
00:05:09 async,ppp,debug,packet ppp-out1: rcvd LCP DiscReq id=0x28
00:05:09 async,ppp,debug,packet <magic 0xd00f11a3>
00:05:09 async,ppp,debug,packet ppp-out1: rcvd CHAP Challenge id=0x1
00:05:09 async,ppp,debug,packet <challenge len=16>
00:05:09 async,ppp,debug,packet <name UMTS_CHAP_SRVR>
00:05:09 async,ppp,debug,packet ppp-out1: sent CHAP Response id=0x1
00:05:09 async,ppp,debug,packet <response len=16>
00:05:09 async,ppp,debug,packet ppp-out1: rcvd CHAP Success id=0x1
00:05:09 async,ppp,info ppp-out1: authenticated
00:05:09 async,ppp,debug ppp-out1: IPCP lowerup
00:05:09 async,ppp,debug ppp-out1: IPCP open
00:05:09 async,ppp,debug,packet ppp-out1: sent IPCP ConfReq id=0xe
00:05:09 async,ppp,debug,packet <addr 0.0.0.0>
00:05:09 async,ppp,debug,packet <ms-dns 0.0.0.0>
00:05:09 async,ppp,debug,packet <ms-dns 0.0.0.0>
00:05:09 async,ppp,debug ppp-out1: IPV6CP lowerup
00:05:09 async,ppp,debug ppp-out1: IPV6CP open
00:05:09 async,ppp,debug,packet ppp-out1: sent IPV6CP ConfReq id=0xe
00:05:09 async,ppp,debug,packet <interface-identifier 0:0:0:4>
00:05:09 async,ppp,debug ppp-out1: MPLSCP lowerup
00:05:09 async,ppp,debug ppp-out1: MPLSCP open
00:05:09 async,ppp,debug,packet ppp-out1: sent MPLSCP ConfReq id=0xe
00:05:09 async,ppp,debug ppp-out1: BCP open
00:05:09 async,ppp,debug ppp-out1: CCP lowerup
00:05:09 async,ppp,debug ppp-out1: CCP open
00:05:09 async,ppp,debug,packet ppp-out1: rcvd LCP TermReq id=0x29
00:05:09 async,ppp,debug ppp-out1: LCP closed
00:05:09 async,ppp,debug ppp-out1: CCP lowerdown
00:05:09 async,ppp,debug ppp-out1: BCP lowerdown
00:05:09 async,ppp,debug ppp-out1: BCP down event in starting state
00:05:09 async,ppp,debug ppp-out1: IPCP lowerdown
00:05:09 async,ppp,debug ppp-out1: IPV6CP lowerdown
00:05:09 async,ppp,debug ppp-out1: MPLSCP lowerdown
00:05:09 async,ppp,debug,packet ppp-out1: sent LCP TermAck id=0x29
00:05:09 async,ppp,debug ppp-out1: LCP lowerdown
00:05:09 async,ppp,debug ppp-out1: CCP close
00:05:09 async,ppp,debug ppp-out1: BCP close
00:05:09 async,ppp,debug ppp-out1: IPCP close
00:05:09 async,ppp,debug ppp-out1: IPV6CP close
00:05:09 async,ppp,debug ppp-out1: MPLSCP close
00:05:09 async,ppp,info ppp-out1: terminating...
00:05:09 async,ppp,debug ppp-out1: LCP lowerdown
00:05:09 async,ppp,debug ppp-out1: LCP down event in starting state
00:05:09 async,ppp,info ppp-out1: disconnected
00:05:16 system,info,account user admin logged in via local
00:05:19 async,ppp,info ppp-out1: initializing...
00:05:19 async,ppp,debug ppp-out1: IPCP demandUp
00:05:19 async,ppp,debug ppp-out1: IPV6CP demandUp
00:05:19 async,ppp,debug ppp-out1: MPLSCP demandUp
00:05:19 async,ppp,info ppp-out1: waiting for packets...
00:05:20 async,ppp,info ppp-out1: connecting...
00:05:21 async,debug modem:2: sent ATH
00:05:21 async,debug modem:2: rcvd OK
00:05:21 async,ppp,info ppp-out1: initializing modem...
00:05:21 async,debug modem:2: sent AT+QGPSCFG="priority",1
00:05:21 async,debug modem:2: rcvd OK
00:05:21 async,ppp,info ppp-out1: dialing out...
00:05:21 async,debug modem:2: sent AT+CGDCONT=1,"IP","internet"
00:05:21 async,debug modem:2: rcvd OK
00:05:21 async,debug modem:2: sent ATDT*99***1#
00:05:21 async,debug modem:2: rcvd CONNECT
00:05:21 async,ppp,debug ppp-out1: LCP lowerup
00:05:21 async,ppp,debug,packet ppp-out1: sent LCP ConfReq id=0xf
00:05:21 async,ppp,debug,packet <magic 0x2f53602d>
00:05:21 async,ppp,debug,packet <pcomp>
00:05:21 async,ppp,debug,packet <accomp>
00:05:21 async,ppp,debug ppp-out1: LCP open
00:05:21 async,ppp,debug ppp-out1: PPP received non-LCP packet (0x21) when LCP not open
00:05:21 async,ppp,debug,packet ppp-out1: rcvd LCP ConfReq id=0x2a
00:05:21 async,ppp,debug,packet <asyncmap 0x0>
00:05:21 async,ppp,debug,packet <magic 0xd00f3ee0>
00:05:21 async,ppp,debug,packet <pcomp>
00:05:21 async,ppp,debug,packet <accomp>
00:05:21 async,ppp,debug,packet <auth chap>
00:05:21 async,ppp,debug,packet ppp-out1: sent LCP ConfAck id=0x2a
00:05:21 async,ppp,debug,packet <asyncmap 0x0>
00:05:21 async,ppp,debug,packet <magic 0xd00f3ee0>
00:05:21 async,ppp,debug,packet <pcomp>
00:05:21 async,ppp,debug,packet <accomp>
00:05:21 async,ppp,debug,packet <auth chap>
00:05:21 async,ppp,debug,packet ppp-out1: rcvd LCP ConfAck id=0xf
00:05:21 async,ppp,debug,packet <magic 0x2f53602d>
00:05:21 async,ppp,debug,packet <pcomp>
00:05:21 async,ppp,debug,packet <accomp>
00:05:21 async,ppp,debug ppp-out1: LCP opened
00:05:21 async,ppp,debug,packet ppp-out1: rcvd LCP DiscReq id=0x2b
00:05:21 async,ppp,debug,packet <magic 0xd00f3ee0>
00:05:21 async,ppp,debug,packet ppp-out1: rcvd CHAP Challenge id=0x1
00:05:21 async,ppp,debug,packet <challenge len=16>
00:05:21 async,ppp,debug,packet <name UMTS_CHAP_SRVR>
00:05:21 async,ppp,debug,packet ppp-out1: sent CHAP Response id=0x1
00:05:21 async,ppp,debug,packet <response len=16>
00:05:21 async,ppp,debug,packet ppp-out1: rcvd CHAP Success id=0x1
00:05:21 async,ppp,info ppp-out1: authenticated
00:05:21 async,ppp,debug ppp-out1: IPCP lowerup
00:05:21 async,ppp,debug ppp-out1: IPCP open
00:05:21 async,ppp,debug,packet ppp-out1: sent IPCP ConfReq id=0xf
00:05:21 async,ppp,debug,packet <addr 0.0.0.0>
00:05:21 async,ppp,debug,packet <ms-dns 0.0.0.0>
00:05:21 async,ppp,debug,packet <ms-dns 0.0.0.0>
00:05:21 async,ppp,debug ppp-out1: IPV6CP lowerup
00:05:21 async,ppp,debug ppp-out1: IPV6CP open
00:05:21 async,ppp,debug,packet ppp-out1: sent IPV6CP ConfReq id=0xf
00:05:21 async,ppp,debug,packet <interface-identifier 0:0:0:4>
00:05:21 async,ppp,debug ppp-out1: MPLSCP lowerup
00:05:21 async,ppp,debug ppp-out1: MPLSCP open
00:05:21 async,ppp,debug,packet ppp-out1: sent MPLSCP ConfReq id=0xf
00:05:21 async,ppp,debug ppp-out1: BCP open
00:05:21 async,ppp,debug ppp-out1: CCP lowerup
00:05:21 async,ppp,debug ppp-out1: CCP open
00:05:21 async,ppp,debug,packet ppp-out1: rcvd LCP TermReq id=0x2c
00:05:21 async,ppp,debug ppp-out1: LCP closed
00:05:21 async,ppp,debug ppp-out1: CCP lowerdown
00:05:21 async,ppp,debug ppp-out1: BCP lowerdown
00:05:21 async,ppp,debug ppp-out1: BCP down event in starting state
00:05:21 async,ppp,debug ppp-out1: IPCP lowerdown
00:05:21 async,ppp,debug ppp-out1: IPV6CP lowerdown
00:05:21 async,ppp,debug ppp-out1: MPLSCP lowerdown
00:05:21 async,ppp,debug,packet ppp-out1: sent LCP TermAck id=0x2c
00:05:21 async,ppp,debug ppp-out1: LCP lowerdown
00:05:21 async,ppp,debug ppp-out1: CCP close
00:05:21 async,ppp,debug ppp-out1: BCP close
00:05:21 async,ppp,debug ppp-out1: IPCP close
00:05:21 async,ppp,debug ppp-out1: IPV6CP close
00:05:21 async,ppp,debug ppp-out1: MPLSCP close
00:05:21 async,ppp,info ppp-out1: terminating...
00:05:21 async,ppp,debug ppp-out1: LCP lowerdown
00:05:21 async,ppp,debug ppp-out1: LCP down event in starting state
00:05:21 async,ppp,info ppp-out1: disconnected