isdnd/ppp timeout-algorithmen

From: Georg Graf <georg-dfbsd(at)graf.priv.at>
Date: Thu, 8 Jun 2000 14:38:29 +0200

hallo,
läuft cool, die ganze chose, mit kanalbündelung und so.

Aber ich will noch den letzten Groschen aus der telekom raussaugen
und möchte folgendes machen.

der isdnd bestimmt, wann aufgelegt wird, gut? - das habe ich auch
schon alles aufgesetzt, mit Ratesfile für den Standard-onlinetarif der
telekom austria. gut und schön.

dem ppp würd ich am liebsten sagen können: überlasse bitte die timeouts
dem isdnd, geht aber nicht. So habe ich dem ppp timeouts gegeben, die
kleiner sind als die timeouts vom isdnd. Gut, das timeout vom ppp kommt,
er sagt: "Ich leg auf" bzw. "lieber isdnd, bitte leg auf".

Wenn der ppp ein timeout von 0 bekommt, halten die lcp-pakete den
isdnd wach.

Was da natürlich super wäre, wenn der isdnd so gescheit sein könnte, um
zu sagen: Gut, der ppp will auflegen, aber ich hab noch so und so viele
Sekunden gratis, also leg ich nicht auf.

Problem dabei ist allerdings (nehme ich an) der lcp und auch ipcp
traffic, von dem der isdnd nichts weiß. Bin ich schon betriebsblind
oder kann man den ppp und den isdnd so verheiraten, daß der ppp sich
die aufleg-Anweisung vom isdnd holt?

sowas wie
timeout isdn (in der ppp.conf)
ist das, was ich glaube zu brauchen.

Habe ich einen Knoten im Hirn?

-- 
Georg
PS: 
isdnd.rc
--------
system
acctall         = on                    # generate info for everything
acctfile        = /var/log/isdnd.acct   # name & location of accounting file
useacctfile     = yes                   # generate accouting info to file
monitor-allowed = no                    # global switch: monitor on/off
ratesfile       = /etc/isdn/isdnd.rates # name & location of rates file
entry
name                    = userppp0
usrdevicename           = rbch
usrdeviceunit           = 0
isdncontroller          = 0
isdnchannel             = -1
local-phone-incoming    = 8766117
remote-phone-incoming   = *
local-phone-dialout     = 8766117
remote-phone-dialout    = 19411      # ppp(8) will override this
remdial-handling        = first
dialin-reaction         = ignore
dialout-type            = normal
b1protocol              = hdlc
idletime-outgoing       = 45           # Should be larger than ppps timeout
idle-algorithm-outgoing = fix-unit-size
ratetype                = 0
earlyhangup             = 5
unitlengthsrc           = rate
dialretries             = 15
dialrandincr            = on
recoverytime            = 3             # Should be smaller than ppps redial
usedown                 = on
downtries               = 5
downtime                = 60
entry
name                    = userppp1
usrdevicename           = rbch
[ gleich wie userppp1 bis auf usrdeviceunit]
---------------------
ppp.conf
--------
default:
falcon:
 set phone <eine ta-online-tarifnr.>
 set authname <usern>
 set authkey <passwd>
 set enddisc mac
 enable lqr
 set reconnect 5 255
 set redial 5 255
 set timeout 30
 set dial
 set login
 set hangup
 set device /dev/i4brbch0 /dev/i4brbch1
 set speed sync
 link * set cd 6
 enable dns
 set ifaddr 172.16.0.1/0 212.0.0.0/0
 add! default hisaddr
 set mrru 1500
 clone 1,2
 link deflink rm
 link * set mode auto
 set autoload 25 45 60
 set server /tmp/pavilion "" 0177
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 08 Jun 2000 - 14:38:35 CEST

search this site