habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Upgrade Downgrade Unifi via CLI

1 min read

Hi Dude, this is short article about how to upgrade or downgrade Unifi Device via command line (CLI). This is general method for over all unifi devices. Whether Unifi AP, Unifi Switches, or we can see detail devices firmware in link below.


Login SSH to Unifi Device

We have to login ssh to remote unifi device. In default configuration unifi devices, ping to

Reset Unifi Device with Reset Button

If not reply or we dont know what is ip address in unifi devices, we can reset with press the button on the reset hole for about 10 seconds until the led light blinks. Default IP address is and make sure we can ping until reply. After that login with ssh.

My Case, Unifi Switch.

In this case, i am use unifi switch will be upgrade firmware.


Info result, show us firmware version

Before Upgrade

Steps Upgrade Unifi Firmware via CLI

Download file bin firmware Unifi

Next, download unifi firmware base on type devices that we have. Here i will download firmware unifi switch. Link is below.


Upload firmware to /tmp folder use Winscp

After download, upload file .bin using winscp or other tools that usually use. The protocol is SSH/SCP port 22. Drop file to /tmp folder.

See also  Zimbra Modiy Account with Class of Service

Rename file firmware to fwupdate.bin

Next, rename file firmware to fwupdate.bin.


Execute With Command Syswrapper

Next, run this command below in currrent work directory /tmp

cd /tmp
syswrapper.sh upgrade2 &

Let progress run.

When finished, it will restart itself and boot.

Login back and check version.

After Upgrade

Firmware version change to

Some Method Upgrade or Downgrade Firmware Unifi

The above method can be used to upgrade and downgrade the unifi firmware. We can choose which firmware suits our device. Or we want to choose the latest firmware.

May be it’s helpful, please feel free to leave a comment if you have any questions and I’ll appreciate it. Or if there is another method downgrade or upgrade firmware, you can also add it in the comments, I will mention you and add a backlink to your link in our website.

habibzain Just husband, father and enthusiastic men about System Administration. Love to write short article about it. Perhaps can help and be useful for others.

Easy Create Laravel Project with Composer

Requirement Laravel, a popular PHP framework, is renowned for its elegant syntax and robust features, making it a top choice for web developers. One...
1 min read

Virtualbox Change Storage Size

Changing the storage size of a virtual machine in VirtualBox involves a few steps. Here’s a general guide. Backup your Virtual Machine (VM) Before...
35 sec read

Easy Setup Logrotate Nginx Ubuntu

Log rotation is an important aspect of managing log files on a Linux system, including those generated by Nginx. Logrotate is a utility that...
1 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

Never miss good article from us, get weekly updates in your inbox