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

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.

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.

See also  Zimbra Modiy Account with Class of Service

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.

Ispconfig Nginx Directives Laravel

In a typical Laravel installation, the public folder contains all of the publicly accessible files for the application. This includes the index.php file, which...
47 sec read

How to Hide Version nginx

Nginx is a popular web server that powers many websites and applications. However, by default, nginx reveals its version number in the HTTP response...
1 min read

How to Install SSH in Windows 10/11

SSH (Secure Shell) is a protocol that allows us to securely remote servers and devices over a network. SSH can be used for various...
1 min read

Leave a Reply

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

Never miss a story from us, get weekly updates in your inbox