码迷,mamicode.com
首页 > 其他好文 > 详细

how to upgrade ubnt unifi ac

时间:2017-07-28 23:56:04      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:ast   idg   white   baseline   imp   eset   20px   power   pow   

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

how to upgrade ubnt unifi ac

标签:ast   idg   white   baseline   imp   eset   20px   power   pow   

原文地址:http://www.cnblogs.com/nicephil/p/7252942.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!