Page 1 of 1

Mikrotik hotspot login page

Posted: Wed Jul 22, 2015 10:01 am
by owndyaa
Hello,

I have a question about mikrotik hotspot login page.
I tried to make new hotspot login page, but i have no idea how to do "automatic log-on without writing username/password" . This will happen when you press "Accept"

Atm i've written this row.

<a href="$(link-login-only)?dst=$(link-orig-esc)&username=T-$(mac-esc)" class="button"><h1>Accept<h2></a>
</div>

Re: Mikrotik hotspot login page

Posted: Tue Jul 28, 2015 3:10 pm
by ericnyamu
check how to enable mac cookie on mikrotik

Re: Mikrotik hotspot login page

Posted: Tue Jul 28, 2015 7:30 pm
by kangndo
Create hotspot user profile with shared user i.e 200
Create one hotspot user (i.e: username=free password=free) with that profile

On the login page:
<a href="http://ip-hotspot/login?username=free&p ... >Accept</a>

Re: Mikrotik hotspot login page

Posted: Thu Jul 30, 2015 5:10 pm
by czolo
<html>
<head>
	<meta http-equiv="refresh" content="0; url=login?username=user&password=pass&dst=http://landing.page.com/">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="expires" content="-1">
</head>
<body></body>
</html>

Re: Mikrotik hotspot login page

Posted: Fri Jul 31, 2015 6:47 pm
by spaxton
Hello,

I have a question about mikrotik hotspot login page.
I tried to make new hotspot login page, but i have no idea how to do "automatic log-on without writing username/password" . This will happen when you press "Accept"

Atm i've written this row.

<a href="$(link-login-only)?dst=$(link-orig-esc)&username=T-$(mac-esc)" class="button"><h1>Accept<h2></a>
</div>

I also did something similar few months ago. this is what I did:

1. Create one hotspot shared user (to be able for multiple logon)
2. I gave all mikrotik hotspot page files to a web designer and explained him how to make the page appereance and also too add user/pass act when someone click on INTERNET ACCESS
3. Copied finnished web designs to mkt hotspot directory