United States-English |
|
|
HP-UX Reference > Pppp.Dialers(4)HP-UX 11i Version 3: February 2007 |
|
NAMEppp.Dialers — PPP dialer description file format DESCRIPTIONThe file /etc/ppp/Dialers describes how to dial each type of modem attached to the UNIX system that is to be made available for outbound PPP calls. pppd examines it when placing a call to a neighboring machine. When pppd selects a line from Systems, it uses the speed field to select an entry in Devices, from which it uses the dialer field to select an entry in Dialers. pppd then interprets the chat script field from that dialer description. FormatEntries are one to a line; blank lines are ignored. Comments begin with a # and extend to the end of the line. Upper/lower case distinctions in the dialer field are significant for matching purposes, as are strings in the chat script. Fields on a line are separated by horizontal white space (blanks or tabs). If a chat script ends with a backslash (\), 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:
Chat Script ParticularsA 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 remote end to send, then a field to send in response. Unless a send string ends with \c, pppd will follow it by sending a carriage return character (ASCII 0x0d). Chat scripts are expect send expect send ... or expect-send-expect send ..., where the send 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 the expect phase of the chat script.
The expect-send couplet of '" ' P_WORD sets the line parity accordingly:
In the midst of either an expect string or a send string, ^x gets translated into the appropriate control character, and \x gets translated into x. Other special sequences are:
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 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, |
Printable version | ||
|