Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • guest network behaviour when controller is unreachable: link
  • unifi controller should not run as root: link

Upgrade

...

Update UniFi:

...

<created a small script for this in /opt/UniFi>

  1. Download latest software:
    1. cd /
usr/src
    1. home/,install/ubnt
    2. wget <download URL>
      The download URL you get by:
      1. get the version from the download page, or the notification screen
      2. Use the version number in the following download link: http://dl.ubnt.com/unifi/<Version>/UniFi.unix.zip
    3. Have the version number within the filename
      mv UniFi.unix.zip UniFi-<Version>.unix.zip
  1. Stop Service:
    1. service UniFi stop (or /opt/UniFi/UniFi-stop or systemctl stop UniFi.service)
  2. Extract UniFi Video software:
    1. cd /opt
/UniFi

    1. (The UniFi folder is within the zip file)
    2. unzip /home/,install/ubnt/UniFi-<Version>.unix.zip
  1. Start Service:
    1. service UniFi start (or /opt/UniFi/UniFi-start or systemctl start
unifi
    1. UniFi.service)


HowToo

How to: Remote Adoption

Hmm, using the Unifi App it should be possible to easily adopt a device. However I've not been able to use that.

How to: Manually setting the controller address for a Unifi AP

...

Use a default site, as some credentials are being changed to a site, then you won't be able to adopt the device (see link)


CLI commands

dmesg 
wstalist

List power options:

iwlist ath0 txpower |egrep Current |sed -e 's/^*//'
Set power option:
sed -i 's/^radio.1.txpower_mode=.*/radio.1.txpower_mode=custom/w /tmp/system.cfg' /tmp/system.cfg
sed -i 's/^radio.1.txpower=.*/radio.1.txpower=16/w /tmp/system.cfg' /tmp/system.cfg
save
reboot