From owner-freebsd-questions Sat Sep 19 14:50:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA03431 for freebsd-questions-outgoing; Sat, 19 Sep 1998 14:50:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA03404 for ; Sat, 19 Sep 1998 14:50:39 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id WAA15919; Sat, 19 Sep 1998 22:41:26 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id WAA09387; Sat, 19 Sep 1998 22:41:28 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809192141.WAA09387@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: francisco@natserv.com cc: questions@FreeBSD.ORG Subject: Re: How to tell if connected to internet? In-reply-to: Your message of "Sat, 19 Sep 1998 13:20:28 -0000." <199809191720.NAA14305@federation.addy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 19 Sep 1998 22:41:27 +0100 From: Brian Somers 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. There's an example in pppctl(8). -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message