What I'm using:
- Ubiquiti AirRouter
- CoovaChilli
- AWS server with FreeRadius & Apache2
What I'm trying:
- Set up a captive portal using the Ubiquiti AirRouter
- Use CoovaChilli firmware to set up captive portal on Ubiquiti
- Make the radius authentification with the FreeRadiusServer on AWS
- Use apache2 server on AWS to create the web captive portal for the user to log in
I have the Ubiquiti AirRouter configured with the CoovaChilli firmware (no issues here). The AP generated by the router works as expected and when you try to see any page, you get redirected to the apache web server.
Where I'm stuck:
The communication between the captive portal and the router is my issue. I'm trying to use ChilliLibrary.js functions (ChilliJSON) to make the radius login but it seems I'm missing some configuration, the response I get when I'm trying to authenticate in the captive portal is:
GET http://127.0.0.1:1812/json/status?callback=chilliJSON.reply&0.2522223754785955net::ERR_CONNECTION_REFUSED
ChilliLibrary.js:531
I'm looking for information in CoovaChilli and Chilli documentation but cannot find anything helpfull here.
- Anybody knows any good tutorial about this part of a captive portal ? The connection between the webserver and the router ?
Thanks in advance