Nanostation M5 Passthrough
How To Use PoE Passthrough with OpenWRT
Device: Nanostation M5
Powered device: Ubiquiti PicoStation
If you want you can use PoE Passthrough to power on a device (in this case Ubiquiti PicoStation) with a secondary LAN interface.
On a device with OpenWRT you have to add these lines:
echo 8 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio8/direction
echo 1 > /sys/class/gpio/gpio8/value
If you want to power off the device you have to do:
echo 0 > /sys/class/gpio/gpio8/value