OPT_TLEDSMULTIPLE v1.1 - for fli4l 2.1.12 - Documentation




Created: 04.08.2005
Last Update: 26.11.2005

This Package allows the monitoring of one (or two) devices with the NUM-Lock and/or SCROLL-Lock LEDs of the keyboard.

It uses the program tleds written by Jouni Lohikoski (v1.05beta10 with patch v1.05beta11, you can find the source at http://users.tkk.fi/~jlohikos/tleds/ )
tleds was published under the GPL (see the end of the text-version of this document), so is my package.
Edit the file config/tledsmultiple.txt for configuration.

Meaning of variables:

OPT_TLEDSMULTIPLE
Have to be set to 'yes' to activate the package.

TLEDSMULTIPLE_MANUAL_CONFIG
Set this variable to 'yes', if you want to pass command line arguments to tleds.
Then the following 8 variables are ignored.

TLEDSMULTIPLE_DELAY
sets the delay of the LEDs. The lower the quicker the LEDs flash.

TLEDSMULTIPLE_LED_N
the number of LEDs to use.
possible values: 1, 2

TLEDSMULTIPLE_LED_1_DEV && TLEDSMULTIPLE_LED_2_DEV
the device to monitor.
usefull values: ippp0, ppp0, eth0, eth1, ...

TLEDSMULTIPLE_LED_1_LED && TLEDSMULTIPLE_LED_2_LED
the LED to use.
possible values: scroll, num

TLEDSMULTIPLE_LED_1_MODE && TLEDSMULTIPLE_LED_2_MODE
specifies the type of traffic to monitor.
possible values: up, down, both

TLEDSMULTIPLE_ARGUMENT
This variable specifies the command-line arguments passed to tleds, if TLEDMULTIPLE_MANUAL_CONFIG=='yes'. Else it is ignored.
You can find an explanation of the arguments in the manual-page of tleds in the text-version of this document. So it should be possible to monitor more than 2 devices, but i couldn't test it, cause i only have 2.

An example-configuration are in config/tledsmultiple.txt: Monitoring ippp0 with NUM-Lock showing incoming traffic and SCROLL-Lock showing outgoing traffic.

There are 2 limitations:
- If you use only one LED, it has to monitor both incoming and outgoing traffic of one device.
- If you use both LEDs, they have to monitor one device with up respectivly down or 2 devices with both.

So it's e.g. not possible to monitor outgoing traffic of eth0 with SCROLL-LED and incoming traffic of ippp0 with NUM-LED.

Send Bugreports, Suggestions, ... to Christoph Fischer crystuff27@gmx.at.