User Tools

Site Tools


systems:ubiquiti

SSH into AP

SSH into device using PuTTY or similar

NOTE: TAB TAB to see all commands

default user and password is ubnt for both

Note: for messages: cat /var/log/messages

Change AP to new ip address on different network from contoller

Note: must have pathway to/from controller to AP

2020-11-29

I am not sure about the cloud key, as I dont use it. My controller is in my own cloud server. Setting up the cloud one is just like any other with two added parts, forwarding ports to your public IP address given to you by your provider and applying it to your domain name (assuming you have purchased a domain) with an A host record. once that is done you have to change the inform address that is default on the unifi devices. Default I think is http://unifi:8080/inform  there are two ways to change this.   1. install Ubiquiti discovery tool (or Chrome plugin) select Unifi Family select device Update inform address to http://unifi.yourdomain.here:8080/inform device will appear in controller waiting to adopt, adopt new device   2. SSH into device using PuTTY or similar

NOTE: TAB TAB to see all commands

default user and password is ubnt for both enter: set-inform http://unifi.yourdomain.here:8080/inform   Adopt on controller enter again: set-inform http://unifi.yourdomain.here:8080/inform done   Recently I found affordable cloud servers with datacenters all over, it doesnt necessarily have to be right next to you for latency issues because not a lot of data is being passed to controller and it is merely displaying a website.  https://www.vpsserver.com/?affcode=2678c44994c7 

From <https://community.ui.com/questions/Access-the-unifi-controller-dashboard-from-a-custom-domain-name/daa29d3f-f825-47d9-b5cd-c71c8185c7b6>

• 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

From <https://wisp.net.au/info/ssh-commands-for-unifi-11.html>

Reset to defaults

#You must reset the AP to defaults before changing the inform ip address. To do so execute the following command

syswrapper.sh restore-default

#This will reboot the ap and disconnect your SSH session. #Once it comes back online, you will need to reconnect.        Set new inform IP address

#Connect to the mca client

mca-cli

#Now issue the set-inform command with the IP address of your Unifi controller.

set-inform http://192.168.3.2:8080/inform

#The AP should connect to the controller within a few seconds and you are set.

From <https://sites.google.com/site/altwhy/wiki/ssh-reset-adopting-unify-ap>

How to update Unifi Controller

From: https://www.ui.com/download/unifi/unifi-ap-ac-pro

5. Once a new command prompt line is presented, that means uninstalling the service was successful. Update the UniFi Network Controller application's version with any of the regular methods. Go to Settings > Maintenance in the Controller to upgrade to the latest public released version, or alternatively download the UniFi Network Controller installation package for Windows from the Downloads page or the Releases section of the Community.

From <https://help.ui.com/hc/en-us/articles/205144550-UniFi-Run-the-Controller-as-a-Windows-Service>

systems/ubiquiti.txt · Last modified: 2021/02/14 20:17 by superwizard