how to upgrade ubnt unifi ac

Posted nicephil

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 [email protected]<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

[email protected] 2017-7-28

以上是关于how to upgrade ubnt unifi ac的主要内容,如果未能解决你的问题,请参考以下文章

How to Upgrade Kernel on CentOS 7

How to upgrade SUSE Linux OS/Patch

FreeBSD Here is how to upgrade

How to Upgrade VMware Workstation Pro v15.5 to v16

How to upgrade vim to version 8 on CentOS 7

How To Upgrade ASM from 10.2 to 11.1 (RAC)