Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 1996 09:37:48 -0800
From:      patl@asimov.volant.org
To:        nate@rocky.sri.MT.net, mark@grondar.za
Cc:        hackers@FreeBSD.org
Subject:   Re: How to keepalive a sick ppp process?
Message-ID:  <9601131737.AA05156@asimov.volant.org>

next in thread | raw e-mail | index | archive | help
|>  Nate Williams wrote:
|>  > > I am using iijppp (damn fine program!), but every now-and-then it dies
|>  > > on me.
|>  > 
|>  > Do you need the on-demand cababilities of ppp, or are you looking for a
|>  > 'full-time' link?  If the latter, you can use pppd to provide the same
|>  > functionality.  We eneded up using pppd vs. ijppp because of the
|>  > occasional instability of the user-level stuff.
|>  
|>  I am using the on-demand capabilities to "kick" the line. I am using
|>  el-cheapo 14400 modems on a 2-wire leased line, and the line dies every
|>  now-and-then (there is a Portmaster on the other end). I use the chat
|>  script as a "modem kicker".
|>  
|>  I haven't looked at the pppd driver recently. Last time I looked was in
|>  1.1.5.1 days, and I could not get the chat(1) to behave (small lack of
|>  trying here)

I'm using a USR 28,800 Sportster, which drops the line occasionally.
My solution is to run 'ping -i 60 HISADDR', where HISADDR is the IP
address of the machine at the other end of the PPP link.  The '-i 60'
keeps the ping packets down to one a minute, so the overhead is
insignificant.  If the line is dropped, it is less than a minute before
a redial is triggered by the ping packet.

(Some day I'll get around to calling USR to ask about the system chip
upgrade to fix the problem...)



-Pat
My opinions are my own.  For a small royalty, they can be yours as well...
Pat Lashley, Senior Software Engineer, Henry Davis Consulting
patl@Phoenix.Volant.ORG  ||  http://Phoenix.Volant.ORG/  ||  lashley@netcom.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9601131737.AA05156>