Once you are able to log in via SSH to the Unifi, there are several useful commands:
- Reset AP to Factory Default
syswrapper.sh restore-default
- Manually Upgrade AP
syswrapper.sh upgrade [from Ubnt download website past URL with latest FW to the device you are upgrading], ie:
upgrade https://dl.ui.com/unifi/firmware/U7PG2/4.3.24.11355/BZ.qca956x.v4.3.24.11355.201207.1717.bin - If the above doesn't work:
go to https://ubnt.com/downloads select the device you need firmware for, download it (it will be name.bin )
Here is the example how to manually upgrade firmware of the uap-ac-pro:
Login via ssh to the unifi access point (uap-ac-pro in this case, but they all will be similar), run the below commands:
cd /tmp
wget https://dl.ui.com/unifi/firmware/U7PG2/4.3.24.11355/BZ.qca956x.v4.3.24.11355.201207.1717.bin --no-check-certificate
mv https://dl.ui.com/unifi/firmware/U7PG2/4.3.24.11355/BZ.qca956x.v4.3.24.11355.201207.1717.bin fwupdate.bin
syswrapper.sh upgrade2
- Status of the device
info - this command will show the status of the UniFi Access Point, Cloud Key, USW switch, etc.
* if it shows anything else than adopted, then try to edit /etc/hosts as show below
- Enter CLI
mca-cli - Set Inform Server
set-inform http://ip-of-controller:8080/inform
You can also try to add line in /etc/hosts
IP_address_of_controller unifi
Then try to ping unifi it should resolve to the controller's IP and also allow you the adoption, once the set-inform command is issued, ie:
set-inform http://unifi:8080/inform
Need to get a backup from UCK-G? There is a way to find it too:
Once you are logged in via ssh
autobackup files are saved to /data/autobackup
Alternatively run:
find / -name *.unf
You can use winscp or filezilla to download the files to your computer
In case of size issues on UC-CK:
First thing is to clean cache, helps in most cases:
# apt-cache clean; apt-get update; apt-get install aufs-tools'
# /sbin/auplink / flush
Too large mongo database on UC-CK? Check this link
To manually upgrade FW on UC-CK via SSH, just issue the below command:
# ubnt-systool fwupdate https://dl.ui.com/unifi/cloudkey/firmware/UCK/1.1.13.bin
The above info is for current latest version 1.1.13, but when newer version will be available,it will just be higher number before .bin
How the UniFi USW-Flex-2.5G-8 Revolutionizes Multi-Gig Networking for Homes and Offices
Discover how the UniFi USW-Flex-2.5G-8 switch revolutionizes home and office networking with 2.5GbE ports, 10G uplink, PoE++ support, and seamless UniFi integration.
Read moreHow to Set Up the Ubiquiti USW-Flex-2.5G-8 Switch Step-by-Step
Learn how to set up the Ubiquiti USW-Flex-2.5G-8 switch step by step with this easy guide. From mounting and powering to UniFi Controller adoption, get your high-speed multi-gig network running smoothly in minutes.
Read moreMikroTik RDS2216: High-Performance Cloud Core Router for Enterprise and ISP Networks
Discover the power of the MikroTik RDS2216-2XG-4S+4XS-2XQ — a high-performance server with advanced storage and networking for ISPs and enterprise cloud solutions.
Read more