abhsek
1
I want my Mikrotik Hotspot to be like,
When users get connected , login page pops up and then after certain seconds , they should be automatically connected to internet.
Is this possible?
( For now I’m using trail in server profiles , but for that users need to click on trail button in hotspot page)
Do you mean to connect without any form of authentication ?
Why use hotspot then ? Simple queues would be enough in such a case, no ?
anav
3
maybe they dont want to charge or authenticate and merely show a walled garden (advertisement) before providing access???
2frogs
4
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://"YOUR_ROUTER_IP/DNS"/login?username=T-$(mac-esc)&dst=http://www.google.com" />
</head>
</html>
Put this in your login.html, change the 0 after content to whatever seconds and update the YOUR_ROUTER_IP/DNS to your hotspot.
You will still use the Trial for this.
eworm
5
As you redirect to a page on the same device it should be possible to give the URI only:
<meta http-equiv="refresh" content="0; url=/login?username=..." />
abhsek
6
Works Perfectly. Thank you so much.