mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update some misleading comments, empty ``set logout'', and add a
comment describing how to take advantage of telcos that give free phone calls at certain times.
This commit is contained in:
parent
5fed4e9f8c
commit
35ccfc58d8
1 changed files with 25 additions and 4 deletions
|
|
@ -41,8 +41,8 @@ isdn:
|
|||
set reconnect 3 5
|
||||
set redial 3 10
|
||||
set lqrperiod 45
|
||||
disable pred1 deflate
|
||||
deny pred1 deflate
|
||||
disable pred1 deflate mppe
|
||||
deny pred1 deflate mppe
|
||||
|
||||
set timeout 60 300 # The minimum charge period is 5 minutes, so don't
|
||||
# hangup before then
|
||||
|
|
@ -50,6 +50,7 @@ isdn:
|
|||
# We have no chat scripts in the ISDN world (yet)
|
||||
set dial
|
||||
set login
|
||||
set logout
|
||||
set hangup
|
||||
|
||||
set device /dev/i4brbch0 /dev/i4brbch1 # Raw B-channel devices
|
||||
|
|
@ -68,6 +69,26 @@ isdn:
|
|||
link deflink rm # And get rid of the original one
|
||||
|
||||
link * set mode auto # Automatically manage the second link
|
||||
set autoload 10 80 30 # Down @10% usage, up at 80%
|
||||
set autoload 10 80 30 # Down @10% usage, up at 80%, 30s sample
|
||||
|
||||
set server /tmp/pavilion "" 0177 # Listen on a diagnostic port
|
||||
set server /tmp/ppp-isdn "" 0177 # The diagnostic port (-rw-------)
|
||||
|
||||
#
|
||||
# When phone calls become free (say 0:00 Saturday morning), we may want
|
||||
# this in crontab (``crontab -l'', not /etc/crontab):
|
||||
#
|
||||
# 1 0 0 0 6 /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode ddial
|
||||
#
|
||||
# and when we have to pay again (say 23:59 Sunday night), we may want
|
||||
# this:
|
||||
#
|
||||
# 54 23 0 0 0 /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode auto
|
||||
#
|
||||
# And of course just in case of a weekend reboot, add
|
||||
# /usr/local/etc/rc.d/ppp.sh:
|
||||
#
|
||||
# #! /bin/sh
|
||||
# [ ."$1" != .start ] && exit 0
|
||||
# case `date +%w` in
|
||||
# 6|0) /usr/sbin/pppctl /tmp/ppp-isdn link \* set mode ddial;;
|
||||
# esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue