From owner-freebsd-questions Fri Nov 3 7:48:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from copper.americanisp.net (copper.americanisp.net [208.244.174.41]) by hub.freebsd.org (Postfix) with SMTP id D5A4437B479 for ; Fri, 3 Nov 2000 07:48:12 -0800 (PST) Received: (qmail 6866 invoked from network); 3 Nov 2000 15:47:55 -0000 Received: from unknown (HELO oxygen.americanisp.net) (208.244.174.10) by copper.americanisp.net with SMTP; 3 Nov 2000 15:47:55 -0000 Date: Fri, 3 Nov 2000 08:47:51 -0700 (MST) From: Peter To: freebsd-questions@freebsd.org Subject: PPP and Crontabs Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok here is my setup: 56k dial-up, phone gets disconnected semi-often (call waiting,peeps picking it up) I want a script that will (thru cron) check every thirty minutes if ppp is connected or not, if not it will dial via "ppp -ddial isp" if it is, it will exit and then in half in hour (thru cron again) check and basically do same thing... My question: Is there a program/script readily available for this kinda thing? How do I check if ppp is connected or not? Inside cron, what is the exact setup ? (Under minutes just put 30, everything else * ?) ty. --- www.nul.cjb.net --- The Power to Crash! --- www.FreeBSD.org --- The Power to Serve! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message