Skip to content
UniFi respondd bridge using SNMP
PHP
Branch: master
Clone or download
Latest commit e493b31 Sep 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Sep 8, 2019
README.md Add documentation Sep 8, 2019
unifirespondd.php Add documentation Sep 8, 2019
unifirespondd.service Add documentation Sep 8, 2019

README.md

UnifiRespondd

Meshviewer Screenshot

UnifiRespondd is a small PHP script, that allows Freifunk installations utilizing the propritary Unifi firmware to be visible on the map.
It uses SNMP to talk to the APs directly (no controller necessary) and listens to the IPv6 multicast socket.
This script behaves exactly like regular routers and can be installed anywhere in the L2-mesh, without needing to modify the map itself.

To use SNMP, SNMPv1/v2 need to be enabled and a community has to be set:
Unifi Settings

System requirements

php-cli and php-snmp

Autostart

cp unifirespondd.php /opt/
cp unifirespondd.service /etc/systemd/system/ 
systemctl daemon-reload
systemctl enable --now unifirespondd

Configuration

Configuration parameters can be found on the start of unifirespondd.php.
SNMP community and the list of devices needs to be set. The multicast group can be left unchanged for most installations.
OffloaderMAC is the MAC address of the device which provides uplink for the access points. The connection between offloader and AP is shown as a wired link on the map.

You can’t perform that action at this time.