System Administration Guide: Network Services

Where to Define PPP Options

Solaris PPP 4.0 configuration is very flexible.You can define PPP options in the following places:

The next table lists the PPP configuration files and commands.

Table 22–1 Summary of PPP Configuration Files and Commands

File or Command  

Definition 

For Information 

/etc/ppp/options

A file that contains characteristics that apply by default to all PPP links on the system, for example, whether the machine requires peers to authenticate themselves. If this file is absent, nonroot users are prohibited from using PPP.

/etc/ppp/options Configuration File

/etc/ppp/options.ttyname

A file that describes the characteristics of all communications over the serial port ttyname.

/etc/ppp/options.ttyname Configuration File

/etc/ppp/peers

Directory that usually contains information about peers with which a dial-out machine connects. Files in this directory are used with the call option of the pppd command.

Specifying Information for Communicating With the Dial-in Server

/etc/ppp/peers/peer-name

A file that contains characteristics of the remote peer peer-name. Typical characteristics include the remote peer's phone number and chat script for negotiating the link with the peer.

/etc/ppp/peers/peer-name File

/etc/ppp/pap-secrets

A file that contains the necessary security credentials for Password Authentication Protocol (PAP) authentication. 

/etc/ppp/pap-secrets File

/etc/ppp/chap-secrets

A file that contains the necessary security credentials for Challenge-Handshake Authentication Protocol (CHAP) authentication. 

/etc/ppp/chap-secrets File

~/.ppprc

File in the home directory of a PPP user, most often used with dial-in servers. This file contains specific information about each user's configuration. 

Configuring $HOME/.ppprc on a Dial-in Server

pppd options

Command and options for initiating a PPP link and describing its characteristics. 

How PPP Options Are Processed

Refer to the pppd(1M) man page for details on the PPP files. pppd (1M) also includes comprehensive descriptions of all options that are available to the pppd command. Sample templates for all the PPP configuration files are available in /etc/ppp.