From owner-freebsd-hackers Tue Jan 9 13:34:50 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA08825 for hackers-outgoing; Tue, 9 Jan 1996 13:34:50 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA08812 for ; Tue, 9 Jan 1996 13:34:41 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id NAA24104 for ; Tue, 9 Jan 1996 13:34:22 -0800 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.3/8.7.3) with SMTP id XAA13582 for ; Tue, 9 Jan 1996 23:33:13 +0200 (SAT) Message-Id: <199601092133.XAA13582@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host mark@localhost [127.0.0.1] didn't use HELO protocol To: hackers@freebsd.org Subject: How to keepalive a sick ppp process? Date: Tue, 09 Jan 1996 23:33:12 +0200 From: Mark Murray Sender: owner-hackers@freebsd.org Precedence: bulk Hi I have just retired my old ka9q/386.16 router in favour of using my name/kerberos/web server as a gateway. I am using iijppp (damn fine program!), but every now-and-then it dies on me. Last time it was a sig4 (Illegal instruction). I do not have the time to hack in this right now, so I am looking for a workround. I am running current (about a week or so old), and I would appreciate any experiences from anyone who has written scripts or other kludges that re-awaken dead daemons. Has anyone done this? Code that notices that any daemon (innd, ppp, etc) has died and restarts a new one would help. If not, I guess I invent the wheel! M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key