Feature #13161
openFLASH PORT'S LED button, to help quickly find port that need to be connected to patch&cable
0%
Description
Dear pfSense Dev Team!
Seems there are reason to making FLASH PORT'S LED button in sections Interface (and State / Interfaces) , to make a little help for thousands of newcomers or Hard SysEngeneer (who have madness with jacks&cables&patches each day 8+h) quickly find port that need to be connected to patch&cable.
Flashing time 15s would be enough (and in most cases are maximum possible in most NICs).
This is just TWO commands and a PHP-code for button!
Updated by Jim Pingle over 2 years ago
- Priority changed from Normal to Very Low
- Target version deleted (
2.7.0)
What "two commands" are you referring to?
Flashing NIC LEDs would vary by hardware/driver/etc. There isn't a general function for that on FreeBSD in ifconfig
or similar, and FreeBSD doesn't have a tool like etherblink
on Linux.
Updated by Sergei Shablovsky over 2 years ago
Jim Pingle wrote in #note-1:
What "two commands" are you referring to?
Flashing NIC LEDs would vary by hardware/driver/etc. There isn't a general function for that on FreeBSD in
ifconfig
or similar, and FreeBSD doesn't have a tool likeetherblink
on Linux.
I thinking about led, igb, em... led(4) is not suitable for that ?
igb(4)
Make the identification LED of igb0 blink:
echo f2 > /dev/led/igb0
Turn the identification LED of igb0 off again:
echo 0 > /dev/led/igb0
em(4)
Make the identification LED of em0 blink:
echo f2 > /dev/led/em0
Turn the identification LED of em0 off again:
echo 0 > /dev/led/em0
IMHO, better to:
- start with NICs that already exist in NetGate appliances (igb/em drivers?)
- expand on most used NICs (I thinking not more +3 drivers)
Spending resources on a bunch of other less-known NICs seems to be unreasonable.