after a year of experience with adsl i want to add 3 nis:
1) assumming u want to use persist, u must understand it doesn't do any pinging, just
reconnect
if pppd knows it has been disconnected. inorder for it to know it was disconnected u
need to use
 lcp-echo-interval n to ping the other peer. and still, this does nothing yet. u need
to also add
 lcp-echo-failure n in order to tell pppd after how many consequtive echo failiures
it should consider
the line dead.
2) that said, this method does not envelop all the problems and hiccups that can
acure.
the best method to see if a line is dead, is to ping a dns server of ur ISP which go
over most points
of failure in the connection.
3) even then u will not choose to terminate the line since ISP are known to stall
sometimes and u need
to poll the line with a few sleeps and pings. maybe the line will comeback in 30 sec
or so.
only after double checking everything it would be wise to disconnect.
explanation: it is especially important to people running 1 computer vs modem, since
disconnection
means purging of application side tcp connections which, for example, in peer-to-peer
programs
could mean the loss of priorities, and i can think of other things as well.

these were my 3 nis.

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Technion Email: [EMAIL PROTECTED]
My Cool Site: HTTP://WWW.My2Nis.Com
* - * - * - * - * - * - * - * - * - *

WARNING TO SPAMMERS:  see at http://members.lycos.co.uk/my2nis/spamwarning.html

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ilya Konstantinov
> Sent: Tuesday, December 31, 2002 11:07 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: pppd persist?
>
>
> [EMAIL PROTECTED] wrote:
>
> >Hi,
> >
> >I keep seeing people talk about pinging the other side of their
> >ADSL line in order to discover whether it's still up and re-run
> >pppd if ping fails
> >
> >Have anyone of them tried pppd's "persist" option and decided that
> >it's not good enough?
> >
> Except for cases when pppd crashes (which I didn't see happening
> lately), it looks like a fine idea. Just make sure it's not 'pptp'
> running 'pppd' - but instead  'pppd' running 'pptp' (via pppd's "pty"
> option - see "pptp --help" for an example)
> (Ignore this if you're using a PPP over Ethernet configuration.)
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>
>



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to