![unifi controller on raspberry pi unifi controller on raspberry pi](https://www.smarthomebeginner.com/images/2019/04/my-network-setup-final.jpg)
- #Unifi controller on raspberry pi install#
- #Unifi controller on raspberry pi serial#
- #Unifi controller on raspberry pi update#
#Unifi controller on raspberry pi serial#
A minor edit is needed to support serial console instead of keyboard and monitor.Įdit /Volumes/boot/cmdline.txt and change console =ttyAMA0,115200 console =tty1 Upon successful flashing of the SD card it should be automatically mounted. Since dd does not output anything by default, it is possible to query its progress by sending Ctrl-T. sudo dd bs =1m if =-raspbian-jessie-lite.img of =/dev/rdisk2 diskutil unmountDisk /dev/disk2Ĭopy the data to the SD card. Unmount the SD card by using the disk identifier (assuming this is disk2). Identify the disk (not partition) of the SD card, i.e. Hopefully an upgrade is availalbe soon which would eliminate those additional manual steps. There were a few unusual steps required to address some issues of the particular version I was using.
#Unifi controller on raspberry pi install#
Please enable JavaScript to view the comments powered by GitHub.This post describes the process I uses to install the Unifi Controller software on a Raspberry Pi. Then restart the Caddy service and it should work: sudo systemctl restart caddy To set up Caddy, all we need to do is replace the contents of the configuration file, found at /etc/caddy/Caddyfile using your favorite terminal editor (e.g.
#Unifi controller on raspberry pi update#
With that in place we can install Caddy: sudo apt update
![unifi controller on raspberry pi unifi controller on raspberry pi](https://raspberrytips.com/wp-content/uploads/2019/01/raspberry-pi-unifi-controller.jpg)
echo 'deb /' | sudo tee /etc/apt//caddy-fury.list We’ll want to visit the webgui on a standard port like 443 instead of 8443, and also get valid certificates to boot!įor this we’ll use the fantastic software Caddy, which recently had its 2nd major release.Īs with the Unifi software we’ll need to add their repositories first. We can now finally install the Unifi Controller Software: sudo apt updateĪfter everything is installed, the Unifi software should be running automatically, and you’ll be able to visit it at Bonus: Reverse proxy
![unifi controller on raspberry pi unifi controller on raspberry pi](https://lazyadmin.nl/wp-content/uploads/2019/10/Unifi-Controller-on-Raspberry-Pi.jpg)
Sudo curl -sSL -o /etc/apt//unifi-repo.gpg sudo apt install -y apt-transport-httpsĮcho 'deb stable ubiquiti' | sudo tee /etc/apt//ubnt-unifi.list Getting right into it, we’ll add the Ubiquiti repositories and add their GPG keys for verifiying the package signatures. We’ll also want to install something to speed up any actions that require randomness, as a Raspberry Pi can’t generate entropy fast enough because it has no mouse or keyboard to generate it from. sudo apt install -y openjdk-8-jre-headless With that out of the way, the first thing we need to do is install a newer Java runtime than the default, as the Oracle version available in the default repositories is too old for the Unifi software. Sudo apt upgrade -y sudo apt autoremove -y sudo apt autoclean -y sudo reboot release=buster instead of jessie).īefore we do anything, make sure we’re all up to date on software: sudo apt update I’ve already written about setting up a Raspberry Pi, and while that guide is quite old it still holds true, just with newer versions of everything (e.g. One of the things it can do just fine is manage a small home or office Ubiquiti-based network. I wanted to repurpose my old Raspberry Pi 2 into something useful, as its age is showing and can’t be used for anything complicated these days. Unifi Controller on a Raspberry Pi Unifi Controller on a Raspberry Pi