Linux Mauritius

Archive for October 2015

Ubiquity is undoubtedly a very popular choice for building Wireless Networks. Being among the early adopters of the UniFi platform [AP/AC/Outdoor], the network quickly grew to span over multiple sites. As the APs could be provisioned and the controller switched off, I had a controller running on CentOS 7 only at the primary site and used to have a dummy controller on a laptop to provision APs at remote sites. With the release of the controller version 4 and the need for guest control / statistics, I clearly needed to manage all APs from a central location. Enter Layer 3 adoption, there are a few options on the official blog https://help.ubnt.com/hc/en-us/articles/204909754-UniFi-Layer-3-methods-for-UAP-adoption-and-management but they all seem to miss a simple trick for those who are not bothered about DHCP/DNS setup.

  • Start by resetting the AP to defaults using the hardware reset switch
  • If you have a DHCP server, find out the IP address and SSH into the AP using the default credentials ubnt/ubnt. If not, set a static IP and SSH to the default IP 192.168.1.20.
  • To adopt the remote AP, the controller must be able to communicate with the AP. The AP sends inform messages to the controller using the hostname ‘unifi’, so we will modify the host file on the AP to point ‘unifi’ to the controller address. Run the following commands:

echo 10.1.1.107 unifi >> /etc/hosts [replace 10.1.1.107 with the IP of your controller]

cat /etc/hosts [to check that the line now exists in the file]

  • Enter the AP shell and run the following:

mca-cli

set-inform http://10.1.1.107:8080/inform

You can now adopt the AP on the controller. If you want to have different settings [SSID/Limits], create a new site and adopt the AP in that site.

UniFi

Advertisements

Enter your email address to follow this blog and receive notifications of new posts by email.

Member of the Fedora Project

Home of SnowBird Linux Remix

negativo17.org

I'm not dumb. I just have a command of thoroughly useless information.

Red Hat Services Speak

Insights and news on Red Hat training, certification and consulting

Máirín Duffy

Open design forever.

Matthew Garrett

Penguins on the paradise island

Remi's RPM repository - Blog

Penguins on the paradise island

Brno hat

Blog of Jiri Eischmann

Simon + Fedora

Penguins on the paradise island

Luc de Louw's Blog

Penguins on the paradise island

Richard WM Jones

Virtualization, tools and tips