*BSD News Article 84796


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!spring.edu.tw!howland.erols.net!news.mathworks.com!solaris.cc.vt.edu!news.seanet.com!news
From: dennisg <dennisg@seanet.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Keepalive script with PPP
Date: Tue, 17 Dec 1996 15:34:05 -0800
Organization: Seanet Online Services, Seattle WA
Lines: 37
Message-ID: <32B72DED.41C67EA6@seanet.com>
References: <32B47DB0.5354@gryphonsci.com>
NNTP-Posting-Host: dennisg.seanet.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (X11; I; FreeBSD 2.1.5-RELEASE i386)
To: jlee1@gryphonsci.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32728

Jason Lee 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???
> 
> Jason Lee
> Gryphon Sciences

I keep mine in /etc/ttys, if the line ever goes down it is automagicaly
restarted.

#       @(#)ttys        5.1 (Berkeley) 4/17/89
#
# name  getty                           type    status          comments
#
# This entry needed for asking password when init goes to single-user
mode
# If you want to be asked for password, change "secure" to "insecure"
here
console none                            unknown off secure
#
ttyv0   "/usr/libexec/getty Pc"         cons25  on  secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         cons25  on secure
ttyv2   "/usr/libexec/getty Pc"         cons25  on secure
ttyv3   "/usr/libexec/getty Pc"         cons25  off secure
# Serial terminals
ttyd0   "/usr/libexec/getty std.9600"   unknown off secure
ttyd1   "/usr/libexec/getty std.9600"   unknown off secure
ttyd2   "/usr/libexec/getty std.9600"   unknown off secure
ttyd3   "/usr/libexec/getty std.9600"   unknown off secure
# Local Additions
ttyv4   "/usr/X11R6/bin/xdm -nodaemon"  xterm   on secure