Captive portal secret question



  • I have been wanting to set up a vlan'd guest AP, but I don't want all of my neighbors (and wardrivers, etc.) hopping on and doing who knows what. One potential solution would be using the captive portal on the guest vlan, but as far as I can tell, I would have to set up a username and password for each potential guest. That is clumsy for my needs and at that point I may as well just give the guests my main WPA2 key. I'm not concerned about them accessing my files.

    Rather than request a username and password, is it possible to set the CP up to request only a password, with the password being the answer to a question posed in the portal page contents? This way, I could ask a personal question that only actual guests would know, but I'm not sure that this is doable.

    Thanks



  • You can hard code the username in the portal page contents and then have it POST only the user-defined password.



  • Ah, excellent idea. What edits would I have to make to the default code in order for that to happen? I can't code my way out of a paper bag.


Log in to reply