Any plans to utilize the lights on the front of the WRAP board?
-
Are there any plans to make the lights on ths front of the WRAP board show network traffic or any other usefull information?
-
Are there any plans to make the lights on ths front of the WRAP board show network traffic or any other usefull information?
Most likely not before release. If someone wants to work some magic I'll be happy to include it.
-
echo 1 > /dev/led/led2 <- Turns LED 2 on
echo 0 > /dev/led/led2 <- Turns LED 2 off
echo fx> /dev/led/led2 <- Flashes LED 2 at intervals where x=1-9. 1 is fastest 9 is slowest.LED 1 is the LED on the left. LED 2 is the middle LED. LED 3 is the LED on the right. Unless you have your box upside down, and then it would be reversed :)
E
-
echo 1 > /dev/led/led2 <- Turns LED 2 on
echo 0 > /dev/led/led2 <- Turns LED 2 off
echo fx> /dev/led/led2 <- Flashes LED 2 at intervals where x=1-9. 1 is fastest 9 is slowest.LED 1 is the LED on the left. LED 2 is the middle LED. LED 3 is the LED on the right. Unless you have your box upside down, and then it would be reversed :)
E
Well isn't this special. I had no idea this was so easy… I just verified it works with Soekris too...
echo 1 > /dev/led/error
-
Heheh… I wish I were more useful in putting this knowledge into something worthwhile.
But, at least I have 3 blinking LEDs on my WRAP right now :)
Well, 1 is solid, 2 is slow blink, and 3 is fast blink.
Makes it look like the box is really at work doing something :)
E
-
LMAO
I'll see about integrating this into the alert manager.
-
Working on a little script that will have my Asterisk box blink the 3rd LED when I have voicemail…
Completely useless, but fun nonetheless.
E
-
has there been any progress on putting the leds to any use?
-
You can utilize commands to turn on/off/blink lights in hidden config.xml commands on bootup or on filter reload:
http://faq.pfsense.com/index.php?action=artikel&cat=10&id=38&artlang=en&highlight=hidden ;)like make it blink with earlyshellcommand and switch to sold with shellcommand after it's up…
Just tested this and it works (insert below your <system>tag in your downloaded config.xml and restore it again):
<earlyshellcmd>echo 1 > /dev/led/led2</earlyshellcmd> <shellcmd>echo 1 > /dev/led/led3</shellcmd>
This will do the following on a wrap (like a progressmeter):
- light 1 turns on when system is initializing bios
- light 2 turns on early in the boot process
- light 3 tunrs on when the bootup is nearly finished
In case you have only one LED (soekris) you can try this:
<earlyshellcmd>echo f4 > /dev/led/led1</earlyshellcmd> <shellcmd>echo 1 > /dev/led/led1</shellcmd>
This will make the first LED blink when early in the bootup process and switch to solid when it's nearly done.</system>