Skip to content

Instantly share code, notes, and snippets.

@marvin
Created June 14, 2016 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marvin/3c307e5327e2a838feaddc5f5da47940 to your computer and use it in GitHub Desktop.
Save marvin/3c307e5327e2a838feaddc5f5da47940 to your computer and use it in GitHub Desktop.
CPE/M2/M5 PoE Passthrough aktivieren gluon
# 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