Installing and Administering PPP

Chapter 2 35
Setting Up PPP Connections
Configuring Outbound Connections
Using what device: ACU (any call unit that matches the
speed listed in the next field).
At what DTE speed: 19200 (19200 bps)
At what telephone #: 5551212
Expect what string: in: substring of login: if true, send
next field. If false, send string
between dashes followed by carriage
return and expect in: Can be used to
elicit a response out of peer.
Send what string: Probin (followed by an implicit
carriage return).
Expect what string: word (a substring of password).
Send what string: mypasswd (followed by an implicit
carriage return).
/etc/ppp/Autostart
All outbound PPP connections are started through the user-generated
/etc/ppp/Autostart file. When the local system is booted, a pppd
process is started for the outbound link to the remote system. There is no
example Autostart file; you must create it. It contains the command
line necessary to start pppd:
pppd local_host:remote_host daemon_mgt_opt link_mgt_opt idle_timer
Refer to the pppd(1) man page for information on command line
options.
In our example, here is the Autostart entry on robin for connecting to
lark:
pppd robin:lark auto idle 150
The pppd started here has this connection configuration:
Local and remote hosts: robin and lark, respectively
Daemon mgmt. option: Auto (respond to the arrival of a
packet by initiating a connection to
peer).
Link management option: Idle (idle timer in effect).