pppconnect:
---------------------------------------------------------------------
TIMEOUT 5
#ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' \rAT
TIMEOUT 12
SAY "Press CTRL-C to close the connection at any stage!"
SAY "\nSetting up...\n"
OK ATH
OK "AT&D2&C1"
OK AT+CMEE=1
SAY "\ndefining PDP context...\n"
OK 'ATE1+CGDCONT=1,"IP","internet.mts.ru"'
OK ATD*99**1*1#
TIMEOUT 22
SAY "\nwaiting for connect...\n"
CONNECT ""
SAY "\nConnected."
SAY "\nIf the following ppp negotiations fail,\n"
SAY "try restarting the phone.\n"
---------------------------------------------------------------------
pppdisconnect:
---------------------------------------------------------------------
ABORT "BUSY"
ABORT "ERROR"
ABORT "NO DIALTONE"
SAY "\nSending break to the modem\n"
"" "\K"
"" "+++ATH"
SAY "\nPDP context detached\n"
---------------------------------------------------------------------
pppoptions:
---------------------------------------------------------------------
lcp-echo-failure 0
lcp-echo-interval 0
/dev/rfcomm0
115200
:10.10.10.10
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
nodeflate
noauth
user "mts"
receive-all
nolog
nomppe
---------------------------------------------------------------------