07-05-2018 12:27 PM
what is the preffered method for me to remove the AC2 scheduler/keys from arround 2000 orphaned devices in my network?
I have some devices reporting every 30 seconds to IP's that were used as the server years ago.
i believe that deleting the /mcuser directory in the devices should revert them to a "virgin" state when it comes to AirControl servers it was associated with. is there anywhere else in the devices AC2 leaves config files?
i need to do that for all radios in the network. Is there any function built in AC2 to "remove all other AC2 instances from device"?
07-06-2018 03:47 AM
airControl 1/2 just add an entry to /etc/persistent/mcuser/.ssh/authorized_keys (it is the public SSH key of the airControl server and the reporting URL) so the following will remove ALL reporter entries:
rm /etc/persistent/mcuser/.ssh/authorized_keys && cfgmtd -w -p /etc/
If you only want to remove some reporter entries the command mca-provision-list displays them, and the command mca-provision-rm URL removes the specified reporter URL. I vaguely seem to remember that is the URL doesn't exist it removes all entries, so test on a few devices.
07-10-2018 06:35 AM
commands needed to remove reporting are explained here https://help.ubnt.com/hc/en-us/articles/220284408-airControl-Debugging-and-Troubleshooting
- mca-ctrl -t stop -s <url of airControl>
07-10-2018 10:28 AM
Yeah.... the prospect of logging in to 2000+ devices and removing that one-by-one (i have radios reporting to up to 3 servers,accumulated over the years....).
I was hoping AC2 would have an option to "remove all other servers other than me from my adopted radios", en-masse.
Thanks all for the help!