diff options
author | brian <brian@FreeBSD.org> | 1999-07-26 10:49:37 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-07-26 10:49:37 +0000 |
commit | 03ab8a3b7f99d8f1fc922f681d713dde620b53e6 (patch) | |
tree | 139b260d39c89fddc544d66db001ad8bb3d2076b /etc/ppp | |
parent | c8bc216749dc518674b11162d798262506b6b390 (diff) | |
download | FreeBSD-src-03ab8a3b7f99d8f1fc922f681d713dde620b53e6.zip FreeBSD-src-03ab8a3b7f99d8f1fc922f681d713dde620b53e6.tar.gz |
Add a default ppp.conf (mode 600).
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>
Diffstat (limited to 'etc/ppp')
-rw-r--r-- | etc/ppp/ppp.conf | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/etc/ppp/ppp.conf b/etc/ppp/ppp.conf new file mode 100644 index 0000000..63ddd33 --- /dev/null +++ b/etc/ppp/ppp.conf @@ -0,0 +1,36 @@ +################################################################# +# 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 |