My cell modem refuses to cooperate with IPCP config requests, causing PPP to fail. Essentially, after connecting to the network successfully, PPPD does this until it exists on config timeout:
Thu Jul 20 18:50:36 2023 daemon.debug pppd[27848]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Thu Jul 20 18:50:36 2023 daemon.debug pppd[27848]: rcvd [LCP DiscReq id=0x1 magic=0xb3b71534]
Thu Jul 20 18:50:36 2023 daemon.debug pppd[27848]: rcvd [LCP EchoRep id=0x0 magic=0xb3b71534 44 87 c2 7d]
Thu Jul 20 18:50:36 2023 daemon.debug pppd[27848]: sent [LCP EchoReq id=0x1 magic=0x4487c27d]
Thu Jul 20 18:50:36 2023 daemon.debug pppd[27848]: rcvd [LCP EchoRep id=0x1 magic=0xb3b71534 44 87 c2 7d]
Thu Jul 20 18:50:37 2023 daemon.debug pppd[27848]: sent [LCP EchoReq id=0x2 magic=0x4487c27d]
Thu Jul 20 18:50:37 2023 daemon.debug pppd[27848]: rcvd [LCP EchoRep id=0x2 magic=0xb3b71534 44 87 c2 7d]
Thu Jul 20 18:50:38 2023 daemon.debug pppd[27848]: sent [LCP EchoReq id=0x3 magic=0x4487c27d]
Thu Jul 20 18:50:38 2023 daemon.debug pppd[27848]: rcvd [LCP EchoRep id=0x3 magic=0xb3b71534 44 87 c2 7d]
Thu Jul 20 18:50:39 2023 daemon.debug pppd[27848]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
I’ve seen a similar issue brought up before on this site, going unanswered.
I’m trying to establish a data session on the BG95 modem, and I successfully establish the data channel via. ATD*99#.
During the PPP negoation though, the peer (modem) appears to terminate the link…I’m not sure why?
I see the following in the pppd log:
using channel 0
Using interface ppp0
Connect: ppp0 <–> /dev/qcser3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x9b0d490c>]
rcvd [LCP ConfReq id=0xc <asyncmap 0x0> <magic 0xd6e9bffb> ]
No auth is possible
sent [LCP ConfRej id=0xc ] …
Hi,
I use a BG96 and want to setup PPPoS. The deivce communicating with the BG96 is a ESP32 microcontroller.
ESP32 set the BG96 in PPP mode with AT command ATD*99#.
This is the log on ESP32 side:
ppp phase changed[1]: phase=0
ppp_connect[1]: holdoff=0
ppp phase changed[1]: phase=3
pppos_connect: unit 1: connecting
ppp_start[1]
ppp phase changed[1]: phase=6
pppos_send_config[1]: out_accm=FF FF FF FF
ppp_send_config[1]
pppos_recv_config[1]: in_accm=FF FF FF FF
ppp_recv_config[1]
ppp:…
Hi @Max_Arena
Sorry for the late response.
Is possible to check AT+CEREG? / AT+QCSQ / AT+QENG=“servingcell” commands after Connection terminated?
Yes, I got this:
AT+CEREG?
+CEREG: 0,2
OK
AT+QCSQ
+QCSQ: "NOSERVICE"
OK
AT+QENG="servingcell"
+QENG: "servingcell","SEARCH"
Usually we get service fine and cereg returns 0,5. Then IPCPv6 negotiation fails, the modem either sends the DiscReq or stops responding.
Also, I found that I can’t activate the PDP session:
AT+CGACT?
+CGACT: 1,0
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","super","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0
OK
AT+CGACT=1,1
ERROR