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.

See also  Zimbra Modiy Account with Class of Service

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.

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.

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