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$ 9################################################################# 10 11default: 12 set log Phase Chat LCP IPCP CCP tun command 13 ident user-ppp VERSION 14 15 # Ensure that "device" references the correct serial port 16 # for your modem. (cuau0 = COM1, cuau1 = COM2) 17 # 18 set device /dev/cuau1 19 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 timeout 180 # 3 minute idle timer (the default) 24 enable dns # request DNS info (for resolv.conf) 25 26papchap: 27 # 28 # edit the next three lines and replace the items in caps with 29 # the values which have been assigned by your ISP. 30 # 31 32 set phone PHONE_NUM 33 set authname USERNAME 34 set authkey PASSWORD 35 36 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 37 add default HISADDR # Add a (sticky) default route 38