User Tools

Site Tools


ubiquiti:cli:downgrade_firmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ubiquiti:cli:downgrade_firmware [2020/09/26 10:22] – [Downgrade/Upgrade the Firmware] 192.168.1.1ubiquiti:cli:downgrade_firmware [2020/09/26 10:22] (current) – removed 192.168.1.1
Line 1: Line 1:
-====== Ubiquiti - CLI - Downgrade Firmware ====== 
  
-===== SSH into the device. ===== 
- 
-<code bash> 
-ssh ubnt@192.168.1.15 
-</code> 
- 
-returns 
- 
-<code bash> 
-The authenticity of host '192.168.1.15 (192.168.1.15)' can't be established. 
-ECDSA key fingerprint is SHA256:... 
-Are you sure you want to continue connecting (yes/no)? yes 
-Warning: Permanently added '192.168.1.1' (ECDSA) to the list of known hosts. 
-ubnt@192.168.1.1's password: 
-</code> 
- 
----- 
- 
-===== Download the file locally ===== 
- 
-Determine the firmware to download from https://www.ui.com/download/unifi/. 
- 
-Confirm it is a .bin firmware file. 
- 
-<code bash> 
-cd /tmp 
-wget https://dl.ui.com/unifi/firmware/U7PG2/4.0.80.10875/BZ.qca956x.v4.0.80.10875.200111.2335.bin 
-</code> 
- 
-**NOTE:**  If you do not have internet access on the device, try the following: 
- 
-  - Download the firmware on another machine. 
-  - Copy the firmware to the Ubiquiti device.  <code bash>scp /foldername/firmwarefile.bin ubnt@IP-of-UAP-or-Switch:/tmp/fwupdate.bin</code> 
-    * For example <code bash>scp BZ.qca956x.v4.0.80.10875.200111.2335.bin ubnt@192.168.1.15:/tmp/fwupdate.bin</code> 
- 
----- 
- 
-===== Rename the download to fwupdate.bin ===== 
- 
-<code bash> 
-cp BZ.qca956x.v4.0.80.10875.200111.2335.bin fwupdate.bin 
-</code> 
- 
----- 
- 
-===== Downgrade/Upgrade the Firmware ===== 
- 
-<code bash> 
-upgradesyswrapper.sh upgrade2 &  
-</code> 
- 
-<WRAP info> 
-**NOTE:**  Getting an "Invalid Firmware" error when upgrading via SSH might be caused by installing an incorrect version first. 
- 
-Correct this by going to the tmp folder and deleting fwupdate.bin first and then trying the upgrade command once more (making sure it was in the correct folder in the Controller). 
- 
-See: https://help.ui.com/hc/en-us/articles/204910064-UniFi-Upgrading-firmware-image-via-SSH 
- 
-</WRAP> 
- 
-<WRAP info> 
-**NOTE:**  To Reset to default: 
- 
-<code bash> 
-syswrapper.sh restore-default 
-</code> 
- 
-</WRAP> 
- 
----- 
- 
-===== Check logs ===== 
- 
- 
-/var/logs/messages 
- 
----- 
- 
-===== References ===== 
- 
-[[https://help.ui.com/hc/en-us/articles/218850057|SSH intro]] 
- 
-https://help.ui.com/hc/en-us/articles/204910064-UniFi-Upgrading-firmware-image-via-SSH 
- 
-https://help.ui.com/hc/en-us/articles/204910124-UniFi-TFTP-Recovery-for-Bricked-Access-Points 
ubiquiti/cli/downgrade_firmware.1601115723.txt.gz · Last modified: 2020/09/26 10:22 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki