/etc/ppp/ppp.conf options:
set device DEVICE
The device ppp uses to connect. "/dev/cuaa1"
set speed SPEED
Connection speed. Ex: 57600 or 115200
set timeout N
Idle time in seconds before disconnecting.
set dial STRING
The modem init and dial string. Ex.
"ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" \
ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
set redial RETRIES WAIT
Set the number of times to attempt to redial and the time
to wait between each attempt in seconds. Ex. set redial 3 10
set phone NUMBER
The telephone number to dial. You can specify multiple phone
numbers to use seperated by either a ":" or "|". Each number
will be tried in order until a successful connection negotiated.
set authname USERNAME
The username provided by your ISP or network administrator.
This is required for either PAP or CHAP authentication.
set authkey PASSWORD
The password provided by your ISP or network administrator.
This option is required for either PAP or CHAP authentication
but is also useful if you authenticate with the chatscript.
add default HISADD
This option is used for dynamic IP address assignment. The
HISADD is not an option but a variable that stands for the
IP address assigned by the ppp negotiation process.
enable dns
This option is used for assigning the DNS servers that your
ISP provides in the ppp negotiation process. With this option
enabled, your "/etc/resolv.conf" file will be overwritten with
the IP addresses provided. This option is not needed if you
are running your own DNS server or use DNS servers other than
the ones provided by your ISP.
Do NOT do this if you are running a local DNS unless you also
either use "resolv readonly" or have "resolv restore" in
"/etc/ppp/ppp.linkdown", as ppp will simply circumvent its
use by entering some nameserver lines in "/etc/resolv.conf".
alias enable yes
This option enables the machine to use NAT (aka: Masquerading,
IP Aliasing, etc..) which will allow your machine to function
as a network gateway.
This option will alleviate the needed to call ppp with the
"-alias" flag for IP aliasing.
resolv readonly
resolv restore
set openmode active
accept chap