Overview
This Node.JS applications provides an example of the ExCAP interface for delivering a custom Captive Portal / Splash Page for Cisco Meraki access points.
http://www.internetoflego.com/wifi-hotspot-cisco-meraki-excap-nodejs/
https://meraki.cisco.com/lib/pdf/meraki_whitepaper_captive_portal.pdf
Configure the Wi-Fi SSID
Logon to the Meraki Dashboard
Dashboard --> Wireless --> Access Control: (select SSID name from list)
Configure an SSID with a Sign-on or Click-through splash page.
Scroll down the page and enable the "Walled Garden". Enter the IP address of your web server, to provide access to your splash page content prior to authentication. Enter any additional IP addresses for hosted content such as images, terms of service, etc in this section as well.
Configure the Splash Page
Dashboard --> Wireless --> Configure --> Splash Page Select: Use custom URL
Enter the URL for the splash page. This flow provides two options, Sign-on and Click-through.
https://docs.mongodb.com/manual/installation/
mkdir excap
cd excap
git clone https://github.com/dexterlabora/excap.git
npm install
node app.js
or as a service using PM2: pm2 start app.js --name excap
You can see the session data by going to
http://yourserver/excapData/excap
Note: You should run this using SSL. The reports are not protected in anyway, so either sort that out or disable the mongodb REST route.
Cory Guynn, 2015 www.InternetOfLego.com