ppp.Dialers(4)ppp.Dialers(4)NAMEppp.Dialers - PPP dialer description file format
DESCRIPTION
The file describes how to dial each type of modem attached to the UNIX
system that is to be made available for outbound PPP calls. examines
it when placing a call to a neighboring machine.
When selects a line from it uses the field to select an entry in from
which it uses the field to select an entry in then interprets the field
from that dialer description.
Format
Entries are one to a line; blank lines are ignored. Comments begin
with a and extend to the end of the line. Upper/lower case distinc‐
tions in the dialer field are significant for matching purposes, as are
strings in the chat script. Fields on a line are separated by horizon‐
tal white space (blanks or tabs). If a chat script ends with a back‐
slash the next line is considered a continuation of the chat script.
Continuations may only occur in the midst of a chat script.
Each entry must contain these fields, in this order:
dialer The name of this dialer, to be matched against the dialer
field in
chat-script A description of the conversation that holds with the
modem.
Chat Script Particulars
A chat script takes the form of a space-separated list of expect-send
pairs. Each pair consists (at minimum) of a field to expect the end to
send, then a field to send in response. Unless a string ends with will
follow it by sending a carriage return character (ASCII 0x0d).
Chat scripts are or where the following the hyphen is executed if the
preceding fails to match received text.
Certain special words may be used in the chat script to control the
behavior of as it attempts to dial. Both ABORT and TIMEOUT must be in
the phase of the chat script.
If sees abort-string while executing the
remainder of the chat script, abort the
dialing attempt and note the failure in
the log file.
While executing the current chat script, wait timeout-time
seconds for a response before consider‐
ing the dialing attempt to have timed
out. Writes have a fixed 60-second
timeout.
The expect-send couplet of 'sets the line parity accordingly:
Set transmission parity based on the parity observed in charac‐
ters
received in strings. This is the default.
Transmit characters with the parity bit set to zero (8 bits, no
parity).
Transmit characters with the parity bit set to one.
Transmit characters with even parity.
Transmit characters with odd parity.
In the midst of either an string or a string, gets translated into the
appropriate control character, and gets translated into x. Other spe‐
cial sequences are:
Send or receive a space character (ASCII 0x20).
Send or receive a horizontal tab character (ASCII 0x09).
Send or receive a line feed character (ASCII 0x0a).
Send or receive a carriage return character (ASCII 0x0d).
Send or receive a backslash character (ASCII 0x5c).
Send or receive a carat character (ASCII 0x5e).
Send or receive the single character Ctrl-character (ASCII 0x00
through 0x1f).
Send or receive a character, specified in octal digits.
Pause for .25 second before proceeding (send only).
Delay for two seconds before proceeding (send only).
Send a break (.25 second of zero bits).
Disable hangups (sets CLOCAL or LNOHANG).
enable hangups (unsets CLOCAL or LNOHANG) (the default).
Don't append a carriage return character after sending the pre‐
ceding string (send only).
Don't print succeeding send strings (e.g., a password) in any
debugging or logging output. Subsequent sequences
toggle mode.
Insert the telephone number (found in the fifth field of
here.
EXAMPLES
#
# 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
AUTHOR
was developed by the Progressive Systems.
SEE ALSOpppd(1), ppp.Auth(4), ppp.Devices(4), ppp.Filter(4), ppp.Keys(4),
ppp.Systems(4).
RFC 1055. RFC 1144, RFC 1332, RFC 1548,
ppp.Dialers(4)