1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/apps/public/ppp-2.4.5/ppp_connect
2024-07-22 01:58:46 -03:00

19 lines
486 B
Bash
Executable File

#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec /userfs/bin/chat \
ABORT 'NO CARRIER' \
'' 'AT' \
'OK' 'AT+CPIN=0000' \
'' 'AT+CFUN=1' \
'OK' 'AT+CGDCONT=1,"IP","3gnet",,0,0' \
'OK' 'AT' \
'OK' 'AT&FE0V1X1&D2&C1S0=0' \
'OK' 'AT' \
'OK' 'ATS0=0' \
'OK' 'AT' \
'OK' 'ATDT*99#' \
'CONNECT'