System Administration Guide: Resource Management and Network Services

How to Add CHAP Support to the PPP Configuration Files (Dial-out Machine)

  1. Log in to the dial-out machine as superuser.

  2. Ensure that the /etc/ppp/options file has the following options.


    # vi /etc/ppp/options
    lock
    nodefaultroute
  3. Create an /etc/ppp/peers/peer-name file for the remote machine CallServe.


    # mkdir /etc/ppp/peers
    # vi CallServe
    /dev/cua/a
    57600
    noipdefault
    defaultroute
    idle 120
    user account1
    connect "chat -U 'mypassword' -f /etc/ppp/mychat"

    The option user account1 sets account1 as the CHAP user name to be given to CallServe. For a description of the other options in the previous file, see the similar /etc/ppp/peers/myserver file in "How to Define the Connection With an Individual Peer".

Where to Go From Here

Task 

For Instructions 

Test CHAP authentication by calling the dial-in server 

"How to Call the Dial-in Server"

Learn more about CHAP authentication 

"Challenge-Handshake Authentication Protocol (CHAP)"