Date: Tue, 22 Sep 1998 11:32:38 +0100 From: Brian Somers <brian@Awfulhak.org> To: francisco@natserv.com Cc: Brian Somers <brian@Awfulhak.org>, questions@FreeBSD.ORG Subject: Re: How to tell if connected to internet? Message-ID: <199809221032.LAA21410@woof.lan.awfulhak.org> In-Reply-To: Your message of "Sat, 19 Sep 1998 18:40:50 -0000." <199809192240.SAA06906@federation.addy.com>
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 Read the pppctl man page. You need ``set socket'' in your ppp config. > > --------------------- > francisco@natserv.com -- 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?199809221032.LAA21410>