Date: Thu, 18 Jan 1996 16:51:47 +0000 () From: Sergio LENZI paulo lenzi <lenzi@bsi.com.br.bsi.com.br> To: James Robertson <max@underdog.maxie.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: SIGHUP and pppd Message-ID: <Pine.BSF.3.91.960118154011.291B-100000@paulo> In-Reply-To: <Pine.BSF.3.91.960117195826.14064E-100000@underdog.maxie.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In my site (bsi.com.br) I have done a small shell program(pppmon) that does this every minute. 1) ps -ax | grep ppp.... 2) find what ips are connected to ppp interfaces 3) ping -c 1 ip (if does not respond, kill -1 pid...) In the case the modem (hungs up, or the ppp locks) the user is disconnected...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960118154011.291B-100000>