*BSD News Article 85179


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!portc01.blue.aol.com!portc02.blue.aol.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!usenet
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Keepalive script with PPP
Date: 18 Dec 1996 14:51:25 GMT
Organization: Coverform Ltd.
Lines: 29
Message-ID: <5990dd$4mn@awfulhak.demon.co.uk>
References: <32B47DB0.5354@gryphonsci.com> <lbwE2HHnv.M6u@netcom.com>
NNTP-Posting-Host: awfulhak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32754

In article <lbwE2HHnv.M6u@netcom.com>,
	lbw@netcom.com (Len Wilson) writes:
> Jason Lee (jlee1@gryphonsci.com) wrote:
>: Does anyone know of a keepalive type script for a PPP connection?? I
>: have it set manually right now using PPP. 
>: Actually I'd like to be able to boot right in to PPP and then not have
>: to type 'dial'.
> 
>: Any answers for both of these problems???
> 
> I prefer to load ppp at boot time (/etc/rc.local) with the '-auto' switch.
> The command line looks something like this: ppp -auto ondemand
> "ondemand" is the label for the desired dialing script in 'ppp.conf'.
> 
> When you attempt to use some internet function like telnet, ftp, finger,
> etc., ppp will automatically execute the dialing script. Further, if you
> set 'timeout 0' as the final script command, it will disable automatic 
> disconnects on your end.
> 
> You'll never have to type 'dial' again.

And in the upcoming version (-current), the -ddial argument will re-dial
as soon as the connection is lost - handy if you don't want the connection
delay.

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....