Issue:
Hello all, yesterday I’ve installed succesfully my RAK2013 on my RPi 3B+.
Today I wanted to make it work on my RPi4. I’ve installed the rak2013_for_rpi sucessfully.
I’ve set the APN according to my SIM configuration, which is ‘internet’.
The module is not working as expected. I don’t see ppp0 interface showing up.
Here is the output :
[email protected]:~ $ sudo pppd call gprs
pppd options in effect:
debug # (from /etc/ppp/peers/gprs)
nodetach # (from /etc/ppp/peers/gprs)
dump # (from /etc/ppp/peers/gprs)
noauth # (from /etc/ppp/peers/gprs)
remotename 3gppp # (from /etc/ppp/peers/gprs)
/dev/ttyAMA0 # (from /etc/ppp/peers/gprs)
115200 # (from /etc/ppp/peers/gprs)
lock # (from /etc/ppp/peers/gprs)
connect chat -s -v -f /etc/chatscripts/quectel-chat-connect -T internet # (from /etc/ppp/peers/gprs)
disconnect chat -s -v -f /etc/chatscripts/quectel-chat-disconnect # (from /etc/ppp/peers/gprs)
nocrtscts # (from /etc/ppp/peers/gprs)
modem # (from /etc/ppp/peers/gprs)
asyncmap 0 # (from /etc/ppp/options)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
hide-password # (from /etc/ppp/peers/gprs)
novj # (from /etc/ppp/peers/gprs)
novjccomp # (from /etc/ppp/peers/gprs)
ipcp-accept-local # (from /etc/ppp/peers/gprs)
ipcp-accept-remote # (from /etc/ppp/peers/gprs)
ipparam 3gppp # (from /etc/ppp/peers/gprs)
noipdefault # (from /etc/ppp/peers/gprs)
ipcp-max-failure 30 # (from /etc/ppp/peers/gprs)
defaultroute # (from /etc/ppp/peers/gprs)
usepeerdns # (from /etc/ppp/peers/gprs)
noccp # (from /etc/ppp/peers/gprs)
noipx # (from /etc/ppp/options)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 30 seconds
send (AT^M)
expect (OK)
^M
OK
– got it
send (ATE0^M)
expect (OK)
^M
^M
OK
– got itsend (ATI;+CSUB;+CSQ;+COPS?;+CGREG?;&D2^M) expect (OK) ^M ^M Quectel^M BG96^M Revision: BG96MAR02A07M1G^M ^M SubEdition: V08^M ^M +CSQ: 99,99^M ^M +COPS: 0^M ^M +CGREG: 0,4^M ^M OK -- got it send (AT+CGDCONT=1,"IP","internet",,0,0^M) expect (OK) ^M ^M OK -- got it send (ATD*99#^M) expect (CONNECT) ^M ^M CONNECT -- got it Script chat -s -v -f /etc/chatscripts/quectel-chat-connect -T internet finished (pid 1346), status = 0x0 Serial connection established. using channel 4 Using interface ppp0 Connect: ppp0 <--> /dev/ttyAMA0 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x613ad4d7> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <auth chap MD5> <magic 0xd08a569f> <pcomp> <accomp>] No auth is possible sent [LCP ConfRej id=0x9 <auth chap MD5>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x613ad4d7> <pcomp> <accomp>] rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0xd08a569f> <pcomp> <accomp>] sent [LCP ConfAck id=0xa <asyncmap 0x0> <magic 0xd08a569f> <pcomp> <accomp>] sent [LCP EchoReq id=0x0 magic=0x613ad4d7] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] rcvd [LCP DiscReq id=0xb magic=0xd08a569f] rcvd [LCP EchoRep id=0x0 magic=0xd08a569f 61 3a d4 d7] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] sent [LCP EchoReq id=0x1 magic=0x613ad4d7] IPCP: timeout sending Config-Requests sent [LCP TermReq id=0x2 "No network protocols running"] sent [LCP TermReq id=0x3 "No network protocols running"] Connection terminated. abort on (ERROR) abort on (NO DIALTONE) unterminated quote (line 4) Script chat -s -v -f /etc/chatscripts/quectel-chat-disconnect finished (pid 1379), status = 0x1 disconnect script failed Modem hangup
Any idea why it doesn’t keep the connection ?
Thanks