51f80ae148
Originally submitted by: Wayne Self <wself@cdrom.com> Allow a ppp startup option in rc.conf. Adjust sysinstall so that it appends to the end of ppp.conf and uses the generated profile to start ppp in auto mode on boot. Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
37 lines
886 B
Plaintext
37 lines
886 B
Plaintext
#################################################################
|
|
# PPP Sample Configuration File
|
|
# Originally written by Toshiharu OHNO
|
|
# Simplified 5/14/1999 by wself@cdrom.com
|
|
#
|
|
# $Id$
|
|
#################################################################
|
|
|
|
default:
|
|
|
|
#
|
|
# Make sure that "device" references the correct serial port
|
|
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
|
|
#
|
|
|
|
set device /dev/cuaa1
|
|
|
|
set log Phase Chat LCP IPCP CCP tun command
|
|
set speed 115200
|
|
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
|
|
|
|
set timeout 120
|
|
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
|
|
add default HISADDR
|
|
enable dns
|
|
|
|
papchap:
|
|
|
|
#
|
|
# edit the next three lines and replace the items in caps with
|
|
# the values which have been assigned by your ISP.
|
|
#
|
|
|
|
set phone PHONE_NUM
|
|
set authname USERNAME
|
|
set authkey PASSWORD
|