Chapter 18. Automating your connections - Creating the connection scripts

Table of Contents
18.1. Connection scripts for User name/Password Authentication
18.2. The ppp-on script
18.3. Editing the supplied PPP startup scripts
18.3.1. The ppp-on script
18.3.2. The ppp-on-dialer script
18.4. What a Chat script means...
18.5. A chat script for PAP/CHAP authenticated connections
18.6. The pppd debug and file option_file options

Whilst you can continue to log in by hand as shown above, it is much neater to set up some scripts to do this automatically for you.

A set of scripts automates the log in and PPP start up so all you have to do (as root or as a member of the PPP group) is issue a single command to fire up your connection.