Make this file look prettier
Bump the MRU by 4 bytes to make room for the MP header Down the autoload threshold to a practical value Don't specify the ISDN bandwidth as 65536 (ahem!) Don't specifiy a carrier period (the default of 6 seconds is fine)
This commit is contained in:
parent
39a59b1de6
commit
a494f9e1be
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64782
@ -30,16 +30,12 @@
|
||||
# isdnd configuration file is also supplied in this directory (isdnd.rc)
|
||||
#
|
||||
isdn:
|
||||
# Replace this with your ISPs phone number
|
||||
set phone 12345678
|
||||
set phone 12345678 # Replace this with your ISPs phone number
|
||||
|
||||
# Replace these with your login name & password. This profile assumes
|
||||
# you're using PAP or CHAP.
|
||||
set authname somename
|
||||
set authkey somepasswd
|
||||
set authname somename # Replace these with your login name & password.
|
||||
set authkey somepasswd # This profile assumes you're using PAP or CHAP.
|
||||
|
||||
# Assuming you have a LAN:
|
||||
set enddisc mac
|
||||
set enddisc mac # Assuming you have a LAN
|
||||
|
||||
enable lqr
|
||||
set reconnect 3 5
|
||||
@ -48,41 +44,30 @@ isdn:
|
||||
disable pred1 deflate
|
||||
deny pred1 deflate
|
||||
|
||||
# Our minimum charge period is 5 minutes, so don't hangup before then
|
||||
set timeout 60 300
|
||||
set timeout 60 300 # The minimum charge period is 5 minutes, so don't
|
||||
# hangup before then
|
||||
|
||||
# We have no chat scripts in the ISDN world (yet)
|
||||
set dial
|
||||
set login
|
||||
set hangup
|
||||
|
||||
# Use the raw B-channel devices
|
||||
set device /dev/i4brbch0 /dev/i4brbch1
|
||||
set speed sync
|
||||
set bandwidth 65536
|
||||
set device /dev/i4brbch0 /dev/i4brbch1 # Raw B-channel devices
|
||||
set speed sync # ISDN is synchronous
|
||||
|
||||
# How long does it take to connect with ISDN ?
|
||||
link * set cd 6
|
||||
enable dns # Ask the peer what to put in resolv.conf
|
||||
|
||||
# Ask the peer what to put in resolv.conf
|
||||
enable dns
|
||||
|
||||
# Take a wild guess and let the other side decide
|
||||
set ifaddr 172.16.0.1/0 212.0.0.0/0
|
||||
# Take a wild guess at an IP number and let the other side decide
|
||||
set ifaddr 172.16.0.1/0 212.0.0.0/0 0 0
|
||||
add! default hisaddr
|
||||
|
||||
# Multilink mode please
|
||||
set mrru 1500
|
||||
set mrru 1500 # Multilink mode please
|
||||
set mru 1504 # Room for the MP header
|
||||
|
||||
# Two new links
|
||||
clone 1,2
|
||||
clone 1,2 # Two new links
|
||||
link deflink rm # And get rid of the original one
|
||||
|
||||
# And get rid of the old one with the crusty name
|
||||
link deflink rm
|
||||
link * set mode auto # Automatically manage the second link
|
||||
set autoload 10 80 30 # Down @10% usage, up at 80%
|
||||
|
||||
# Automatically manage the second link
|
||||
link * set mode auto
|
||||
set autoload 10 100 30
|
||||
|
||||
# Otherwise, do things via the diagnostic port
|
||||
set server /tmp/pavilion "" 0177
|
||||
set server /tmp/pavilion "" 0177 # Listen on a diagnostic port
|
||||
|
Loading…
Reference in New Issue
Block a user