jacobalberty / unifi-docker

Unifi Docker files
MIT License
2.14k stars 454 forks source link

Complete the README with overriding the inform endpoint in the AP #686

Closed sandrasi closed 9 months ago

sandrasi commented 1 year ago

Having followed the instructions of the Overview, the AP still didn't show up for adoption even after completing the steps listed in the Adopting Access Points and Unifi Devices section. What I had to do was SSH into the AP and configure the inform endpoint there as well. Assuming I am not the only one who had this problem, it may worth pointing it out in the overview.

These are the additional steps I had to take:

  1. Once the AP is connected to the local network and it's fully booted, check its IP address. For the sake of the example let's say it's 192.168.2.102.
  2. Using this IP address and the factory default username (ubnt) and password (ubnt), SSH into the AP:
    $ ssh ubnt@192.168.2.102 -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa
  3. Inside the AP, configure the inform endpoint:
    $ set-inform http://ip-of-your-docker-host-computer:8080/inform
  4. After issuing the set-inform command, the AP should show up for adoption. As per this comment, after adoption the AP may appear to go offline after which the set-inform command may need to be run again to make it permanent.
CompKingCanada commented 12 months ago

Either that or have a local DNS with a record for "unifi" that points to the IP of the console.

alj-dev commented 11 months ago

Thank you very much Sandrasi - now it works - after I migrate from a standalone installation on Raspi to this Docker i was not able to see the Ap's. I did the connection to the AP's without Keys - but the pass, I set long time ago, was readable in the controllers settings - advanced tab under "Device Authentication". And also a big thanks to jacobalberty!

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.