summaryrefslogtreecommitdiffstats
path: root/share/examples/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-09 22:58:55 +0000
committerbrian <brian@FreeBSD.org>1999-08-09 22:58:55 +0000
commite00de8bb4b63ef6580cf4061d7c5cf1ec060ce44 (patch)
treed7c94ab7fa12dacb7335ad6c92c3143efb4d6231 /share/examples/ppp
parent0a37fb18fbd92c9a10a8b2f032cd8301615c20be (diff)
downloadFreeBSD-src-e00de8bb4b63ef6580cf4061d7c5cf1ec060ce44.zip
FreeBSD-src-e00de8bb4b63ef6580cf4061d7c5cf1ec060ce44.tar.gz
Add an example of an isdnd.rc that works with ppp.
Diffstat (limited to 'share/examples/ppp')
-rw-r--r--share/examples/ppp/isdnd.rc75
1 files changed, 75 insertions, 0 deletions
diff --git a/share/examples/ppp/isdnd.rc b/share/examples/ppp/isdnd.rc
new file mode 100644
index 0000000..8ff3f4f
--- /dev/null
+++ b/share/examples/ppp/isdnd.rc
@@ -0,0 +1,75 @@
+#------------------------------------------------------------------------------
+#
+# example of a configuration file for the isdn daemon & user-ppp
+# --------------------------------------------------------------
+#
+#------------------------------------------------------------------------------
+
+#==============================================================================
+# 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
+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 ppps timeout
+idletime-outgoing = 900 # Should be larger than ppps timeout
+ratetype = 0
+unitlength = 90
+unitlengthsrc = rate
+dialretries = 1
+dialrandincr = on
+recoverytime = 25
+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
+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 ppps timeout
+idletime-outgoing = 900 # Should be larger than ppps timeout
+ratetype = 0
+unitlength = 90
+unitlengthsrc = rate
+dialretries = 1
+dialrandincr = on
+recoverytime = 25
+usedown = off
+downtries = 2
+downtime = 30
OpenPOWER on IntegriCloud