RM520 IPCP: timeout sending Config-Requests

We are connecting with Autralia Telstra SIM with CHAP. CHAP appears to authenticate but we do not get any responses from IPCP configuration request. This appears to be a common problem on your forum, but solutions have been provided:

Serial connection established.
using channel 46
Using interface ppp0
Connect: ppp0 ↔ /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x8e37a67> ]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x9ca5388d> ]
sent [LCP ConfAck id=0xa <asyncmap 0x0> <magic 0x9ca5388d> ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x8e37a67> ]
sent [LCP EchoReq id=0x0 magic=0x8e37a67]
rcvd [LCP DiscReq id=0xb magic=0x9ca5388d]
rcvd [CHAP Challenge id=0x1 <3d31b5353ee894e52a49387dcafefcaf>, name = “UMTS_CHAP_SRVR”]
sent [CHAP Response id=0x1 <470c83caaee9500724e8544b02a9abb7>, name = “$LTE_USERNAME”]
rcvd [LCP EchoRep id=0x0 magic=0x9ca5388d 08 e3 7a 67]
rcvd [CHAP Success id=0x1 “”]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [LCP EchoReq id=0x1 magic=0x8e37a67]
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.

Could you provide the complete log?
Please check the AT command

AT+CGDCONT?
AT+CGREG?
AT+CEREG?
AT+C5GREG?
AT+QENG="servingcell"
AT+CGPADDR
AT+CGACT?
AT+QIACT?
A+QMAPWAC?

Complete log:

root@OpenWrt:~# pppd call quectel-ppp
pppd options in effect:
debug		# (from /etc/ppp/peers/quectel-ppp)
nodetach		# (from /etc/ppp/peers/quectel-ppp)
dump		# (from /etc/ppp/peers/quectel-ppp)
noauth		# (from /etc/ppp/peers/quectel-ppp)
name BCDITS06@scats.nsw		# (from /etc/ppp/options)
user $LTE_USERNAME		# (from /etc/ppp/peers/quectel-ppp)
password ??????		# (from /etc/ppp/peers/quectel-ppp)
remotename 3gppp		# (from /etc/ppp/peers/quectel-ppp)
/dev/ttyUSB3		# (from /etc/ppp/peers/quectel-ppp)
115200		# (from /etc/ppp/peers/quectel-ppp)
lock		# (from /etc/ppp/peers/quectel-ppp)
connect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-connect		# (from /etc/ppp/peers/quectel-ppp)
disconnect /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-disconnect		# (from /etc/ppp/peers/quectel-ppp)
crtscts		# (from /etc/ppp/peers/quectel-ppp)
local		# (from /etc/ppp/peers/quectel-ppp)
asyncmap 0		# (from /etc/ppp/options)
lcp-echo-failure 5		# (from /etc/ppp/options)
lcp-echo-interval 10		# (from /etc/ppp/options)
hide-password		# (from /etc/ppp/peers/quectel-ppp)
novj		# (from /etc/ppp/peers/quectel-ppp)
-vj		# (from /etc/ppp/options)
novjccomp		# (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-local		# (from /etc/ppp/peers/quectel-ppp)
ipcp-accept-remote		# (from /etc/ppp/peers/quectel-ppp)
ipparam 3gppp		# (from /etc/ppp/peers/quectel-ppp)
noipdefault		# (from /etc/ppp/peers/quectel-ppp)
ms-dns 8.8.8.8		# (from /etc/ppp/peers/quectel-ppp)
ms-dns 8.8.4.4		# (from /etc/ppp/peers/quectel-ppp)
ipcp-max-configure 10		# (from /etc/ppp/peers/quectel-ppp)
defaultroute		# (from /etc/ppp/peers/quectel-ppp)
noipv6		# (from /etc/ppp/options)
noccp		# (from /etc/ppp/peers/quectel-ppp)
abort on (BUSY)
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (ERROR)
abort on (NO ANSWER)
timeout set to 120 seconds
send (AT^M)
expect (OK)
^M^M
OK
 -- got it

