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 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 result, show us firmware version 188.8.131.5285.
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.
Login back and check version.
Firmware version change to 184.108.40.20655.
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.