Community discussions

MUM Europe 2020
 
owndyaa
just joined
Topic Author
Posts: 3
Joined: Wed Jul 22, 2015 9:57 am

Mikrotik hotspot login page

Wed Jul 22, 2015 10:01 am

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>
 
ericnyamu
newbie
Posts: 32
Joined: Sat Jul 25, 2015 9:27 pm

Re: Mikrotik hotspot login page

Tue Jul 28, 2015 3:10 pm

check how to enable mac cookie on mikrotik
 
User avatar
kangndo
just joined
Posts: 17
Joined: Mon Dec 09, 2013 12:59 pm
Contact:

Re: Mikrotik hotspot login page

Tue Jul 28, 2015 7:30 pm

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>
Regards, Kangndo
 
User avatar
czolo
Member
Member
Posts: 418
Joined: Fri Mar 04, 2005 9:49 am
Location: Poland (Warsaw)
Contact:

Re: Mikrotik hotspot login page

Thu Jul 30, 2015 5:10 pm

<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>
| --= Czo|_o =--
| http://wifi4eu.pl
| Innovation in WiFi
 
spaxton
Member Candidate
Member Candidate
Posts: 175
Joined: Fri Jan 01, 2010 12:18 pm

Re: Mikrotik hotspot login page

Fri Jul 31, 2015 6:47 pm

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

Who is online

Users browsing this forum: No registered users and 23 guests