Skip to content

Commit a6d9606

Browse files
committed
applications: serial_lte_modem: Use persist option on Linux PPP
When using Linux PPPD on a host device, use "persist" option so the PPP daemon keep the ppp link waiting for LCP configuration requrests in case SLM is not yet responding. This makes PPPD to tolerate network lost events, at least "AT+CFUN=4" followed by "AT+CFUN=1" works OK. Signed-off-by: Seppo Takalo <[email protected]>
1 parent ce37206 commit a6d9606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/serial_lte_modem/scripts/slm_start_ppp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ test -c $AT_CMUX
5757
chat $CHATOPT -t$TIMEOUT "" "AT+CFUN=1" "OK" "\c" "#XPPP: 1,0" >$AT_CMUX <$AT_CMUX
5858

5959
pppd $PPP_CMUX noauth novj nodeflate nobsdcomp debug noipdefault passive +ipv6 \
60-
noremoteip local linkname nrf91 defaultroute defaultroute-metric -1
60+
noremoteip local linkname nrf91 defaultroute defaultroute-metric -1 persist

0 commit comments

Comments
 (0)