On machines that only accept incoming calls, pppd
does not need to be started at boot time, since pppd
is started when a PPP login occurs. Machines that both initiate
and receive calls must start pppd
at boot time, and must also prepare accounts for incoming connections.
User accounts must be created in the /etc/passwd
file for the system to be able to accept incoming calls. An example
entry in /etc/passwd would be:
pppuser::3008:2002:PPP users login (for testing):/etc/ppp:/etc/ppp/Login |
The '3008' in the passwd entry is a unique
uid for this PPP login, and the '2002' is the
uid corresponding to the 'ppp' group in /etc/group.
The Login shell script, shown
in the /etc/passwd example as /etc/ppp/Login,
starts pppd on the local system
to communicate with pppd on the
peer. The two pppd's negotiate
and establish the PPP connection. See Chapter 2 for more information.