[plug] pppd redialling too often

Paul Wilson hooker at opera.iinet.net.au
Fri Nov 19 11:00:11 WST 1999


From: Steve Baker <sbaker at icg.net.au>
> I have a masq'ing gateway box dialling on demand, and a holdoff setting of
> 420 (7 minutes).  When the link is dropped from the remote end (ie. my ISP
> kicks me off) the link should not be re-established for at least that
amount
> of time, according to the docs.
>
> This is not what happens - the server tries to re-connect almost
> immediately.  It succeeds, then I get kicked off again, the server
redials,
> etc. etc.  Complicating matters is the fact that I am not supposed to
> reconnect for at least 5 minutes, and the ISP resets the clock each time I
> log on.  A couple of times this has resulted in over 50 calls over a 4-6
> hour period, before a 'Connect script failed' and it stops trying.

I had a similar requirement recently (iinet wnt a 10 minute delay unless
you've overrun your 200 hours, when they want 30 !), and ended up by
putting together a quick and dirty shell script that connects, waits to be
disconnected, sleeps 10 minutes and then goes round the loop again (but
only up to the usual 'going home' time for the client).

Like I said, grubby, but it works very well.

Paul



More information about the plug mailing list