repo.or.cz
/
mpls-ppp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
patch for sync support from Paul Fulghum
[mpls-ppp.git]
/
scripts
/
ppp-on-dialer
blob
7d66765f1bb613185cb3f06c3449148f557a99f8
1
#!/bin/sh
2
#
3
# This is part 2 of the ppp-on script. It will perform the connection
4
# protocol for the desired connection.
5
#
6
exec
chat
-v
\
7
TIMEOUT
3
\
8
ABORT
'
\n
BUSY
\r
'
\
9
ABORT
'
\n
NO ANSWER
\r
'
\
10
ABORT
'
\n
RINGING
\r\n\r\n
RINGING
\r
'
\
11
''
\r
AT \
12
'OK-+++\c-OK'
ATH0 \
13
TIMEOUT
30
\
14
OK ATDT
$TELEPHONE
\
15
CONNECT
''
\
16
ogin
:
--ogin
:
$ACCOUNT
\
17
assword
:
$PASSWORD