Hi All,
I need help with a chat script to attach an RG200U modem to a 5G SA network.
I am using Airtel and Jio SIMs.
With 4G/LTE, the connection works perfectly.
However, when switching to 5G SA, the connection does not work as expected.
Current Behavior
- The modem appears to attach to the network.
AT+C5REG?shows NOCONN, indicating network registration.- However, no IP address is assigned, and
AT+CGDCONT?does not show any IP. - PPP never comes up successfully on 5G, while the same setup works fine on 4G.
Chat Script Used
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 10
"" "AT&F"
OK "ATE1"
OK 'AT+QNWPREFCFG="all_band_reset"'
OK 'AT+QNWPREFCFG="mode_pref",$MODE_PREF'
OK 'AT+QNWPREFCFG="lte_band",$LTE_BAND'
OK 'AT+QNWPREFCFG="nr5g_band",$NR5G_BAND'
OK 'AT+CGDCONT=1,"$PDP_CONTEXT","$USE_APN"'
SAY "Configuring 5G data (RG200U)"
TIMEOUT 30
OK "AT+CGATT=1"
OK "AT+CGACT=1,1"
OK "AT+CGDATA="PPP",1"
CONNECT ' '
PPP Command
connect="${apn:+USE_APN=$apn }DIALNUMBER=$dialnumber PDP_CONTEXT=$pdp_context MODE_PREF=$MODE_PREF LTE_BAND=$LTE_BAND NR5G_BAND=$NR5G_BAND /usr/sbin/chat -t5 -v -E -f $chat" \
ppp_generic_setup "$interface" \
noaccomp nopcomp novj nobsdcomp noauth \
set EXTENDPREFIX=1 lock crtscts 115200 "$device" return 0
Any guidance, sample chat scripts, or known working configurations for RG200U + 5G SA would be greatly appreciated.
Thanks in advance.