149110Sbrian################################################################# 249110Sbrian# PPP Sample Configuration File 349110Sbrian# Originally written by Toshiharu OHNO 449110Sbrian# Simplified 5/14/1999 by wself@cdrom.com 549110Sbrian# 661412Sbrian# See /usr/share/examples/ppp/ for some examples 761412Sbrian# 850472Speter# $FreeBSD: releng/11.0/usr.sbin/ppp/ppp.conf 301166 2016-06-01 20:44:28Z gjb $ 949110Sbrian################################################################# 1049110Sbrian 1149110Sbriandefault: 1278554Sbrian set log Phase Chat LCP IPCP CCP tun command 13203943Sjkim ident user-ppp VERSION 1449110Sbrian 1563509Sbrian # Ensure that "device" references the correct serial port 16180617Smarcel # for your modem. (cuau0 = COM1, cuau1 = COM2) 1749110Sbrian # 18180617Smarcel set device /dev/cuau1 1949110Sbrian 2049110Sbrian set speed 115200 2161412Sbrian set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ 2261412Sbrian \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" 2372925Sbrian set timeout 180 # 3 minute idle timer (the default) 2461412Sbrian enable dns # request DNS info (for resolv.conf) 2549110Sbrian 2649110Sbrianpapchap: 2749110Sbrian # 2849110Sbrian # edit the next three lines and replace the items in caps with 2949110Sbrian # the values which have been assigned by your ISP. 3049110Sbrian # 3149110Sbrian 3249110Sbrian set phone PHONE_NUM 3349110Sbrian set authname USERNAME 3449110Sbrian set authkey PASSWORD 3578554Sbrian 3678554Sbrian set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 3778554Sbrian add default HISADDR # Add a (sticky) default route 38