1999-08-09 22:58:55 +00:00
|
|
|
# example of a configuration file for the isdn daemon & user-ppp
|
|
|
|
#
|
2000-11-30 22:24:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
1999-08-09 22:58:55 +00:00
|
|
|
|
|
|
|
# SYSTEM section: isdnd global configuration parameters
|
2000-11-30 22:24:51 +00:00
|
|
|
|
1999-08-09 22:58:55 +00:00
|
|
|
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
|
|
|
|
|
2000-11-30 22:24:51 +00:00
|
|
|
|
1999-08-09 22:58:55 +00:00
|
|
|
# User-ppp example
|
2000-11-30 22:24:51 +00:00
|
|
|
|
1999-08-09 22:58:55 +00:00
|
|
|
entry
|
|
|
|
name = userppp0
|
|
|
|
usrdevicename = rbch
|
|
|
|
usrdeviceunit = 0
|
|
|
|
isdncontroller = 0
|
|
|
|
isdnchannel = -1
|
|
|
|
local-phone-incoming = 1234567
|
|
|
|
remote-phone-incoming = *
|
2000-11-30 22:24:51 +00:00
|
|
|
local-phone-dialout = 1234567 # This *MUST* be your local number
|
1999-08-09 22:58:55 +00:00
|
|
|
remote-phone-dialout = 1234567 # ppp(8) will override this
|
|
|
|
remdial-handling = first
|
|
|
|
dialin-reaction = ignore
|
|
|
|
dialout-type = normal
|
|
|
|
b1protocol = hdlc
|
2000-11-30 22:24:51 +00:00
|
|
|
idletime-incoming = 900 # Should be larger than ppp's timeout
|
|
|
|
idletime-outgoing = 900 # Should be larger than ppp's timeout
|
2000-11-30 23:08:36 +00:00
|
|
|
unitlength = 0
|
|
|
|
unitlengthsrc = conf
|
1999-08-09 22:58:55 +00:00
|
|
|
dialretries = 1
|
|
|
|
dialrandincr = on
|
2000-11-30 22:24:51 +00:00
|
|
|
recoverytime = 1 # Should be smaller than ppp's redial
|
1999-08-09 22:58:55 +00:00
|
|
|
usedown = off
|
|
|
|
downtries = 2
|
|
|
|
downtime = 30
|
|
|
|
|
|
|
|
entry
|
|
|
|
name = userppp1
|
|
|
|
usrdevicename = rbch
|
|
|
|
usrdeviceunit = 1
|
|
|
|
isdncontroller = 0
|
|
|
|
isdnchannel = -1
|
|
|
|
local-phone-incoming = 1234567
|
|
|
|
remote-phone-incoming = *
|
2000-11-30 22:24:51 +00:00
|
|
|
local-phone-dialout = 1234567 # This *MUST* be your local number
|
1999-08-09 22:58:55 +00:00
|
|
|
remote-phone-dialout = 1234567 # ppp(8) will override this
|
|
|
|
remdial-handling = first
|
|
|
|
dialin-reaction = accept
|
|
|
|
dialout-type = normal
|
|
|
|
b1protocol = hdlc
|
2000-11-30 22:24:51 +00:00
|
|
|
idletime-incoming = 900 # Should be larger than ppp's timeout
|
|
|
|
idletime-outgoing = 900 # Should be larger than ppp's timeout
|
2000-11-30 23:08:36 +00:00
|
|
|
unitlength = 0
|
|
|
|
unitlengthsrc = conf
|
1999-08-09 22:58:55 +00:00
|
|
|
dialretries = 1
|
|
|
|
dialrandincr = on
|
2000-11-30 22:24:51 +00:00
|
|
|
recoverytime = 1 # Should be smaller than ppp's redial
|
1999-08-09 22:58:55 +00:00
|
|
|
usedown = off
|
|
|
|
downtries = 2
|
|
|
|
downtime = 30
|