I am trying to create a hotspot login page that doesnt need a user name and password. All i want is a “login” button. I have tried to use the example in the docs to no avail.
To provide predefined value as password, in login.html change:
to this line:
(where hspass is the password you are providing)
If i use the example above i am getting CHAP errors in the log.
Can someone please post a working login.html file for me as for this has whipped me.
Just create a user in your router auth system (IE radius) or local.
Give it a known password.
Edit the login screen and remove the user name and password boxes.
Add the text you want to display (Acceptable use Etc.).
Preset a string (the same one passed via the login and password boxes you removed) to the same values you created in radius or local, and when the user"accepts" the terms the preset user/password is passed off the the authentication system (local / radius) and the user is granted access. I would log wireless / hotspot activity to a syslog server. as user information will all be the same.
I think with the correct logging (I would use syslog —> SQL) that you could backtrack your users.
I am asuming that you just want to wan users of acceptable use and you otherwise want an open system…