From owner-freebsd-questions Fri May 26 17:28: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from praseodumium.btinternet.com (praseodumium.btinternet.com [194.73.73.82]) by hub.freebsd.org (Postfix) with ESMTP id 10CE637B9A7 for ; Fri, 26 May 2000 17:28:06 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from [213.1.82.15] (helo=parish.my.domain) by gadolinium with esmtp (Exim 2.05 #1) id 12vOyu-00004s-00; Fri, 26 May 2000 19:37:12 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA04942; Fri, 26 May 2000 19:37:03 +0100 (BST) (envelope-from mark) Date: Fri, 26 May 2000 19:37:02 +0100 From: Mark Ovens To: "Jonathan E. Lyons" Cc: freebsd-questions@freebsd.org Subject: Re: PPP & script execution Message-ID: <20000526193702.A232@parish> References: <3.0.5.32.20000526124310.01304360@midwest.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i 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 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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