UniFi 2.4.5 is released

by Ubiquiti Employee on ‎08-21-2013 04:21 PM - last edited on ‎08-21-2013 06:28 PM by Deleted Account (59,222 Views)

UniFi 2.4.5 is a stable/maintenance release. It aims to fix issues that were reported against 2.3.9 and prior releases. We will keep maintaining V2 until V3 is stable.

Release Note

  • fix an issue (especially for UAP-Outdoor or Pico in high-interference environments) where AP stops accepting clients as their perceived signal drops
  • fix AP appears disconnected while still serving clients in certain environments
  • fix guests get redirected back to login page when controller's time differs from AP time
  • fix map uploading issue in some scenarios
  • fix 4th ssid with vlan not working issue
  • fix UAP-AC (US version) 5G radio issue introduced in 2.4.3
  • fix UAP-AC's 5G connectivity issue for newer Macbook Air with 11ac chip
  • fix Windows service launching issue with Java 7

From 2.4.4->2.4.5

  • fix UAP-AC's 5G connectivity issue for newer Macbook Air with 11ac chip
  • fix Windows service launching issue with Java 7

How to perform the upgrade

For Debian-based system, simply do

sudo apt-get update
sudo apt-get install unifi
	

How to downgrade?

 

Make sure you have a backup of prior version. After downgrading the controller, you can downgrade the AP firmware.

Download

UniFi Controller APT howto

  1. edit /etc/apt/sources.list
    ## Ubuntu 
    deb http://www.ubnt.com/downloads/unifi/distros/deb/ubuntu ubuntu ubiquiti
    # if you're using quantal (12.04) or after, you don't need this line
    deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
    
    ## Debian Squeeze (6.0)
    deb http://www.ubnt.com/downloads/unifi/distros/deb/squeeze squeeze ubiquiti
    deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
    
    ## Debian Lenny (5.0):
    deb http://www.ubnt.com/downloads/unifi/distros/deb/lenny lenny ubiquiti
    deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
    		
  2. add GPG Key
    # for Ubiquiti
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv C0A52C50
    # or over HTTP. E.g. 'sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C0A52C50'
    # for mongo-10gen
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
    		
  3. update, install, and upgrade
    # retrieve the latest package information
    apt-get update
    
    # you can install / switch between them
    apt-get install unifi
    		

UniFi API

A shell library, unifi_sh_api is provided with the release. here's a sample script to authorize a guest for 30 minutes

#!/bin/sh
## define required variables
username=admin
password=admin
baseurl=https://localhost:8443
site=default

## include the API library
. unifi_sh_api

unifi_login

# authorize a client for 30 minutes, limit down/up speed to 2048/1024kbps, quota is 500MB
unifi_authorize_guest "e8:17:22:10:5d:4d" 30 down=2048 up=1024 bytes=500 

# generate 10 voucher(s) valid for 60 minutes, limit down/up speed to 2048/1024kbps, quota is 500MB
unifi_create_voucher 60 10 down=2048 up=1024 bytes=500
# this returns you a token that you can call by using unifi_get_vouchers()

unifi_logout