From owner-freebsd-questions Thu Jan 18 10:51:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA24870 for questions-outgoing; Thu, 18 Jan 1996 10:51:18 -0800 (PST) Received: from cwbone.bsi.com.br ([200.250.250.14]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA24865 for ; Thu, 18 Jan 1996 10:51:09 -0800 (PST) Received: from paulo ([200.250.15.51]) by cwbone.bsi.com.br (8.6.11/8.6.9) with SMTP id QAA20687; Thu, 18 Jan 1996 16:49:43 GMT Date: Thu, 18 Jan 1996 16:51:47 +0000 () From: Sergio LENZI paulo lenzi X-Sender: lenzi@paulo To: James Robertson cc: freebsd-questions@FreeBSD.org Subject: Re: SIGHUP and pppd In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk 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...