Re: modemlights for ISDN?
- From: Martin Baulig <martin home-of-linux org>
- To: John Ellis <johne bellatlantic net>
- cc: Martin Baulig <norwegen home-of-linux org>, gnome-list gnome org
- Subject: Re: modemlights for ISDN?
- Date: Sun, 24 May 1998 22:49:57 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
On Sun, 24 May 1998, John Ellis wrote:
> Martin writes:
> >Does the modemlights applet currently work for ISDN ? Or is this
> >planned for the future ? Would be a nice to have something
> >similar than the /sbin/isdnbutton from isdn4linux (a _very_ old
> >version).
>
> Currently the modemlights applet will work if two conditions are met:
> 1) the ppp protocol is used as device "ppp0"
> (to check for incoming and outgoing data)
> 2) a lock file is created when a device activates.
> (to check if modemlights should try and get data from ppp)
>
> Any networking device which creates a lock file when in use
> should work. Does your ISDN software create a lock file?
> for example modem's usually use something similar to /var/lock/LCK..modem
>
> If you just want modemlights to work whenever ppp is up, you could just
> set the lockfile to ppp's lockfile, on my RedHat 5.0 system this is:
>
> /var/run/ppp0.pid
I went online and offline a few times and forced the device to hangup, but
there is absolutely no change in /var/run.
I'll have to look at the source code of isdn4linux how this works.
/sbin/isdnbutton is red when the device is down, green when I'm online and
yellow when the card has hung up.
Martin
- -----------------------------------------------------------------
Martin Baulig - Angewandte Mathematik - Universitaet Trier
baulig@castor.uni-trier.de, http://www.home-of-linux.org/
Key: 1024-bit key with ID C8178435 created 1997/01/24
ID: 67 C1 84 A0 47 F5 11 C5 5F 68 4C 84 99 05 C3 92
Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBNWiH9YA8K7jIF4Q1AQERyAP+NmeMSHzeabwhlRNGpV645arAfZpfydnn
0fmRGz3FK2dpyrcztIC36QNG0Pe6REct4ppirYU49sbbx+c/8GhoQ33RfhOOmk/v
4OsWx+WXAOz6Mw5Wx/iMCJxpd8MGI0sOu62guAdO2+6uyP5fN77dYxVE4JzQoEnS
45jv+4hTVDk=
=RziA
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]