Reset Unifi AP to factory Defaults

I also work for a construction company and on the constructions sites, we use Unifi Access points. Sometimes if they get back they won’t connect to the controller anymore. Now you can reset them by holding the reset pin for 10 seconds. But this week I had one, a Unifi AC Pro, that I just couldn’t reset.

Now I know you can connect to the Unifi AP with SSH, so let’s take a look at the options we have there to reset an Unifi AP.

Reset Unifi Access Point with Reset Button

Connecting with SSH

To connect to the access point with SSH we first need to know it’s IP Address. You can take a look in your router if it’s listed there, or use a free network scanner. I use Advanced Ip Scanner for that. The tool is free and really easy to use.

Now we know the IP Address, we can use Putty to connect to it with SSH. Download Putty and enter the IP address and click on open. You will get a security alert which you can ignore. Just press Yes.

The default username and password for an Unifi Access Point is ubnt and ubnt

Resetting Unifi AP with SSH

When you are connected you get a welcome screen. If we enter help and press enter we get a list of the possible commands. Now, this isn’t a lot, but enough to reset the access point.

So first let’s check why it’s not connecting. Get the device information with the info command.

In this case, the device is unable to resolve the controller. The controller should be available on https://unifi:8443. If that is working then there is a reason why the Unifi AP can’t connect to it. It might be in the wrong IP range (that was the problem in this case), or it can be a DNS issue.

If you are sure that the Unifi Controller is available at http://unifi then we need to look further. A possible issue can be that the Access Point was connected to another controller or that the device was removed from this controller.

Now the best thing to do is to reset the device to factory and set the inform URL to the correct address:

First, reset the Unifi AP with:

The Unifi Access point will reset and reboot. It might get another IP address, so if you can connect to it again, scan your network for it. (or use the mobile app to find the device)

If you Unifi Controller is available on a different address then http://unifi, then you can set the address with the following command:

You should now see the Unifi Access Point in the controller ready to be adopted.

I hope this post helped you to reset Unifi AP to its factory defaults and then you can adopt it again in your controller. If you have any question, just drop a comment below. Check out this post if you want to know more about how to set up an Unifi Access point and some tips for the best performance.