Subject: Re: looking for a better way to ppp keepalive
To: None <>
From: Steven M. Bellovin <>
List: netbsd-users
Date: 06/09/2001 20:37:08
In message <>, "David W. Talmage" writes:
>I get my net connection from Metricom using their "always on" 
>service.  From time to time, my ppp network connection disappears.  ifconfig 
>says that the interface is up and pppd remains running but no packets come in 
>and none go out.
>I found a way to keep the ppp connection alive.  I wonder if there is a better
>if [ `/sbin/ping -c 1 -q $ISP_NAME_SERVER` -ne 0 ] ; then
I wonder if it's a Metricom problem, in which case there's nothing you 
can do about it.

That said, I think that the "right" way to do it is to use 
lcp-echo-interval and lcp-echo-failure, together with the "persist" 
option.  (Caveat:  I haven't tried it.)

		--Steve Bellovin,