Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2000 19:37:02 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        "Jonathan E. Lyons" <parrothd@midwest.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPP & script execution
Message-ID:  <20000526193702.A232@parish>
In-Reply-To: <3.0.5.32.20000526124310.01304360@midwest.net>; from parrothd@midwest.net on Fri, May 26, 2000 at 12:43:10PM -0500
References:  <3.0.5.32.20000526124310.01304360@midwest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 26, 2000 at 12:43:10PM -0500, Jonathan E. Lyons wrote:
> Hi, 
> 	Is there a way to make PPP execute a script each time it connects? I've
> been using cron, but I'd rather have this script run each time PPP needs to
> reconnect..
> 

/etc/ppp/ppp.link{up,down} are what you need. See the ppp manpage, and
check out the ``shell'' and ``bg'' commands.

Also see /usr/share/examples/ppp/

for examples.

HTH

> 
> 
> Thanks!
> 
> Jonathan E. Lyons 			Nucleus Consulting
> parrothd@midwest.net			www.nucleusconsulting.com	
> ICQ # 14226912			A+, MCSE, CCNA, FreeBSD!
> 					
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
        ...and on the eighth day God created UNIX
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000526193702.A232>