• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Any plans to utilize the lights on the front of the WRAP board?

Scheduled Pinned Locked Moved Hardware
9 Posts 5 Posters 4.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    rneily
    last edited by Dec 2, 2005, 7:02 PM

    Are there any plans to make the lights on ths front of the WRAP board show network traffic or any other usefull information?

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by Dec 2, 2005, 7:33 PM

      @rneily:

      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.

      1 Reply Last reply Reply Quote 0
      • E
        ealvar
        last edited by Dec 21, 2005, 10:00 PM

        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

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by Dec 21, 2005, 10:07 PM

          @ealvar:

          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

          1 Reply Last reply Reply Quote 0
          • E
            ealvar
            last edited by Dec 21, 2005, 10:09 PM

            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

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by Dec 21, 2005, 10:10 PM

              LMAO

              I'll see about integrating this into the alert manager.

              1 Reply Last reply Reply Quote 0
              • E
                ealvar
                last edited by Dec 21, 2005, 10:13 PM

                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

                1 Reply Last reply Reply Quote 0
                • L
                  lunchmoney
                  last edited by Oct 25, 2006, 11:46 PM

                  has there been any progress on putting the leds to any use?

                  1 Reply Last reply Reply Quote 0
                  • H
                    hoba
                    last edited by Oct 26, 2006, 2:37 AM Oct 26, 2006, 2:00 AM

                    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>

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received