diff options
author | brian <brian@FreeBSD.org> | 2000-08-17 14:39:24 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-08-17 14:39:24 +0000 |
commit | bee81ee9de99915927639381c9c4dc6d83409615 (patch) | |
tree | 4ff78d912229123ca8537bc1637a142f11616bf7 /share/examples | |
parent | 166eea54b407e50d63d537e31bcbea8bb9da005d (diff) | |
download | FreeBSD-src-bee81ee9de99915927639381c9c4dc6d83409615.zip FreeBSD-src-bee81ee9de99915927639381c9c4dc6d83409615.tar.gz |
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)
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/ppp/ppp.conf.isdn | 51 |
1 files changed, 18 insertions, 33 deletions
diff --git a/share/examples/ppp/ppp.conf.isdn b/share/examples/ppp/ppp.conf.isdn index ce87134..df0bd01 100644 --- a/share/examples/ppp/ppp.conf.isdn +++ b/share/examples/ppp/ppp.conf.isdn @@ -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 - - # Two new links - clone 1,2 + set mrru 1500 # Multilink mode please + set mru 1504 # Room for the MP header - # And get rid of the old one with the crusty name - link deflink rm + clone 1,2 # Two new links + link deflink rm # And get rid of the original one - # Automatically manage the second link - link * set mode auto - set autoload 10 100 30 + link * set mode auto # Automatically manage the second link + set autoload 10 80 30 # Down @10% usage, up at 80% - # Otherwise, do things via the diagnostic port - set server /tmp/pavilion "" 0177 + set server /tmp/pavilion "" 0177 # Listen on a diagnostic port |