System Administration Guide: Resource Management and Network Services

Where to Define PPP Options

Solaris PPP 4.0 is very flexible in the manner in which you can configure it. You can define PPP options in the following places:

The next table lists the PPP configuration files and commands.

Table 36–1 Summary of PPP Configuration Files and Commands

File or Command  

Definition 

For Information 

/etc/ppp/options

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, non-root users are prohibited from using PPP. 

/etc/ppp/options Configuration File

/etc/ppp/options.ttyname

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

File that contains characteristics of the remote peer peer-name, such as its phone number and chat script for negotiating the link with the peer.

/etc/ppp/peers/peer-name File

/etc/ppp/pap-secrets

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

/etc/ppp/pap-secrets File

/etc/ppp/chap-secrets

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 User-Specific Options

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 and comprehensive descriptions of all options available to the pppd command. Sample templates for all the PPP configuration files are available in /etc/ppp.