Last active
February 25, 2022 21:04
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\* |
dariodig
commented
Sep 20, 2021
via email
Now it works!
Thank you!
…________________________
Ing. Dario Di Girolamo
Reset Consulting
+39 339 3655392
+39 06 90283063
Da: Jens J. ***@***.***>
Inviato: domenica 19 settembre 2021 05:10
A: zerog2k ***@***.***>
Cc: dariodig ***@***.***>; Mention ***@***.***>
Oggetto: Re: zerog2k/gist:f8d5ad83d2b93f145a4f1d8964663d10
@zerog2k commented on this gist.
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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment