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
Vlans tagged untagged Trunk Routeros new
Vlans In Routers new. Tagged and untagged ports. Since RouterOS 6.41.5 I think the MT has changed a few things in regards to VLANs and their filtering and management. Here is a short howto that shows how to deal with VLANs in Mikrotik
Read moreSSTP VPN server with certificate on Mikrotik
Quick and dirty way of installing SSTP server on Mikrotik with firewall rules
Read more