Welcome, Guest. Please login or register.

Author Topic: BlinkLED  (Read 4848 times)

gderf

  • Administrator
  • Newbie
  • *****
  • Posts: 32
  • Karma: +0/-0
    • View Profile
BlinkLED
« on: April 03, 2015, 04:41:10 PM »
BlinkLED is a pfsense feature that allows LEDs available on ALIX boards to be assigned to network interfaces and indicate the presence of traffic on them. Would be useful for installations where the rear panel is not visible, but the front panel is. See:


https://doc.pfsense.org/index.php/BlinkLED_Package


andywhite

  • Administrator
  • Full Member
  • *****
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #1 on: April 05, 2015, 01:13:53 PM »
I'll have a look.  What status do you want the Leds to represent? 

gderf

  • Administrator
  • Newbie
  • *****
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #2 on: April 10, 2015, 06:26:37 PM »
Currently, LED 1 (the far left) indicates power on.


I would like to have the three LEDs indicate network traffic on the three available interfaces as I don't see having a power on indicator (the current LED 1 behavior) necessary because any network traffic on any interface would indicate that the unit is switched on.


A compromise would be to have LED 1 indicate power on, and the other two LEDs could be user assigned to any two of the three available interfaces.


Thanks.

rpsmith

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #3 on: April 11, 2015, 03:19:11 AM »
Looks like that package only supports ALIX and WRAP.  Not Soekris and most likely not any newer embedded hardware.  If it was somehow supported as a package, that would be one thing but I would not be in favor of rolling it into the standard images.

Just my take on it.

Roy...

andywhite

  • Administrator
  • Full Member
  • *****
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #4 on: April 13, 2015, 08:07:36 PM »
The package simply uses /dev/led to set lights on/off , if other systems have led support in freebsd then in theory they should work too ...

APU boards aren't supported in freebsd 8.4 for LED, but are in 10.x , so it should be possible to support them also.

There is some code specific to alix and to wrap already for using the reset button (this needs to include APU boards now also), and showing systems temperature and fan speed only works on some system boards too, so I don't have an objection to adding something like this.  Incidentally , using the reset button on wrap/alix causes the leds to flash 5 times to indicate it is resetting.

However i'm not sure if using it as an alternative to NIC activity lights is the right thing to do , it might be more useful to indicate forwarded packets on one LED, and CPU utilisation on another etc

gderf

  • Administrator
  • Newbie
  • *****
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #5 on: April 14, 2015, 04:19:11 PM »
Well, I'm flexible - anything other than 'always off' would make sense to me.

rpsmith

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #6 on: April 15, 2015, 02:23:57 AM »
Looks like I was wrong about not supporting Soekris.

Found this on the pfsense website:

blinkled - Allows system LEDs to be used for network activity on supported platforms (ALIX, WRAP, Soekris, etc)


Roy...
« Last Edit: April 15, 2015, 08:16:14 AM by rpsmith »

andywhite

  • Administrator
  • Full Member
  • *****
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #7 on: September 12, 2015, 03:16:05 PM »
This is completed and apu is supported on 1.10.X builds

Ben Garrison

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #8 on: February 19, 2016, 04:16:55 PM »
I'll have a look.  What status do you want the Leds to represent?

I have a suggestion: could we have the three leds showing firewall load or cpu use?

i.e. no leds <33%
1 led 33%
2 leds 66%
3 leds, firewall getting hammered

Can do the same for bandwidth, with configurable limits.

Thoughts?

andywhite

  • Administrator
  • Full Member
  • *****
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: BlinkLED
« Reply #9 on: February 24, 2016, 09:18:16 AM »
I think it's personal taste.  The existing method gives the same information by flashing the LEDs at different speeds.

If enough people thought it useful I'd consider it.   Also you could consider graphing it with snmp and setting up alerts with external tools.