how to upgrade ubnt unifi ac

how to upgrade ubnt unifi ac

how to upgrade uap-ac-pro to okos image

Reference

UniFi-TFTP-Recovery
uap-ac-lite openwrt
unifiac on openwrt

Background

there are two partitions, okos merge them into one, so we must split them.
partition name|size| offset in image

—|---|—
kernel0|0x7900(7929856)|0x0000
kernel1|0x7900(7929856)|0x7900

steps

  1. ssh ubnt@<ip addr> # passwd:ubnt 
  2. cd /tmp 
  3. wget -O 1.tar.gz 'http://a1.oakridge.io:8000/okos_v2.0.0_20170728142143_openwrt-ar71xx-generic-ubnt-unifi-pro-squashfs-sysupgrade.bin.tar.gz' 
  4. tar xzf 1.tar.gz 
  5. rm -rvf 1.tar.gz 
  6. dd if=openwrt-ar71xx-generic-ubnt-unifi-pro-squashfs-sysupgrade.bin of=kernel0.bin bs=7929856 count=1 
  7. dd if=openwrt-ar71xx-generic-ubnt-unifi-pro-squashfs-sysupgrade.bin of=kernel1.bin bs=7929856 count=1 skip=1 
  8. mtd write /tmp/kernel0.bin kernel0 
  9. mtd write /tmp/kernel1.bin kernel1 
  10. reboot 

Recovery it to UBNT Image

Background

ubnt bootloader provides the tftp server with ip 192.168.1.20, after press and hold the UniFi AP’s reset button when plug in power cable.

Steps

  1. download firmware from (https://s3-eu-west-1.amazonaws.com/ps-firmware/other/firmware/U7PG2/3.4.7.3284/firmware.bin).
  2. Set a static IP on your Computer’s NIC. A static IP of 192.168.1.25, subnet of 255.255.255.0 and gateway of 192.168.1.20 will work.
  3. Install tftp tool on PC. you can install this one pumpkin.
  4. Plug the UniFi PoE injector’s LAN cable directly to your computer.
  5. Using a paperclip press and hold the UniFi AP’s reset button. Make sure you can feel it being depressed by the paperclip. Do not release the button until lasts 12s. then AP setups the tftp server and waiting for file upload.
  6. Uses the Pumpkin TFTP software on PC, and click on “Put File”.
  7. In “Local Files” browse for the firmware you downloaded and saved previously
  8. In the “Remote host” field enter the gateway you had predetermined (192.168.1.20), then click OK

nicephil@gmail.com 2017-7-28

posted on 2017-07-28 22:38  nicephil  阅读(436)  评论(0编辑  收藏  举报

导航