Page 1 of 1
Hotspot with pin only
Posted: Sun Mar 13, 2016 9:51 pm
by krkec
Is it possible to create hotspot with only pin for authentication??
Re: Hotspot with pin only
Posted: Fri Apr 01, 2016 3:14 am
by rcourtney
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)
Re: Hotspot with pin only
Posted: Fri Apr 01, 2016 11:36 pm
by krkec
is it possable to do something like Aerohive private preshare key on mikrotik?
Something like this:
https://www.youtube.com/watch?v=b6SkofK ... XX5mjwtZqA
Re: Hotspot with pin only
Posted: Sat Apr 02, 2016 2:29 am
by rcourtney
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
Re: Hotspot with pin only
Posted: Sat Apr 02, 2016 8:39 pm
by krkec
yes but with virtual ap i don get user menagment.
Re: Hotspot with pin only
Posted: Sat Apr 02, 2016 9:52 pm
by krkec
i notice that in userman I can enter preshare key i is mean that I can define preshare key by usert
Re: Hotspot with pin only
Posted: Mon Apr 04, 2016 4:17 am
by rcourtney
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.