Skip to main content

Set Up Unifi

Set up Unifi on Linux

If you are using a RockPi as a controller, click HERE

Otherwise click HERE

 

 

SSH into RockPi and perform some updates.

  1. To SSH into the server we will be using Putty. Download and install Putty.
  2. Open up putty and type in the IPv4 address of your server and click open.
  3. Log into your RockPi with the username rock and password rock

  4.  Start with making sure we have the latest updates installed.
Console

5. Give it a few minutes for the updates to install and afterwards run the following command to reboot.

Console

Lets Install UniFi SDN Control Panel on Ubuntu 20.04

  1. Once the server is rebooted and your reconnected into the server using SSH we will now get started with running the following command.
Console

2. You will be prompted to keep the script which here I type in: Y
3. You will be prompted to apply some updates to the system, type in: Y
4. Now just wait while the installation proceeds to install some required software.
5. Next prompt will be to install script to be able to update Unifi Network Controller via APT, type in: Y
6. You should now be complete with the installation.
7. Lets make sure that the Unifi Controller service auto starts with the following command.

Console

Installing Fail2ban

Fail2ban will protect your cloud hosted Unifi Controller from brute force attacks. This script will ban people after 4 failed attempts for 10 minutes. 

Console

Set up Unifi on Windows

1) Install the Unifi controller for the specific model of Unifi equipment from this link: https://www.ui.com/download/unifi/
2) Run the downloaded installer and continue through the setup process
3) Run the installed Unifi controller

image-1649271304513.png

4) The Unifi controller will start up, once started click Launch Browser to Manage the Network

image-1649271423694.png

5) You will be taken to a web page where you can configure the Unifi network equipment and the controller

Adding the controller to the UniFi Account

 

1-Go to the IP of the device on port 8443 EX -192.168.1.12:8443

Make sure you type https:// before the  IP or you will get a Error Message

It will tell you that "Your connection is not Private" Click on ADVANCED and then on Proceed to 192.168.1.170 (unsafe)

image-1639491431503.png

2-Here we will name our controller.

Idea Of Naming is RockPi-x where x is a unique number.

3-Next, login using our [email protected] UniFi account

image-1639492217235.png

4-Next, Enable "Automatically Optimize my network" and click NEXT

image-1639492299760.png

5-Click NEXT Again

6-Under WIFI Setup click Skip

7-Make sure everything is Correct including Time Zone and click Finish

image-1639493031919.png

 

And That's it, you should see it under the UniFi app and use it as a Controller adding devices etc.