*BSD News Article 77480


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!garlic.com!fox.almaden.ibm.com!uunet!in3.uu.net!cam-news-hub1.bbnplanet.com!howland.erols.net!agate!blanket.mitre.org!sed.psrw.com!psinntp	!psinntp!psinntp!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ijppp on-demand process
Date: 3 Sep 1996 17:14:26 +0100
Organization: Coverform Ltd.
Lines: 24
Message-ID: <50hlh2$kc@anorak.coverform.lan>
References: <50bu9q$99k@news.netusa.net>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

John Woodstock (woody@usbbs.com) wrote:

: Here is my situation. I have a small (6 machine) network that connects
: to the Internet via the on-demand feature of the ijppp using the tun0
: device. For the most part things are working fine..
:  
: The one problem I'm having is the fact that every day or so the ppp
: process just seems to terminate all by itself. I've rechecked the
: configs and they seem to be fine - I think..
:  
: Anyone have a clue why this would happen? 
:  
: If not, anyone have a script that would be able to check to see if the
: process is there and reload/reboot if it isn't ??

How about:

    netstat -na | fgrep '*.3000' >/dev/null || echo "PPP's down !" >&2

You get the idea :)

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....