Ubiquiti UniFi¶
It’s a pretty self-explanatory system, but anyway, here’s some stuff on it.
Access Point¶
L3 Adopting SSH¶
For the Ubiquity white page, please see: https://help.ubnt.com/hc/en-us/articles/204909754-UniFi-Device-Adoption-Methods-for-Remote-UniFi-Controllers
Make sure the AP is running the same firmware as the controller. If it is not, see this guide: Changing UniFi firmware via SSH. This is not required for minor version differences.
Make sure the AP is in factory default state if it’s not, do:
`syswrapper.sh restore-default`
SSH into the device and type the following:
`set-inform http://unifi.example.com:8080/inform`
The AP will now show up for adoption. Click adopt and the device will go offline.
Once the device goes offline, repeat step 3. The device will save the inform URL and will start provisioning.
Cisco Switchport Config¶
Below shows UAP config for switchport, where 10 is the VLAN the AP natively lives in, 20 & 30 being WLANs.
interface GigabitEthernet0/5
description UAP
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 10,20,30
switchport mode trunk
Controller¶
Installation¶
Refer to this guide: https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu
Backups¶
Manual Backups
To manually backup the controller, go to Settings > Maintenance > Backup. Set the Backup Data Retention and click on Download Backup. Manually copy the backup to <LOCATION>.
Auto Backups
Restoring¶
To restore the controller from a file, go to Settings > Maintenance > Restore. Click on Choose File and select the file to restore.
Windows Credential Recovery¶
Open Ubiquiti UniFi Controller.
Download mongoDB. https://www.mongodb.com/download-center
Open CMD
cd %userprofile%\downloads\mongo..\bin
/mongo --port 27117
use ace
db.admin.find()
The username and password will be at the bottom