Click to See Complete Forum and Search --> : Show me your state, linux!


chrizzo
01-19-2001, 10:01 AM
Hi, I have a question:
How can Linux signalize me its status with the LEDs on the keyboard?
My Linux Box doesn't have a Screen, so i cant see, if he has finished booting or something.
I want 2 things to do:
1. Whe he has finished booting, and ready to login, he should switch a LED on the Keyboard on. (Numlock or the others).
2. When he is shut down, and when its safe to turn off, he should switch that LED off.

THX

njcajun
01-19-2001, 10:08 AM
telnet to the box. If you can't telnet to it, then get a Belkin 4-Port Cube so you can share use one monitor with more than one computer.

------------------
Build a system that even a fool can use, and only a fool will use it.

Pierre Lambion
01-19-2001, 11:21 AM
Check man setleds. With something like setleds +num you should be able to light you num led from rc.local.
You could also imagine a small bash script to flash n times your leds at regular interval (using cron maybe).

You could then turn leds off in your shutdown runlevel.

P.

[This message has been edited by Pierre Lambion (edited 19 January 2001).]