Hi all,
Though I have a good working OpenWRT, I am trying to see if I can make HotSpotSystem work with pfSense.
pfSense is BSD based, and does not run Coova nor Chili, but does have a captive portal.
I got as far as to enter Radius info, and to redirect to the logon URL, but the logon URL wants the NASID, which there is no parameter for I suspect I simply could parse it into the URL, but how?
Right now, I am forwarding to URL: https://customer.hotspotsystem.com plus /customer/hotspotlogin.php?mode=comb
and get message: ERROR: NASID is missing, there are missing parameters in the URL
Obviously I tried: .../customer/hotspotlogin.php?mode=comb&nasid=username_location
and then I get: Login must be performed through ChilliSpot daemon!
Same for: .../customer/hotspotlogin.php?mode=comb&nasid=username_location&secret=hotsys123
A bit better, but not quite. Probably something more needs to be added
Any suggestions? pfSense allows me a PHP file to be parsed, so possibly I can even squize an MAC in there (not sure, IP would be easier).
The rest of the parameters, like radius1&2, secret, allowed IP and hosts, are all there in pfSense GUI setup.
Any help appreciated
Pfsense Captive Portal
Started by cybermaus, Mar 08 2012 08:37 PM
4 replies to this topic
#1
Posted 08 March 2012 - 08:37 PM
#2
Posted 09 March 2012 - 10:09 AM
Hello,
well, this kind of solution works only with coovachilli or chillispot based implementation.
You can try
but from there users still need to log in which must be through the router.
If pfSense has an internal IP for logins, then you can set it in the Control Center > Modify Hotspot Data > Splash Page settings.
Or it may need a mikrotik like setup where the login page is local and you can edit it. You can see the mikrotik guide, step 10, how it was implemented there.
well, this kind of solution works only with coovachilli or chillispot based implementation.
You can try
https://customer.hotspotsystem.com/customer/index.php?operator=youroperatorname&location=yourlocationnumber
but from there users still need to log in which must be through the router.
If pfSense has an internal IP for logins, then you can set it in the Control Center > Modify Hotspot Data > Splash Page settings.
Or it may need a mikrotik like setup where the login page is local and you can edit it. You can see the mikrotik guide, step 10, how it was implemented there.
#3
Posted 05 July 2012 - 11:21 PM
Did you ever get pfsense to work with hotspotsystem?
#4
Posted 06 July 2012 - 08:55 AM
We haven't tried it, and didn't hear anyone who successfully set up pfsense with our system yet (but only a few operators wanted to work with pfsense so there can be a chance that it will work anyway).
#5
Posted 20 April 2013 - 05:05 PM
Hi I am working with pfsense captive portal too
I used the Mikrotik guide but i have problems with some values in the login.html file
Can you tell me what value shoul be in $(server-address) i already tried with some but it is still not working
I get the login page i can activate the code but then i get a url with an error not found like this:
$(server-address)/logon?username=1m-xxxxx&response=f5d.....
Thanks a lot i hope we can get a guide for pfsense after this
I used the Mikrotik guide but i have problems with some values in the login.html file
Can you tell me what value shoul be in $(server-address) i already tried with some but it is still not working
I get the login page i can activate the code but then i get a url with an error not found like this:
$(server-address)/logon?username=1m-xxxxx&response=f5d.....
Thanks a lot i hope we can get a guide for pfsense after this
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












