[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SOLVED: pppd always on



also sprach martin f krafft <madduck@madduck.net> [2002.04.05.1238 +0200]:
> > Don't put demand in your options, put these two lines in:
> > 
> > persist
> > holdoff 0
> 
> i had that, but then when i got disconnected once/24h (frickin' german
> telekom!), it wouldn't reestablish...
> 
> i'll try again...

okay, i found the problem... at times, the first couple of redial
attempts after a forced disconnection failed. the "maxfail" parameter
has a default of 10, so after 10 failed tries, pppd would exit.
setting maxfail to 0 along with persist and holdoff 0 ensures that the
connection through pppd is as always on as possible (lovely
construction those last five words, don't you think?).

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
"a rock pile ceases to be a rock pile
 the moment a single man contemplates it,
 bearing within him the image of a cathedral."
                                           -- antoine de saint-exupery

Attachment: pgpuNAVxluVCi.pgp
Description: PGP signature


Reply to: