There may come a time when you want to change the IP Address of your controller. Perhaps you don’t like the DCHP lease IP address it has or you want to move it to a management VLAN. Whatever the reason, making this change will cause any adopted devices to show up disconnected and they will not be able to reach the controller.
Fix: Option 1 – It’s DNS
Before changing your controller’s IP address, log into your controller and navigate to settings–>controller
Under the Controller Hostname/IP specify a hostname of unifi.<domain>, replacing <domain> with whatever it is you are using (potentially .local). Save and allow the devices to re-provision. They will now seek that entry rather than http://ip:8080/inform that it was using before.
Now, log into whatever device manages your DNS and create a static entry for unifi.<domain> with the new IP address. Change your static DHCP assignment or however you manage your IP addresses and wait for the controller to move over to the new IP address. Once it has, log back in and wait for the devices to reconnect. It may not happen instantly as it depends on when your switch/aps poll again.
If you have enabled the changes but some of your devices did not re-provision with the new changes, you can SSH into your device and run
Fix: Option 2 – SSH set-inform
In this scenario you can change the IP address of your controller first, then ssh into each device and run the ‘set inform’ command to provide them with the new IP address of the controller.
You can get the SSH username and password (or if you’re more secure, the keys) by going to settings –> Site and at the bottom Device Authentication
Once you’ve ssh’d into the device run the command
The Unifi device should show up after this. This works for layer 3 adoption which is useful when you are working across different subnets.
Fix: Option 3 – DHCP Option 43
I haven’t tried this option yet but it’s listed in the documentation. Convert the IP address of the controller to hex https://www.browserling.com/tools/ip-to-hex then prepend it with 01:04, replacing all periods with colons (.) to (:)
192.168.1.1 would look like 01:04:c0:a8:01:01
in pfSense or OPNsense go to your DHCP server and add it to the Additional Options section
OPNsense does have the option for IP address or host so I would be interested in knowing whether or not using the unconverted IP address works for people. I’m currently leveraging the DNS method so I don’t plan on testing this out right now, but please leave a comment if this works for you or not.
In my previous guide, we have gone and bought a Ubiquiti Unifi AP-AC Lite and installed it to our network via the UniFi Controller. Of course that’s just barely scratching the surface. The abundance of configuration options available will help give us more flexibility and security to our WiFi network than ever before. Before we go on ahead, there are a few things that you need to know about the UniFi Controller.
Ubiquiti UniFi products and WPS(Wi-Fi Protected Setup) compatibility
WPS allows for a wireless router to easily connect multiple devices without having to enter an WiFi password. The UniFi series of access points does not support this function due to a major security flaw that allows anyone to gain access to a router with relative ease, therefore bypassing any form of password protection employed on the device. When dealing with any wireless router with WPS, I highly recommend that you disable this particular feature as it’s most likely turned on by default in the router settings.
Ubiquiti UniFi Controller dashboard
Open up your web browser and navigate to your controller’s address. By default the controller utilizes port 8080 and 8443 for web access(e.g. 127.0.0.1:8080 in the address bar).
This is the front page of your Ubiquiti Unifi Controller. Here, you can see a list of devices connected, their traffic, and any particular error the system or access point(s) that may have occurred. At the top where it says “Everything is Good” is referred to as an “WiFi experience score”. A WiFi score depends on many factors such as whether enough people connected to the WiFi are experiencing a stable connection as well as through the WAN network that the access point has been connected to. It is also calculated based on WiFi density and whether there’s interference nearby from other access points.
Anomalies are errors and warning information displayed on the Dashboard. As you can see, I have 3 anomalies in my controller telling me that some of the devices in the network have been rejected. This is because some of those devices were previous blocked and are trying to access the access point again. When an error like this occurs, it is best to change your WiFi passwords to something else for security.
Just below anomalies we have “Association Failures”. These sort of statistics tell you how many times a device has tried to connect to our access point and failed for the following reasons:
- Association Timeout – The amount of time it takes for a device to try and connect before being kicked off after a certain amount of time spent trying.
- WPA Authentication Timeout/Failure – Same as association timeout, but for taking too long trying to authenticate the password.
- Block by access control – How many times blocked devices on the block list have attempted to connect to the access point.
- DHCP Timeout/Failure – How long it takes before being kicked out for trying to obtain and IP address from the router or server within the LAN network.
Statistics in UniFi Controller
On the left navigation pane, click on statistics. Here, you will find a section dedicated to displaying all traffic going in and out of your Ubiquiti devices as well as what kind of traffic is passing through what we refer to as DPI(Deep Packet Inspection). For this kind of functionality you will need to get a Unifi Security Gateway. The UGS is a router that provides DPI and is also dependant on the controller for configuration and functionality.
Maps in UniFi Controller
Right below statistics on the navigation pane is map. On the top left corner we currently have “Topology” selected. This allows us to see all of our Ubiquiti UniFi access points connected as well as our wireless clients. There’s also a “Floorplan” function when you click on “Topology”. It looks just like a blueprint for a house, this lets you design and plan where to place your WiFi device(s).
By clicking in “Place Devices”, you are given a list of various Ubiquiti UniFi products to plan and place. Search for Unifi AP-AC-Lite, click and drag the icon to a place on our floorplan. You can also add a new floorplan and configure it by either adding an image or by using Google Maps which is ideal for accuracy and placement of your network setup.
In this section, you will see a list of Unifi access points configured and deployed on the controller. Sky’s the limit as to how many of these you can add and manage at the same time. You are also able to update(if available), locate and reboot each access point with a simple click of a button on the right next to “Uptime”.
By click on an device, you will get a pop up on the right side of the web page displaying information about the access point, its status, users connected, and configuration options. Under “config” you can change the channel for each of the frequencies(2.4 or 5GHz) as well as DHCP client or static, for example.
Your wireless clients/users is displayed here. On my access point, I have currently 3 users connected with all solid connections. The green bar displayed under each indicates their WiFi experience score. The up and down arrows indicate how much date they have consumed via uploading and downloading. Again, by click on one of our clients, we can see their connection status, history, as well any configuration options available which we will get to later on.
Insights allows us to see who has connected to an access point and how many data has been consumed. It also lets us see the IP address assigned to them by our DHCP server, duration, when they’ve re-connected to the AP, and which access point/port that they have connected to.
By clicking on “Past Connections”, you will see several other options for monitoring devices. “Neighboring Access Points” allows for any access point within our network to scan for other nearby access points. “Client History” lets us see all of our connections in detail. We are able to see when they are first seen and the last time connected. To get the most out of everything else, you will need a USG.
Manually setting the controller address for a Unifi AP
In some circumstances there may be a need to manually tell a Unifi AP where to find its controller. This may be needed if you can’t provide the host name “unifi” in the DNS server for the subnet that the APs are located in.
The prerequisite to this process is you must know the IP address of the AP you need to modify. How you accomplish that I leave to you.
ssh to ubnt:192.168.1.20 (or whatever the IP address is.)
default password is ubnt, if it something else, I hope you wrote it down when you set it. 🙂
You must reset the AP to defaults before changing the inform ip address. To do so execute the following command
This will reboot the radio and disconnect your SSH session. Once it comes back online, you will need to reconnect.
Connect to the mca client
Now issue the set-inform command with the IP address of your Unifi controller.
The AP should connect to the controller within a few seconds and you are set.
My need for this arose when I copied my config from my local Unifi controller to a new one on a VM in a different subnet. The problem I ran into was that DNS for the subnet where the APs were isn’t setup to use our internal DNS servers so it wasn’t seeing the “unifi” host in my DNS. Since I didn’t have direct control of the router, I had to find a solution until the router could be updated. Thanks to the Ubiquiti forum guys for providing this solution. (see Reference Link)
Tags:ubiquiti, unifi, wifi
Linux Windows & Networks System Administrator with some years of professional working experiance in the IT field. This is my personal blog where I make some notes and memo's on interesting materials.
It seems quite cute, the body is muscular, the face is one of those that girls like, but how many difficulties in communicating with girls arise when. You only need sex. I realized very early that its cheaper to pay a professional than to give all the best financially and emotionally on dates, and then get bummer. Prostitutes often come out cheaper and more pleasantly.
For years I met with some from time to time, I almost married one, but this is a completely different story.
Controller address unifi
His hand crawled down unexpectedly, stroked the tender pubic area slightly covered with fluff. But she didn't stop. She moved on. Everything in me began to tremble with anticipation. My partner froze, enjoying my heated, embarrassed and contented look at the same time.Initial Configuration Unifi Controller and Access Points │ English Version
Exhausted, I plugged in an old modem. Painfully familiar howls went, but the connections could not be established. What a bad luck. - I cursed and took out an opened pack of blue Churchill from the stash.
You will also like:
- Clevr blends coupon
- Classic tamil songs
- Sapphire 5700
- Monkey baby gear
- Intracranial pathology definition
- 1976 dodge cars
You want me, I'm sure of it. I'm not sure of my desire. It's not about fat-bald-nosed-hairy. The point is that you will come and go. I'll stay.