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