ppphosts(4) — FILE FORMATS
NAME
ppphosts − Point-to-Point Protocol Host name database
SYNOPSIS
/etc/inet/ppphosts
DESCRIPTION
The /etc/inet/ppphosts file contains information about known PPP hosts. This file contains a single-line entry for each PPP host with the following information:
Remote host name or alias
Inactivity timeout in minutes (optional, default = “forever”)
Tty name for direct connection (optional)
Uucp system name for this remote host
Timeout per PPP protocol request (optional, default = 10 seconds)
Maximum number of retries per PPP protocol request (optional, default = 3)
These data items should be separated by “white space”. A ‘#’ indicates the beginning of a comment; characters appearing after ‘#’ are ignored.
This file should be created and maintained by the Network Administrator. These guidelines should be followed in creating /etc/inet/ppphosts:
The host name should have a corresponding entry in /etc/hosts [see hosts(4)]
Optional parameters may be defaulted by using the ‘−’ place-holder
The tty name (if other than ‘−’) should have a corresponding entry in /usr/lib/uucp/Devices
The uucp system name should have a corresponding entry in /usr/lib/uucp/Systems
The contents of this file will be used by the pppd daemon [see pppd(1M)].
EXAMPLES
Example 1 − Typical /usr/inet/ppphosts File
| # | |||||
| # | Inactivity | Tty name | UUCP | ACK | |
| #Host | timeout | (direct | system | timeout | ACK |
| #name | (minutes) | connect) | name | (seconds) | retries |
| # | |||||
| homer_ppp | 5 | − | homer | ||
| bart_ppp | − | tty01 | bart | − | 5 |
The guidelines shown in Network File System Administration, show how typical data in the /etc/inet/ppphosts, /usr/lib/uucp/Systems, and /usr/lib/uucp/Devices files could be used for reaching a PPP host.
Example 2 − A Direct Line between PPP Hosts
ppphosts:bart_ppp 5 tty01 bart
hosts:128.2.129.2 bart_ppp
Devices:Direct tty01 − 9600 direct
Systems:bart Any Direct 9600 − login:
Password:PPP_password
The special user_name nppp will initiate the remote login session; also note that following four network-dependent data items in the above table entries must match: bart_ppp, bart, tty01, and Direct. Example 3 − A Dial-up Line between PPP Hosts
ppphosts:homer_ppp 5 − homer
hosts:28.2.129.5 homer_ppp
Systems:homer Any ACU 2400 555-1234 login: nppp
Password:PPP_password
USER CONSIDERATIONS
The Network Administrator should ensure consistent entries in the /etc/inet/ppphosts , /usr/lib/uucp/Systems , and /usr/lib/uucp/Devices for the PPP hosts. The remote login request needs to specify \f4nppp as its user_name. PPP creates /usr/lib/ppp/named_ppp with uid nppp. The remote login must use this uid to communicate through the named pipe to pppd.
FILES
/etc/hosts
/etc/inet/ppphosts
/usr/lib/uucp/Systems
/usr/lib/uucp/Devices