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
- ssh [email protected]<ip addr> # passwd:ubnt
- cd /tmp
- 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‘
- tar xzf 1.tar.gz
- rm -rvf 1.tar.gz
- dd if=openwrt-ar71xx-generic-ubnt-unifi-pro-squashfs-sysupgrade.bin of=kernel0.bin bs=7929856 count=1
- dd if=openwrt-ar71xx-generic-ubnt-unifi-pro-squashfs-sysupgrade.bin of=kernel1.bin bs=7929856 count=1 skip=1
- mtd write /tmp/kernel0.bin kernel0
- mtd write /tmp/kernel1.bin kernel1
- 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
- download firmware from (https://s3-eu-west-1.amazonaws.com/ps-firmware/other/firmware/U7PG2/3.4.7.3284/firmware.bin).
- 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.
- Install tftp tool on PC. you can install this one pumpkin.
- Plug the UniFi PoE injector’s LAN cable directly to your computer.
- 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.
- Uses the Pumpkin TFTP software on PC, and click on “Put File”.
- In “Local Files” browse for the firmware you downloaded and saved previously
- 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