hi
i am trying to setup external login on the hotspot page
i have added the server ip in walled garden ip and it’s being redirected correctly
but when trying to login i am getting error
“Browser didn’t sent challenge response”
i debugged it and found the values for $(chap-id) and $(chap-challenge) are not being generated in the login page
I use this in the wiki and it works fine.
http://wiki.mikrotik.com/wiki/HotSpot_external_login_page
Insure your page is sending those variables to the external page. It is covered there.
You must also move a copy of md5.js to the external server directory. That does the encryption.
i tried setting it us using that guide only
but to no success
what i did is changed the hidden fields to text in login.html so that i can see what values are being passed
there i saw $(chap-id) and $(chap-challenge) values are not being generated
hey to my surprise it was the cache of browser causing issues
i cleared it and all solved
Maybe that login.html page needs a couple META tags in the head to prevent that?
The login.php code already has the pragma META.