From owner-freebsd-questions Wed Jul 17 20: 3:10 2002 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 275BC37B406 for ; Wed, 17 Jul 2002 20:03:02 -0700 (PDT) Received: from exgw2.lumeta.com (exgw2.lumeta.com [65.198.68.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDF4543E4A for ; Wed, 17 Jul 2002 20:03:01 -0700 (PDT) (envelope-from tal@lumeta.com) Received: from lucy.corp.lumeta.com (h65-198-68-133.lumeta.com [65.198.68.133]) by exgw2.lumeta.com (Postfix) with ESMTP id 6F787373837; Wed, 17 Jul 2002 23:03:01 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by lucy.corp.lumeta.com (Postfix) with ESMTP id CD42A10823; Wed, 17 Jul 2002 23:03:00 -0400 (EDT) Received: from lumeta.com (guard.lumeta.com [65.198.68.131]) by lucy.corp.lumeta.com (Postfix) with ESMTP id 30D9010820; Wed, 17 Jul 2002 23:02:59 -0400 (EDT) Message-ID: <3D35C3A1.A8D29EB@lumeta.com> Date: Wed, 17 Jul 2002 15:21:05 -0400 From: Tom Limoncelli Organization: Lumeta Corp X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: admin@chillicothehospital.org, freebsd-questions@freebsd.org Subject: Re: Control of ppp dial-in References: <3D343563.27454.15F595E@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG admin@chillicothehospital.org wrote: > > I would like to be able to control the time of day that ppp is able to dial the modem on a > freebsd-4.5 box , 8-5 in -ddial mode, then deny requests at other times. > Any ideas? The current PPP implementation does not have such controls. You can fake it with cron: Make a ppp.conf-open and ppp.conf-closed file. Add a cron job that copies one of those two files to ppp.conf, and kills/restarts the daemon. --tal -- Tom Limoncelli -- tal@lumeta.com -- www.lumeta.com http://www.EverythingSysadmin.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message