User Tools

Site Tools


ubiquiti:cli:downgrade_firmware

This is an old revision of the document!


Ubiquiti - CLI - Downgrade Firmware

SSH into the device.

ssh ubnt@192.168.1.15

returns

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:

Download the file locally

Determine the firmware to download from https://www.ui.com/download/unifi/.

Confirm it is a .bin firmware file.

cd /tmp
wget https://dl.ui.com/unifi/firmware/U7PG2/4.0.80.10875/BZ.qca956x.v4.0.80.10875.200111.2335.bin

NOTE: If you do not have internet access on the device, try the following:

  1. Download the firmware on another machine.
  2. Copy the firmware to the Ubiquiti device.
    scp /foldername/firmwarefile.bin ubnt@IP-of-UAP-or-Switch:/tmp/fwupdate.bin
    • For example
      scp BZ.qca956x.v4.0.80.10875.200111.2335.bin ubnt@192.168.1.15:/tmp/fwupdate.bin

Rename the download to fwupdate.bin

cp BZ.qca956x.v4.0.80.10875.200111.2335.bin fwupdate.bin

Downgrade/Upgrade the Firmware

upgradesyswrapper.sh upgrade2 & 

NOTE: To Reset to default:

syswrapper.sh restore-default

Check logs

/var/logs/messages


References

ubiquiti/cli/downgrade_firmware.1601115547.txt.gz ยท Last modified: 2020/09/26 10:19 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki