Deploy an Ubiquiti UNIFI WIFI6 network using Raspberry PI 5 as controller

Опубликовано: 14 Январь 2024
на канале: Linux Tech School
7,148
104

Welcome to my Channel!

In this video I'll show you how to deploy an Ubiquiti UNIFI WIFI6 network using Raspberry PI5 as controller. This is a very nice solution that allows you to control the Access Points and the users on the network.
Ubiquiti is known to sell very high quality networking equipment and by using Linux with UNIFI service we are able to fully control what happens on our Wireless LAN.

I have been using for the past 4 years, UNIFI on raspberry PI 3,4 and no 5. No issues or incompatibilities so far.

The solution uses the Raspberry PI OS 64bit. I've installed desktop version but changed the boot to multi-user.target using systemctl command. This way, the hardware boots linux on command prompt only. No graphical environment loaded.

Here are the relevant commands (execute them under sudo or direct root account):

apt install rng-tools

nano /etc/default/rng-tools-debian
uncomment line with #HRNGDEVICE=/dev/hwrng

systemctl restart rng-tools

wget http://ports.ubuntu.com/pool/main/o/o... -O libssl1.0.deb

dpkg -i libssl1.0.deb

wget https://repo.mongodb.org/apt/ubuntu/d... -O mongodb.deb
NOTE: always check for latest versions.

dpkg -i mongodb.deb

systemctl enable mongod

systemctl start mongod

echo "deb [arch=amd64
signed-by=/usr/share/keyrings/ubiquiti-archive-keyring.gpg]
https://www.ui.com/downloads/unifi/de... stable ubiquiti" | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list redirect_here /dev/null

curl https://dl.ui.com/unifi/unifi-repo.gpg | sudo tee /usr/share/keyrings/ubiquiti-archive-keyring.gpg redirect_here /dev/null

apt update

apt install openjdk-17-jre-headless unifi

Finally, visit UNIFI portal:

https://your_ip_address:8443

Enjoy!

Hope you find this video useful. Thanks a lot for watching.
Regards,
Rodrigo Matias.