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.

https://www.ui.com/download/unifi

Login SSH to Unifi Device

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

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 192.168.1.20 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 3.7.58.6385.

Before Upgrade
Unifi-Upgrade-Downgrade-Firmware-via-CLI

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.

https://dl.ui.com/unifi/firmware/USXG/6.2.14.13855/US.bcm5341x_6.2.14+13855.220408.1447.bin

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.

Unifi-Upgrade-Downgrade-Firmware-via-CLI

Execute With Command Syswrapper

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

# cd /tmp
# syswrapper.sh upgrade2 &
Progress-Unifi-Upgrade-Downgrade-Firmware-via-CLI

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 6.2.14.13855.

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...
habibzain
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...
habibzain
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...
habibzain
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