Ubiquiti: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
[http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network. | [http://www.ubnt.com/unifi Ubiquiti Unifi] is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network. | ||
= Unifi UAP = | |||
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients. | The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients. | ||
Line 7: | Line 9: | ||
There are still some problems apparently though. | There are still some problems apparently though. | ||
= Installing the controller on Debian = | == Installing the controller on Debian == | ||
This needs to run under a desktop environment, so make sure you have one. | This needs to run under a desktop environment, so make sure you have one. | ||
Line 30: | Line 32: | ||
[https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs] | [https://help.ubnt.com/hc/en-us/articles/204910084-UniFi-Changing-Default-Ports-for-Controller-and-UAPs] | ||
= Migrating from another controller on another PC = | == Migrating from another controller on another PC == | ||
==If you are not changing hostname / IP== | ===If you are not changing hostname / IP=== | ||
# Make sure both controllers are the same version (ie update them both) | # Make sure both controllers are the same version (ie update them both) | ||
# if necessary upgrade the firmware on the controllers | # if necessary upgrade the firmware on the controllers | ||
Line 38: | Line 40: | ||
==If you ARE changing hostname / IP== | ===If you ARE changing hostname / IP=== | ||
# Make sure both controllers are the same version (ie update them both) | # Make sure both controllers are the same version (ie update them both) | ||
# if necessary upgrade the firmware on the controllers | # if necessary upgrade the firmware on the controllers | ||
Line 63: | Line 65: | ||
</pre> | </pre> | ||
= files= | ==files== | ||
/var/lib/unifi/data/system.properties | /var/lib/unifi/data/system.properties | ||
Line 76: | Line 78: | ||
/usr/lib/unifi/logs/mongod.log | /usr/lib/unifi/logs/mongod.log | ||
= migrating controller from one machine to another = | == migrating controller from one machine to another == | ||
[https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294] | [https://community.ubnt.com/t5/UniFi-Wireless/Migrate-control-to-another-computer/td-p/1891294] | ||
=EdgeMAX EdgeRouter= | |||
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on. | |||
== Basic system configuration == | |||
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system. | |||
== DHCP == | |||
Services (top) -> DHCP Server | |||
Once you have added a DHCP server you can configure it by clicking on '''Actions''' on the right of the screen and then '''View Details'''. |
Revision as of 15:51, 28 October 2020
Ubiquiti Unifi is scalable and has a linux controller software, meaning you only need to buy APs and a PC with linux on it (ubuntu recommended) to run the network.
Unifi UAP
The UAP-Pro can handle 200 concurrent clients and the UAP-LR / LR / UAP-Outdoor can handle 100 simultaneous clients.
The UAP's are very cheap.
There are still some problems apparently though.
Installing the controller on Debian
This needs to run under a desktop environment, so make sure you have one.
echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | /etc/apt/sources.list.d/100-ubnt-unifi.list wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg apt update sudo apt install unifi
Then
systemctl enable unifi systemctl start unifi
visit the controller software at http://localhost:8080
You may need to change the ports
Migrating from another controller on another PC
If you are not changing hostname / IP
- Make sure both controllers are the same version (ie update them both)
- if necessary upgrade the firmware on the controllers
- make a backup to an .unf file of the old controller
- Visit the new controller (using the applet or the website) and restore from a previous backup
If you ARE changing hostname / IP
- Make sure both controllers are the same version (ie update them both)
- if necessary upgrade the firmware on the controllers
- make a backup to an .unf file of the old controller
- Visit the new controller (using the applet or the website) and restore from a previous backup
- On the old controller
When I move the controller, I just go into the GUI on existing controller, under SETTINGS, CONTROLLER, and change the Controller Hostname / IP to the NEW IP ADDRESS, (removing unifi.yourdomain.com) and then check the box "Override inform host with controller hostname/IP" Since I have the migrated controller up and running already on the NEW IP ADDRESS, after I shut down the OLD CONTROLER, the new one immediately starts provisioning the WAPS.
Press apply changes on the bottom. You should see the new controller status of the APs changing to connected.
An alternative method is to SSH to each AP and use set-inform to point them to the new controller
set-inform http://IP.ADDR.OF.Controller:8080/inform set-inform, adopt, set-inform a second time. If you forget the syntax, 'help' will help
files
/var/lib/unifi/data/system.properties
if this doesn't exist
java -jar /usr/lib/unifi/lib/ace.jar discover
/usr/lib/unifi/logs/server.log
/usr/lib/unifi/logs/mongod.log
migrating controller from one machine to another
EdgeMAX EdgeRouter
The UI is slightly confusing as there are buttons on the top, bottom, middle and at the bottom. Also, logging only starts once you log in, so the dashboard and traffic analysis only start once you are logged on.
Basic system configuration
After running the wizard, basic system configuration can be done by clicking the System button on bottom left. This is where you can backup and reboot but also add extra DNS servers to the system.
DHCP
Services (top) -> DHCP Server
Once you have added a DHCP server you can configure it by clicking on Actions on the right of the screen and then View Details.