The following actions are required to use the code given in this repo:
Suppose your domain is hotspot.example.com
. It can be setup like this:
cd /var/www
git clone https://github.com/splash-networks/aruba-instanton-yt
mv aruba-instanton-yt hotspot.example.com
cd /var/www/hotspot.example.com
Copy the .env.example
file to .env
and set the values of the given environment variables in it:
cp .env.example .env
nano .env
Navigate to public folder:
cd /var/www/hotspot.example.com/public
Use this link to install Composer. Then run php composer.phar install
to install the packages given in composer.json
.
Apache virtual host can be setup on the portal server using the instructions given here.
The portal files are in public folder in this repository. DocumentRoot will be:
/var/www/hotspot.example.com/public
It has been successfully tested on an Aruba Instant On AP15.
FreeRADIUS setup instructions for Aruba Instant On that authorizes all username/passwords are given here.