Created
June 14, 2016 07:04
-
-
Save marvin/3c307e5327e2a838feaddc5f5da47940 to your computer and use it in GitHub Desktop.
CPE/M2/M5 PoE Passthrough aktivieren gluon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to /etc/rc.local | |
# Uncomment one of these three: | |
#GPIO=20 # TP-LINK CPE210/510 | |
#GPIO=8 # Ubiquiti Nanostation M2/M5 (XM) | |
#GPIO=2 # Ubiquiti Nanostation M2/M5 (XW) | |
echo $GPIO > /sys/class/gpio/export | |
echo out > /sys/class/gpio/gpio$GPIO/direction | |
echo 1 > /sys/class/gpio/gpio$GPIO/value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment