|
|
| Zeile 36: |
Zeile 36: |
|
| |
|
| == Via TFTP == | | == Via TFTP == |
| <pre>
| |
| 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
| | Anleitung nach [[tftp]] |
| 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.
| |
| </pre>
| |
| -----------
| |
| 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
| |
Version vom 30. Mai 2018, 18:33 Uhr
Hardware
openwrt.org:unifi
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/fwupdate.bin
4. on router:
cd /tmp
# to check firmware run, because syswrapper does not display errors.
fwupdate.real fwupdate.bin -d -c
5. Wenn alles Ok aussieht (gleiche Firmwareversion und keine sonstigen fehler)
mit flashen.
syswrapper.sh upgrade2 &
Der Router trennt die ssh Verbindung sofort.
Via TFTP
Anleitung nach tftp