Community discussions

MUM Europe 2020
 
igpetkov
newbie
Topic Author
Posts: 42
Joined: Thu Oct 09, 2014 10:27 pm

Hotspot without pass

Sat Jun 29, 2019 1:50 pm

Hi, experts!

I need to restrict my wireless users by time (for instance 1 hour per day).
Is there way to do this witout using Hotspot (user manager).
I do not want to use username and password to login.

Thank You
 
2frogs
Long time Member
Long time Member
Posts: 541
Joined: Fri Dec 03, 2010 1:38 am

Re: Hotspot without pass

Sun Jun 30, 2019 6:07 pm

Use Hotspot with Trial User enabled. You can set your limits by time and/or data and have it reset after a defined period. Now edit/replace login.html the following code and users will be logged in automatically.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=$(link-login-only)?dst=$(link-orig-esc)&amp;username=T-$(mac-esc)"
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
</body>
</html>

Who is online

Users browsing this forum: No registered users and 25 guests