From owner-freebsd-questions@FreeBSD.ORG Sun Jun 22 09:44:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0995037B401 for ; Sun, 22 Jun 2003 09:44:29 -0700 (PDT) Received: from rwcrmhc12.attbi.com (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A1B943F93 for ; Sun, 22 Jun 2003 09:44:28 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[24.147.188.198]) by attbi.com (rwcrmhc12) with ESMTP id <2003062216441701400nsd6he>; Sun, 22 Jun 2003 16:44:17 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.7) with ESMTP id h5MGiG1V017573 for ; Sun, 22 Jun 2003 12:44:16 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h5MGiG7S017570; Sun, 22 Jun 2003 12:44:16 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: freebsd-questions@freebsd.org References: <20030619193042.N42050@cus.org.uk> From: Lowell Gilbert Date: 22 Jun 2003 12:44:15 -0400 In-Reply-To: <20030619193042.N42050@cus.org.uk> Message-ID: <447k7enjts.fsf@be-well.ilk.org> Lines: 12 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: "ppp -auto" limited to certain times only? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 16:44:29 -0000 Ben Cohen writes: > I have fixed-rate dialup access from my ISP but only off-peak. I just > found out that they let me connect at other times but charge me extra so I > want to avoid doing this accidentally. > > I'd like to run "ppp -auto" so that I get dial on demand in the evening, > but stop it connecting in the daytime. I thought of using a cron job to > start and stop ppp but is there a more elegant way? The manual for pppctl(8) has some examples of doing related things via cron entries...