Installing and Administering PPP

24 Chapter 2
Setting Up PPP Connections
Configuration Overview
Configuration Overview
A pppd process on a local system negotiates with the pppd process on a
remote or peer system to establish the PPP connection. The following
files are used for PPP connections:
/etc/ppp/Autostart starts pppd for on-demand outbound calls.
/etc/ppp/Systems contains the hostname or IP address of peers
and how to connect with peers.
/etc/ppp/Devices associates dialer types with physical devices
and speeds. pppd examines the file when it places a call. If no suitable
speed is found or if all devices associated with that speed are busy,
pppd tries again later.
/etc/ppp/Dialers describes how to dial each type of modem
attached to the HP-UX system that is to be made available for
outbound calls.
/etc/passwd is used to verify the login of an inbound connection.
/etc/ppp/Login is a shell script that is run after a successful login.
Login starts pppd on the local system to communicate with pppd on
the peer to negotiate and establish a PPP connection.
The following section describes how these files are used to create a PPP
connection.
How PPP Connections are Established
In the following example, the local system “robin” attempts to connect to
the peer system “lark” via PPP, as shown in Figure 2-1.
Figure 2-1 PPP Connection Example
robin
lark
PPP Connection
(outbound)
(inbound)