xref: /dragonfly/etc/ppp/ppp.conf (revision 335b9e93)
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: src/etc/ppp/ppp.conf,v 1.2.2.5 2001/07/13 10:55:23 brian Exp $
9# $DragonFly: src/etc/ppp/ppp.conf,v 1.2 2003/06/17 04:24:48 dillon Exp $
10#################################################################
11
12default:
13 set log Phase Chat LCP IPCP CCP tun command
14 ident user-ppp VERSION (built COMPILATIONDATE)
15
16 # Ensure that "device" references the correct serial port
17 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
18 #
19 set device /dev/cuaa1
20
21 set speed 115200
22 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
23           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
24 set timeout 180			# 3 minute idle timer (the default)
25 enable dns				# request DNS info (for resolv.conf)
26
27papchap:
28 #
29 # edit the next three lines and replace the items in caps with
30 # the values which have been assigned by your ISP.
31 #
32
33 set phone PHONE_NUM
34 set authname USERNAME
35 set authkey PASSWORD
36
37 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
38 add default HISADDR			# Add a (sticky) default route
39