|
|
ppp.Systems
- PPP
neighboring systems description file format
Examples:
MoTuTh0800-1740.
Wk0800-1230, (same as MoTuWeThFr)
Any0900-1700, (same as SuMoTuWeThFrSa).
Multiple date specifications are separated by a vertical bar (|). This example means that means that the system can be called any day between 1 AM and 6 AM or any time on Saturday and Sunday.
Example:
Any0100-0600|Sa|Su
The entire sequence of days and times may be followed by a semicolon and up to three decimal numbers separated by hyphens as described in the table below:
For example, Any;60 means call any time, but wait at least 60 seconds after a failure has occurred before trying to call again.
If a call retry fails, pppd doubles the delay before trying again. If no initial retry delay is specified, 10 seconds is assumed.
If no maximum retry delay is specified, 3600 seconds is assumed.
The default is not to delay before calling back.
If set to the name of a device in the /dev directory (tty00, cua, etc.), there may be an optional corresponding Direct entry in Devices , Dialers will not be consulted, and only the Systems chat script will be executed.
If set to `tcp', it must be followed by a slash, then the hostname or IP address of the system that will serve as the destination of the PPP link, then another slash, then the socket number on which to contact the remote PP daemon.
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 the "expect" phase of the chat script.
The expect-send couplet of "" P_WORD sets the line parity accordingly:
The backquote character (`) surrounds the name of a program that is to be run before proceeding. If the program is run in the `send ` phase of a chat script couplet, its standard output will be sent to the peer when the program exits. Chat script processing continues when the program exits.
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:
In the example below:
Your retry intervals and maximum backoff values for `everyone' and `nobody' are the default `10-3600'.
The notation "" "" means to expect nothing, then send
nothing, followed by a carriage return. The implicit carriage return is often useful for eliciting a response from a remote system.
#
# Systems
- PPP
systems file
#
everyone Any ACU
19200-PEP 5551212 in:--in: Pwe word: \
qfoObar
nobody Any ACU
38400 5551213 in:--in: Pthey word: \
qbaZz1ng
someone Any;2-40 cua 38400 0 in:--in: Pthem word: \qmeumBle
anyone Any rsd0a/0 1536000
pseudo-one Any;2-2 tcp/realone.somewhere.com/57