send (ATE0^M)
expect (OK)
^M
AT^M^M
OK
 -- got it

send (ATI^M)
expect (OK)
^M
ATE0^M^M
OK
 -- got it

send (AT+CSQ^M)
expect (OK)
^M
^M
Quectel^M
RM520N-GL^M
Revision: RM520NGLAAR03A04M4GA^M
^M
OK
 -- got it

send (AT+CPIN?^M)
expect (OK)
^M
^M
+CSQ: 99,99^M
^M
OK
 -- got it

send (AT+COPS?^M)
expect (OK)
^M
^M
+CPIN: READY^M
^M
OK
 -- got it

send (AT+CGREG?^M)
expect (OK)
^M
^M
+COPS: 0^M
^M
OK
 -- got it

send (ATZ^M)
expect (OK)
^M
^M
+CGREG: 0,0^M
^M
OK
 -- got it

send (AT+CGDCONT=1,"IP","scats.nsw",,0,0^M)
expect (OK)
^M
^M
OK
 -- got it

send (ATDT*99#^M)
expect (CONNECT)
^M
AT+CGDCONT=1,"IP","scats.nsw",,0,0^M^M
OK^M
ATDT*99#^M^M
CONNECT
 -- got it

Script /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-connect finished (pid 3078), status = 0x0
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB3
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x864ffcde> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0xe01e7a1e> <pcomp> <accomp>]
sent [LCP ConfAck id=0x4 <asyncmap 0x0> <auth chap MD5> <magic 0xe01e7a1e> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x864ffcde> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x864ffcde]
rcvd [LCP DiscReq id=0x5 magic=0xe01e7a1e]
rcvd [CHAP Challenge id=0x1 <b0f28278892b8c223fc0af876243d769>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <fca86c5ba58356c1578f61f159804846>, name = "$LTE_USERNAME"]
rcvd [LCP EchoRep id=0x0 magic=0xe01e7a1e 86 4f fc de]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [LCP EchoReq id=0x1 magic=0x864ffcde]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [LCP EchoReq id=0x2 magic=0x864ffcde]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>]
sent [LCP EchoReq id=0x3 magic=0x864ffcde]
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)
\send (+++ATH^M)

Good bye
Script /usr/sbin/chat -E -s -v -f /etc/ppp/peers/quectel-chat-disconnect finished (pid 3100), status = 0x0
Serial link disconnected.
Modem hangup

Results of suggested AT commands the connection disconnected:

AT+CGDCONT?
+CGDCONT: 1,"IP","scats.nsw","0.0.0.0",0,0,0,0,,,,,,,,,"",,,,0

OK
AT+CGREG?
+CGREG: 0,0

OK
AT+CEREG?
+CEREG: 0,0

OK
AT+C5GREG?
+C5GREG: 0,2

OK
AT+QENG="servingcell"
+QENG: "servingcell","SEARCH"

OK
AT+CGPADDR
+CGPADDR: 1,"0.0.0.0"

OK
AT+CGACT?
+CGACT: 1,0

OK
AT+QIACT?
OK
AT+QMAPWAC?
+QMAPWAC: 0

OK

From the AT log you provided, it is not registered.
Please check whether it is a valid SIM card or whether APN is correct and whether antenna are connected.

The antenna are connected. We know this as we get to the pppd stage.

So what AT command command do I add to the quectel-chat-connect script to register?

My /etc/ppp/peers/quectel-chat-connect file:

ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
TIMEOUT 120
"" AT
OK ATE0
OK ATI
OK AT+CSQ
OK AT+CPIN?
OK AT+COPS?
OK AT+CGREG?
OK ATZ
# Connection to the network
# Set LTE_APN variable before executing chat -E ...
# Check with service provider for required details
OK AT+CGDCONT=1,"IP","$LTE_APN",,0,0
# Dial the number
OK ATDT*99#
CONNECT

(post deleted by author)

AT+CEREG?
AT+C5GREG?
Make sure that

AT+CEREG?
AT+C5GREG?
From any of the them, it should be registerred LTE or NR5G.
But from the AT log and the pppd log, it is not registerred.