From owner-freebsd-questions Sat Sep 19 10:20:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA22318 for freebsd-questions-outgoing; Sat, 19 Sep 1998 10:20:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from federation.addy.com (federation.addy.com [207.239.68.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22313 for ; Sat, 19 Sep 1998 10:20:39 -0700 (PDT) (envelope-from francisco@natserv.com) Received: from quisqueya.natserv.com (slip-32-100-252-130.ny.us.ibm.net [32.100.252.130]) by federation.addy.com (8.8.5/8.6.12) with ESMTP id NAA14305 for ; Sat, 19 Sep 1998 13:20:13 -0400 (EDT) Message-Id: <199809191720.NAA14305@federation.addy.com> X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sat, 19 Sep 1998 13:20:28 -0000 (GMT) Reply-To: francisco@natserv.com From: Francisco Reyes To: questions@FreeBSD.ORG Subject: How to tell if connected to internet? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What command can I use to tell if I am connected to the internet? I found "show ipcp" in ppp, but I am looking for something that would either return 0/1 or that I could call on shell script and parse the status. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message