Go to main content

Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.3

Exit Print View

Updated: October 2017
 
 

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.
    $ cat /etc/ppp/options
    lock
    nodefaultroute
  3. Create an /etc/ppp/peers/peer-name file for the remote machine CallServe.
    $ cat /etc/ppp/peers/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.

See Also

To test CHAP authentication by calling the dial-in server, refer to How to Call the Dial-in Server.