Date: Sat, 19 Sep 1998 18:40:50 -0000 (GMT) From: Francisco Reyes <francisco@natserv.com> To: Brian Somers <brian@Awfulhak.org> Cc: questions@FreeBSD.ORG Subject: Re: How to tell if connected to internet? Message-ID: <199809192240.SAA06906@federation.addy.com> In-Reply-To: <199809192141.WAA09387@woof.lan.awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19-Sep-98 Brian Somers wrote: >> 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). Tried the following from the example: pppctl -p '' -v /var/run/internet quit I get the error Can not connect to socket /var/run/internet --------------------- francisco@natserv.com 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?199809192240.SAA06906>