Community discussions

MikroTik App
 
krkec
just joined
Topic Author
Posts: 10
Joined: Sun May 24, 2015 10:28 pm

Hotspot with pin only

Sun Mar 13, 2016 9:51 pm

Is it possible to create hotspot with only pin for authentication??
 
User avatar
rcourtney
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed May 22, 2013 10:55 pm

Re: Hotspot with pin only

Fri Apr 01, 2016 3:14 am

You can use normal user/password and use the same "word" for both.

In html or javascript you would post the same value.

I'll try to include an example later if needed.
$(if chap-id)
	<form name="sendin" action="$(link-login-only)" method="post">
		<input type="hidden" name="username" />
		<input type="hidden" name="password" />
		<input type="hidden" name="dst" value="$(link-orig)" />
		<input type="hidden" name="popup" value="true" />
	</form>
	
	<script type="text/javascript" src="/md5.js"></script>
	<script type="text/javascript">
	<!--
	    function doLogin() {
		document.sendin.username.value = document.login.username.value;
		document.sendin.password.value = hexMD5('$(chap-id)' + document.login.username.value + '$(chap-challenge)');
		document.sendin.submit();
		return false;
	    }
	//-->
	</script>
$(endif)
 
krkec
just joined
Topic Author
Posts: 10
Joined: Sun May 24, 2015 10:28 pm

Re: Hotspot with pin only

Fri Apr 01, 2016 11:36 pm

is it possable to do something like Aerohive private preshare key on mikrotik?
Something like this: https://www.youtube.com/watch?v=b6SkofK ... XX5mjwtZqA
 
User avatar
rcourtney
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed May 22, 2013 10:55 pm

Re: Hotspot with pin only

Sat Apr 02, 2016 2:29 am

The only thing I can think of is a virtual AP.
I haven't tried this so can't be much more of assistance.

http://wiki.mikrotik.com/wiki/Manual:In ... #VirtualAP
 
krkec
just joined
Topic Author
Posts: 10
Joined: Sun May 24, 2015 10:28 pm

Re: Hotspot with pin only

Sat Apr 02, 2016 8:39 pm

yes but with virtual ap i don get user menagment.
 
krkec
just joined
Topic Author
Posts: 10
Joined: Sun May 24, 2015 10:28 pm

Re: Hotspot with pin only

Sat Apr 02, 2016 9:52 pm

i notice that in userman I can enter preshare key i is mean that I can define preshare key by usert
 
User avatar
rcourtney
Frequent Visitor
Frequent Visitor
Posts: 61
Joined: Wed May 22, 2013 10:55 pm

Re: Hotspot with pin only

Mon Apr 04, 2016 4:17 am

If I understand what you are referring to, the client router must
communicate with usermanager over a secured link.
That is not the user link to associate with the AP.

Edit: Creating the virtual AP looks like the best way to go if you
need user groups that are separate and secure.

Who is online

Users browsing this forum: No registered users and 6 guests