From owner-freebsd-questions@FreeBSD.ORG Sun Apr 10 10:43:42 2005 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 3A8FA16A4CE for ; Sun, 10 Apr 2005 10:43:42 +0000 (GMT) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A409343D3F for ; Sun, 10 Apr 2005 10:43:40 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.44 #0 (FreeBSD 4.11-STABLE)) id 1DKZui-000Gyc-Jk by authid for ; Sun, 10 Apr 2005 13:43:36 +0300 Date: Sun, 10 Apr 2005 13:43:36 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20050410104336.GB59286@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.9i (2005-03-13) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.9i Subject: Running PPP via crontab 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, 10 Apr 2005 10:43:42 -0000 Hello everyone, I have setup a FreeBSD box which a friend of mine will run as a mail server/firewall in his SOHO, using dialup (modem) to his ISP. Almost everything is setup and running, even ppp can work when I manually run through the dialup procedure. I don't have much problem configuring what he will run on this box, but one aspect has pinned me down. The ppp _MUST_ not run in "auto" or "ondemand" modes. It must be initiated manually. I would like to make a crontab entry that will run ppp after every one hour. I don't have a problem with crontab, but how to invoke ppp via it ;) I'd appreciate some hand-holding here. What shall I put as the command that will be run by cron? -Wash http://www.netmeister.org/news/learn2quote.html -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Do you realize how many holes there could be if people would just take the time to take the dirt out of them?