|
|
ppp.Dialers - PPP
dialer description file format
When pppd selects a line from Systems , it uses thespeed ' field to select an entry in Devices , from which it uses thedialer ' field to select an entry in Dialers . Pppd then interprets thechat script ' field from that dialer description. The `dialer ' field may also be the name of a binary dialer program.
Chat scripts areexpect send expect send...', orexpect-send-expect send...', where thesend' following the hyphen is executed if the preceding expect fails to match received text.
Certain special words may be used in the chat script to control the behavior of pppd as it attempts to dial. Both ABORT and TIMEOUT must be in theexpect' phase of the chat script.
The expect-send couplet of "" P_WORD sets the line parity accordingly:
In the midst of either anexpect' string or a `send ' string, ^x gets translated into the appropriate control character, and \x gets translated into x . Other special sequences are:
#
# Dialers - PPP dialers file
#
# Dialer Chat script
T1600 ABORT
NO
\sCARRIER ABORT NO\sDIALTONE ABORT BUSY \
ABORT
RRING
\r\n\r\nRRING\r\n\r\nRRING \
ABORT
ERROR TIMEOUT
5 "" AT OK-AT-OK \
ATS111=0DT\T TIMEOUT
30 CONNECT
#
T2500-PEP \
ABORT
NO
\sCARRIER ABORT NO\sDIALTONE ABORT BUSY \
ABORT
RRING
\r\n\r\nRRING\r\n\r\nRRING \
ABORT
ERROR TIMEOUT
5 "" AT OK-AT-OK \
ATS111=0DT\T TIMEOUT
30 CONNECT
\sFAST
#
USRv32bis \
ABORT
ERROR ABORT NO
\sANSWER ABORT NO\sCARRIER \
ABORT
BUSY ABORT RRING
\r\n\r\nRRING\r\n\r\nRRING \
ABORT
NO
\sDIAL\sTONE TIMEOUT
5 "" AT&F \
OK-ATQ0-OK ATB0E0X7&B1&H1&I0&K3&R2&S1 OK-AT-OK \
ATS01=1S02=255S19=0 OK-AT-OK ATDT\T TIMEOUT
30 \
CONNECT