Merge from vendor branch NTPD:
[dragonfly.git] / share / examples / ppp / isdnd.rc
1 #       example of a configuration file for the isdn daemon & user-ppp
2 #
3 # $FreeBSD: src/share/examples/ppp/isdnd.rc,v 1.2.4.1 2000/11/30 23:12:22 brian Exp $
4 # $DragonFly: src/share/examples/ppp/isdnd.rc,v 1.2 2003/06/17 04:36:57 dillon Exp $
5
6
7 # SYSTEM section: isdnd global configuration parameters
8
9 system
10
11 # accounting
12
13 acctall         = on                    # generate info for everything
14 acctfile        = /var/log/isdnd.acct   # name & location of accounting file
15 useacctfile     = yes                   # generate accouting info to file
16 isdntime = on
17 monitor-allowed = no                    # global switch: monitor on/off
18
19
20 # User-ppp example
21
22 entry
23 name                    = userppp0
24 usrdevicename           = rbch
25 usrdeviceunit           = 0
26 isdncontroller          = 0
27 isdnchannel             = -1
28 local-phone-incoming    = 1234567
29 remote-phone-incoming   = *
30 local-phone-dialout     = 1234567       # This *MUST* be your local number
31 remote-phone-dialout    = 1234567       # ppp(8) will override this
32 remdial-handling        = first
33 dialin-reaction         = ignore
34 dialout-type            = normal
35 b1protocol              = hdlc
36 idletime-incoming       = 900           # Should be larger than ppp's timeout
37 idletime-outgoing       = 900           # Should be larger than ppp's timeout
38 unitlength              = 0
39 unitlengthsrc           = conf
40 dialretries             = 1
41 dialrandincr            = on
42 recoverytime            = 1             # Should be smaller than ppp's redial
43 usedown                 = off
44 downtries               = 2
45 downtime                = 30
46
47 entry
48 name                    = userppp1
49 usrdevicename           = rbch
50 usrdeviceunit           = 1
51 isdncontroller          = 0
52 isdnchannel             = -1
53 local-phone-incoming    = 1234567
54 remote-phone-incoming   = *
55 local-phone-dialout     = 1234567       # This *MUST* be your local number
56 remote-phone-dialout    = 1234567       # ppp(8) will override this
57 remdial-handling        = first
58 dialin-reaction         = accept
59 dialout-type            = normal
60 b1protocol              = hdlc
61 idletime-incoming       = 900           # Should be larger than ppp's timeout
62 idletime-outgoing       = 900           # Should be larger than ppp's timeout
63 unitlength              = 0
64 unitlengthsrc           = conf
65 dialretries             = 1
66 dialrandincr            = on
67 recoverytime            = 1             # Should be smaller than ppp's redial
68 usedown                 = off
69 downtries               = 2
70 downtime                = 30