summaryrefslogtreecommitdiffstats
path: root/share/examples/ppp/isdnd.rc
blob: 0ceef6d2f83671cfaef3aa2714ab9f375bb5e430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#	example of a configuration file for the isdn daemon & user-ppp
#
# $FreeBSD$


# SYSTEM section: isdnd global configuration parameters

system

# accounting

acctall		= on			# generate info for everything
acctfile	= /var/log/isdnd.acct	# name & location of accounting file
useacctfile	= yes			# generate accouting info to file
isdntime = on
monitor-allowed	= no			# global switch: monitor on/off


# User-ppp example

entry
name			= userppp0
usrdevicename		= rbch
usrdeviceunit		= 0
isdncontroller  	= 0
isdnchannel		= -1
local-phone-incoming	= 1234567
remote-phone-incoming	= *
local-phone-dialout	= 1234567	# This *MUST* be your local number
remote-phone-dialout	= 1234567	# ppp(8) will override this
remdial-handling	= first
dialin-reaction		= ignore
dialout-type		= normal
b1protocol		= hdlc
idletime-incoming	= 900		# Should be larger than ppp's timeout
idletime-outgoing	= 900		# Should be larger than ppp's timeout
unitlength		= 0
unitlengthsrc		= conf
dialretries		= 1
dialrandincr		= on
recoverytime		= 1		# Should be smaller than ppp's redial
usedown			= off
downtries		= 2
downtime		= 30

entry
name			= userppp1
usrdevicename		= rbch
usrdeviceunit		= 1
isdncontroller  	= 0
isdnchannel		= -1
local-phone-incoming	= 1234567
remote-phone-incoming	= *
local-phone-dialout	= 1234567	# This *MUST* be your local number
remote-phone-dialout	= 1234567	# ppp(8) will override this
remdial-handling	= first
dialin-reaction		= accept
dialout-type		= normal
b1protocol		= hdlc
idletime-incoming	= 900		# Should be larger than ppp's timeout
idletime-outgoing	= 900		# Should be larger than ppp's timeout
unitlength		= 0
unitlengthsrc		= conf
dialretries		= 1
dialrandincr		= on
recoverytime		= 1		# Should be smaller than ppp's redial
usedown			= off
downtries		= 2
downtime		= 30
OpenPOWER on IntegriCloud