On Sunday 26 January 2003 14:42, Ray Olszewski wrote:

> Right. What we need to see if the *abnormal* situation that is causing the
> problem. For example, if your ppp0 interface loses its configuration from
> the ISP end, but the Bering end does not bring the interface down, then it
> will still be present, still be detected by your keepalinve script ... so
> the script will not try to restart it. The same problem will present itself
> in your idea of just restarting the interface every 15 minutes.

Unfortunately I cannot summon an abnormal situation on demand. :)

> Without those diagnostics from an actual failure, all I can do is guess as
> to what is going on. But you might consider rewriting the keepalive script
> so that instead of checking if ppp0 is up, it checks if it is working (say,
> by pinging the other end of the PtP link). If it is not, then bring it
> down, then back up.

I was thinking along the same lines.  I would have to bring DOWN the interface 
first and then bring it back up.

A question: how do I know what the IP of the Peer is for my ADSL?

Right now I'm pinging an arbitrary host (happens to be the web server of my 
ISP.  For a while, I was pinging google by domain name).  Are there good 
hosts to "ping"?



-- 
-- Arcana


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to