xref: /freebsd/usr.sbin/ppp/ppp.conf (revision e0c4386e7e71d93b0edc0c8fa156263fc4a8b0b6)
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#################################################################
9
10default:
11 set log Phase Chat LCP IPCP CCP tun command
12 ident user-ppp VERSION
13
14 # Ensure that "device" references the correct serial port
15 # for your modem. (cuau0 = COM1, cuau1 = COM2)
16 #
17 set device /dev/cuau1
18
19 set speed 115200
20 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
21           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
22 set timeout 180			# 3 minute idle timer (the default)
23 enable dns				# request DNS info (for resolv.conf)
24
25papchap:
26 #
27 # edit the next three lines and replace the items in caps with
28 # the values which have been assigned by your ISP.
29 #
30
31 set phone PHONE_NUM
32 set authname USERNAME
33 set authkey PASSWORD
34
35 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
36 add default HISADDR			# Add a (sticky) default route
37
38u3g:
39 set device /dev/cuaU0.0
40 set phone *99\#
41 set timeout 0
42 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
43 add default HISADDR			# Add a (sticky) default route
44