Ubnt UniFi-AP
Inhaltsverzeichnis
Hardware
Firmware Flashen
Der UniFi AP ist ein Router der in der originalen Firmware keine eigene Konfigurations-Oberfläche besitzt.
Es gibt unterschiedliche Geräteversionen, wodurch die Firmware anders aufgespielt wird. Der Router besitzt einen Reset-Knopf, mit dem das Gerät in den Urzustand gesetzt werden kann.
Werkseinstellung: ca 7-10s Reset Knopf drücken (LED geht von grün auf hellgrün) IP: 192.168.1.20 Login: ubnt Passwort: ubnt
Via SSH von Originaler Firmware
Firmware lede-ar71xx-generic-ubnt-unifi-squashfs-factory.bin 1. connect router on LAN 2. ssh ubnt@192.168.1.20 password "ubnt" 3. remote copy factory image to router on PC: scp lede-ar71xx-generic-ubnt-unifi-squashfs-factory.bin ubnt@192.168.1.20:/tmp/ 4: on router: cd /tmp fwupdate.real -m openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -d
Wenn dieses mit einer Fehlermeldung abbricht, ist die Firmware vermutlich > 3.0.0.
Der Prompt zeigt dann evt BZ.v3.8.3.
In diesem Fall muss ein anderer Befehl verwendet werden:
mv lede-ar71xx-generic-ubnt-unifi-squashfs-factory.bin /tmp/fwupdate.bin nohup syswrapper.sh upgrade2
Der Router trennt die ssh Verbindung sofort.
Via TFTP
TFTP Upgrade Process Very helpful in case your upgrade went wrong or your AP is not responding anymore. See TFTP Unbricking section below for more detailed instructions on this process Keep the reset button pressed while powering on AP Once the LED ring is blinking green/orange, you can run the TFTP command. In case you are on Windows, the command is: tftp -i 192.168.1.20 put openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin If this is succesful, you will see: Transfer successful: 3342748 bytes in 2 second(s), 1671374 bytes/s After this, just wait for about a minute for the AP to reboot and boot OpenWrt. The LED ring will show static green when ready.
Device get IP address from DHCP (without DHCP the UniFi AP's default to 192.168.1.20) Login inside the AP with ssh ubnt@ip_address (password ubnt) Find the image like “openwrt-ar71xx-ubnt-unifi-*-factory.bin” on openwrt binary repository and download inside /tmp. Rename the image to fwupdate.bin Use the Ubiquiti fwupdate.real script to reflash it: fwupdate.real -m openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -d Later 3.xx firmware versions fail to upgrade using the above and brick so use instead. If brick reset device with 20-sec-press way with connected lan-cable - after it tftp start work.
Device get IP address from DHCP (without DHCP the UniFi AP's default to 192.168.1.20) Login inside the AP with ssh ubnt@ip_address (password ubnt) Find the image like “openwrt-ar71xx-ubnt-unifi-*-factory.bin” on openwrt binary repository and download inside /tmp. Use syswrapper to flash it: mv /tmp/openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin /tmp/fwupdate.bin cd /tmp nohup syswrapper.sh upgrade2