I tried using an external web server
i follow the instructions on: http://wiki.mikrotik.com/wiki/HotSpot_external_login_page
the client is redirect to the external page, but without any data (e.g. MAC, IP, User name, etc)
and when cliecking the submit it redirect to a new page xx.xx.xx.xx/$(link-login-only)
and display page not found.
this is the code uploaded to the router:
...
$(if chap-id)
JavaScript required. Enable JavaScript to continue.
$(endif)
If you are not redirected in a few seconds, click 'continue' below
Did you name that router code “login.html”?
Did you upload it into the hotspot directory on the router?
Insure there are both login.php and logintest.php files on the server default directory.
edit: and insure you bypass the external server ip in “/ip hotspot walled-garden ip”.
Don’t do this:
I tried using an external web server
i follow the instructions on: > http://wiki.mikrotik.com/wiki/HotSpot_e > … login_page
the client is redirect to the external page, > but without any data (e.g. MAC, IP, User name, etc)
and when cliecking the submit it redirect to a new page xx.xx.xx.xx/$(link-login-only)
and display page not found.
yes, I named it login.
load it to the hotspot directory.
add it to the walled garden
still after user connects it get the portal (the right one)
but after clicking the submit, the page is redirected to address: 10.10.10.100/login/$(link-login-only)
how I should get the value for the '$(link-login-only) ?