1999-07-26 10:49:37 +00:00
|
|
|
#################################################################
|
|
|
|
# PPP Sample Configuration File
|
|
|
|
# Originally written by Toshiharu OHNO
|
|
|
|
# Simplified 5/14/1999 by wself@cdrom.com
|
|
|
|
#
|
2000-06-08 08:58:03 +00:00
|
|
|
# See /usr/share/examples/ppp/ for some examples
|
|
|
|
#
|
1999-08-27 23:37:10 +00:00
|
|
|
# $FreeBSD$
|
1999-07-26 10:49:37 +00:00
|
|
|
#################################################################
|
|
|
|
|
|
|
|
default:
|
2001-06-21 15:42:26 +00:00
|
|
|
set log Phase Chat LCP IPCP CCP tun command
|
2000-07-19 10:16:29 +00:00
|
|
|
ident user-ppp VERSION (built COMPILATIONDATE)
|
1999-07-26 10:49:37 +00:00
|
|
|
|
2000-07-19 10:16:29 +00:00
|
|
|
# Ensure that "device" references the correct serial port
|
1999-07-26 10:49:37 +00:00
|
|
|
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
|
|
|
|
#
|
|
|
|
set device /dev/cuaa1
|
|
|
|
|
|
|
|
set speed 115200
|
2000-06-08 08:58:03 +00:00
|
|
|
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
|
|
|
|
\"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
|
2001-02-22 23:28:12 +00:00
|
|
|
set timeout 180 # 3 minute idle timer (the default)
|
2000-06-08 08:58:03 +00:00
|
|
|
enable dns # request DNS info (for resolv.conf)
|
1999-07-26 10:49:37 +00:00
|
|
|
|
|
|
|
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
|
2001-06-21 15:42:26 +00:00
|
|
|
|
|
|
|
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
|
|
|
|
add default HISADDR # Add a (sticky) default route
|