Hi!

On Wednesday 01 January 2003 00:13, Tzahi Fadida wrote:
> 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

This method Checks all the carrier network + the ISP's network up to and 
including the device that ends the ppp sessions. Disconnections at the 
carrier or isp over the checked segment will cause the ppp session to 
terminate. It sometimes happen that short disconnections at the carrier 
network will pass without causing ppp diconnections. Using lcp echo failure 
makes ppp more sensitive to these disconnections. 

> that can acure.
> the best method to see if a line is dead, is to ping a dns server of ur ISP

This method might give false result when the ISP has a network problems at 
elements beyond the ppp server.

> 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.

Dani

=================================================================
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