From owner-freebsd-questions Sun Dec 31 12:23: 9 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 12:23:07 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F5DF37B400 for ; Sun, 31 Dec 2000 12:23:06 -0800 (PST) Received: from [212.238.77.116] (helo=willow.raggedclown.net) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14Cp0P-000KRr-00 for questions@freebsd.org; Sun, 31 Dec 2000 20:23:01 +0000 Received: from btvs.demon.nl (buffy.raggedclown.net [192.168.1.2]) by willow.raggedclown.net (Postfix) with ESMTP id DF6145C55 for ; Sun, 31 Dec 2000 21:21:59 +0100 (CET) Received: by btvs.demon.nl (Postfix on SuSE Linux 7.0 (i386), from userid 500) id 5C50F12CA8; Sun, 31 Dec 2000 21:22:08 +0100 (CET) From: Cliff Sarginson Date: Sun, 31 Dec 2000 21:22:06 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: questions@freebsd.org Subject: Last question this year. Am I connected ? MIME-Version: 1.0 Message-Id: <00123121220605.01056@buffy> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, This may sound like a very silly question... How can I within a script find out if my dialup PPP internet connection is up and running or not ? There are a lot of untidy ways of doing this, Is there a cute and bulletproof way ? Happy New Year Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message