Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 1998 22:41:27 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        francisco@natserv.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: How to tell if connected to internet? 
Message-ID:  <199809192141.WAA09387@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Sat, 19 Sep 1998 13:20:28 -0000." <199809191720.NAA14305@federation.addy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809192141.WAA09387>