diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-09 23:57:07 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-09 23:57:07 +0000 |
commit | bf3b00c72df48b3dd1c931f456e0939fd58b97fc (patch) | |
tree | acb1d2067169888d19eb2d8f8ed7e6e6d99cd4f9 /usr.sbin/ppp/ppp.conf | |
parent | 80f6a6685f4d0e6af4803f0c32df3f93dd677352 (diff) | |
download | FreeBSD-src-bf3b00c72df48b3dd1c931f456e0939fd58b97fc.zip FreeBSD-src-bf3b00c72df48b3dd1c931f456e0939fd58b97fc.tar.gz |
Move ppp.conf into the ppp sources
Diffstat (limited to 'usr.sbin/ppp/ppp.conf')
-rw-r--r-- | usr.sbin/ppp/ppp.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ppp.conf b/usr.sbin/ppp/ppp.conf new file mode 100644 index 0000000..2b63834 --- /dev/null +++ b/usr.sbin/ppp/ppp.conf @@ -0,0 +1,37 @@ +################################################################# +# PPP Sample Configuration File +# Originally written by Toshiharu OHNO +# Simplified 5/14/1999 by wself@cdrom.com +# +# See /usr/share/examples/ppp/ for some examples +# +# $FreeBSD$ +################################################################# + +default: + set log Phase Chat LCP IPCP CCP tun command + ident user-ppp VERSION + + # Ensure that "device" references the correct serial port + # for your modem. (cuau0 = COM1, cuau1 = COM2) + # + set device /dev/cuau1 + + 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 180 # 3 minute idle timer (the default) + enable dns # request DNS info (for resolv.conf) + +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 + + 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 |