Skip to content

Instantly share code, notes, and snippets.

@zerog2k
Last active February 25, 2022 21:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zerog2k/f8d5ad83d2b93f145a4f1d8964663d10 to your computer and use it in GitHub Desktop.
Save zerog2k/f8d5ad83d2b93f145a4f1d8964663d10 to your computer and use it in GitHub Desktop.
notes for repurposing Ubiquiti CRM Point to "Cloud Key", by installing unifi controller
install latest crmpoint fw per:
https://community.ui.com/questions/Installing-airControl-on-CRM-Point/a4f1fdcd-114a-4c06-a842-e56eff486570
# login via ssh
# change root/ubnt password
passwd
# fix jessie backports repo
echo "deb http://archive.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until
apt update
apt install mongodb-server binutils logrotate jsvc gawk
apt install ca-certificates # to allow wget via http
# unifi controller linux deb pkg 6.0.x
cd /data
wget "https://dl.ui.com/unifi/6.0.43/unifi_sysvinit_all.deb"
dpkg -i unifi_sysvinit_all.deb
systemctl stop aircontrol
systemctl stop postgresql
systemctl stop infctld
systemctl disable aircontrol
systemctl disable postgresql
systemctl disable infctld
systemctl restart unifi
# after setup, had to cycle "enable remote access" in unifi controller to get it to show up in unifi ios app
#led fix
mkdir /etc/systemd/system/unifi.service.d
cat <<EOF >/etc/systemd/system/unifi.service.d/leds.conf
[Service]
ExecStartPost=/bin/sh -c '/bin/echo 0 > /sys/class/leds/white/brightness; /bin/echo 255 > /sys/class/leds/blue/brightness'
EOF
systemctl daemon-reload
# cleanup aircontrol/postgres?
apt remove aircontrol postgres\*
@robclark56
Copy link

robclark56 commented Nov 29, 2020

Just installed UniFi v6.0.36 following these instructions.

Worked well.
Thanks!

@dariodig
Copy link

dariodig commented Jun 8, 2021

Just installed UniFi 6.2.25, browser ok, sync with ubiquiti account ok
All is gone well, the only problem is that I cannot discover any device, i have a USG, two APs and one switch 8p. I have installed UniFi on my laptop and it finds the devices, adopt, upgrade...

Any idea?
Yes, all the devices are in the same LAN

@dariodig
Copy link

I have found this

ERROR discover - unable to bind udp:10001 socket and L2 discovery will not work

That's why it cannot find the devices.

@zerog2k
Copy link
Author

zerog2k commented Sep 19, 2021

ERROR discover - unable to bind udp:10001 socket and L2 discovery will not work

@dariodig
I believe I found the issue, there was another legacy daemon left behind, infctld that had something to do with discovery.
I updated the instructions to stop & disable that. Also, testing w/ 6.0.x unifi network controller.

@zerog2k
Copy link
Author

zerog2k commented Sep 19, 2021

also might have found a newer method, and it pulls 6.2.x direct from ubnt repo
https://gist.github.com/zerog2k/1ea5ab2223c4d92d70f8e95574b8837b

@dariodig
Copy link

dariodig commented Sep 20, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment