Date: Wed, 06 Mar 2002 19:16:27 +0000 From: Brian Somers <brian@freebsd-services.com> To: Gary Jennejohn <garyj@jennejohn.org> Cc: "Angelo a.k.a shagy" <shagy@rocketmail.com>, freebsd-isdn@FreeBSD.ORG Subject: Re: checking line status Message-ID: <200203061916.g26JGRH6030505@hak.lan.Awfulhak.org> In-Reply-To: Message from Gary Jennejohn <garyj@jennejohn.org> of "Mon, 04 Mar 2002 21:23:35 %2B0100." <200203042023.g24KNZil002991@peedub.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> "Angelo a.k.a shagy" writes: > > Greetings, I am using a Fritz isdn card (using > > user-land ppp) with a 128K connection. > > > > I was wondering how can I check to see if the second > > line is active or not, or the first line for that > > matter. > > > > I used to have a TA which had nice little lights for > > each line. I was able see when either line was up or > > down :) > > > > ``show links'' maybe ? Read the ppp manpage, there are a lot > of show commands. > > --- > Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org FWIW I installed a crude-but-useful cgi program at a customers site - it interrogates ppp (via pppctl) and publishes the information on a web site. Works quite well.... -- Brian <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> #! /bin/sh PAGE=/cgi-bin/status.cgi cat <<eof Content-type: text/html <html> <head> <title>Internet connection status</title> <meta http-equiv=refresh content="1; URL=$PAGE"> </head> <body bgproperties=fixed bgcolor=black text=yellow link=white vlink=gray ALINK =lightblue> <pre> $(pppctl /var/run/ppp-adsl show links) </pre> <pre> $(pppctl /var/run/ppp-adsl show ipcp | tail -6) </pre> </body> </html> eof To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203061916.g26JGRH6030505>