Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!dataphone!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!netcom.com!lbw From: lbw@netcom.com (Len Wilson) Subject: Re: Keepalive script with PPP Message-ID: <lbwE2HHnv.M6u@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: TIN [version 1.2 PL1] References: <32B47DB0.5354@gryphonsci.com> Date: Mon, 16 Dec 1996 02:02:19 GMT Lines: 22 Sender: lbw@netcom10.netcom.com Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32670 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. Len Wilson