This guide shows how to configure an Ubiquiti Networks managed controller in order to integrate access points with SpotOn.
When a Cloud Key is used it’s important to upgrade the your Cloud Key to the latest firmware. After this, upgrade the version of UniFi controller to it’s latest stable version 5.11.39. However, Ubiquiti works with a soft-launch, so during the first 1 or 2 weeks you can only manually update to this latest version. After this period you can update from UniFi or Linux to the latest version yourself.
To update to 5.11.39 you must log in to the controller with SSH. Use these commands:
cd /tmp sudo wget https://dl.ui.com/unifi/5.11.39/unifi_sysvinit_all.deb sudo dpkg -i unifi_sysvinit_all.deb sudo rm unifi_sysvinit_all.deb
(NOTE: This link only applies to the Cloud Key and Debian / Ubuntu Linux controllers. For Other operating systems, the link must be copied from this page: https://www.ui.com/download/unifi/)
After updating, the firmware of the access points can be updated to 4.0.54. In addition, a new option must be deselected to supplement the manual on the Spoton website.
The option is on the “Guest Control” page and is called: “Enable encrypted redirect URL”. This must therefore be switched off, see figure:
This article applies to Ubiquiti Unifi SDN Controller with Firmware release 5.11.39 or later versions. It is required to work with these versions to be fully compatible with SpotOn.
To correctly integrate Ubiquiti Networks devices, it is necessary that:
To use these access points, it is necessary for the router to be connected to the Internet.
It is recommended to update your device firmware to the last available version.
You may choose to configure the device to automatically receive and install last firmware updates.
In order to correctly redirect guests to our Splash Page, it is necessary to download the controller files onto the controller server.
Before downloading the controller files, you need to check your settings. Log in to the Unifi Controller web UI, go to SETTINGS > GUEST CONTROL; find the PORTAL CUSTOMIZATION tab and set:
Note: It is important to do this action before downloading the controller files. Otherwise, the destination path for your files might not be available.
After this step, you can extract the controller files. The destination path depends on the OS which hosts your Controller.
After completion check if spoton_unifi.js contains the Custom URL to our Splash page. *Contact the SpotOn team to recieve your Custom URL.
In case you have a Cloud Key:
To set up your SSID, go to Settings > Wireless Networks and create or edit your wireless network.
To set up your SSID, go to Settings > Profiles and create or edit your RADIUS server configuration.
It is necessary to check Enable accounting and Enable Interim Update, and set RADIUS Auth Server and RADIUS Accounting Server accordingly with the data specified in the “Parameters for the Solution” paragraph.
Go to Settings > Guest Control.
Find the Guest Policies tab and configure the options as follows:
Find the Hotspot tab, check Enable RADIUS-based authorization and uncheck all the other options.
Find the RADIUS tab and configure the options as follows:
Under Guest Control tab go to Pre-Authorization Access section and enter here your required entries. The following ones are required for the proper functioning of the system.
portal.spotonwifi.com spotonwifi.com ssl.gstatic.com accounts.google.com facebook.com fbcdn.net akamaihd.net facebook.net twitter.com abs.twimg.com syndication.twitter.com api.twitter.com abs-0.twimg.com pbs.twimg.com instagram.com ajax.cloudflare.com placehold.it placeholdit.imgix.net
The parameters indicated above for the Mode Settings section are mandatory for the proper functioning. The necessary parameters to integrate the device with the Solution are the following:
IP-address: 220.127.116.11; Port: 1812
IP-address: 18.104.22.168; Port: 1813
RADIUS password / Shared Secret:
Ask the SpotOn team for your custom URL.