1################################################################# 2# PPP Sample Configuration File 3# Originally written by Toshiharu OHNO 4# Simplified 5/14/1999 by wself@cdrom.com 5# 6# See /usr/share/examples/ppp/ for some examples 7# |
8# $FreeBSD: head/etc/ppp/ppp.conf 72925 2001-02-22 23:28:12Z brian $ |
9################################################################# 10 11default: 12 ident user-ppp VERSION (built COMPILATIONDATE) 13 14 # Ensure that "device" references the correct serial port 15 # for your modem. (cuaa0 = COM1, cuaa1 = COM2) 16 # 17 set device /dev/cuaa1 18 19 set log Phase Chat LCP IPCP CCP tun command 20 set speed 115200 21 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ 22 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 23 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 |
24 set timeout 180 # 3 minute idle timer (the default) |
25 add default HISADDR # Add a (sticky) default route 26 enable dns # request DNS info (for resolv.conf) 27 28papchap: 29 30 # 31 # edit the next three lines and replace the items in caps with 32 # the values which have been assigned by your ISP. 33 # 34 35 set phone PHONE_NUM 36 set authname USERNAME 37 set authkey PASSWORD |