Page 1 of 1

Question about Hotspot configuration

Posted: Fri Feb 28, 2020 11:29 pm
by Cooperdale
Hello guys, I need to configure a Hotspot like this: the user has a limited time of 2 days since the first login with his Hotspot credentials. When the 2 days have passed, he can't use the Hotspot anymore.

Problem is, I need the 2 days to be counted since his first connection. So, if he connects on Monday at 11, he should be allowed to use the Hotspot until Wednesday at 11.

Instead it seems to me the 2 days are counted as effective connection time. So, if the user logs in at 11 and logs out at 12 and doesn't login for the rest of the day, only 2 hours will be subtracted from his total 48 hours. Instead, I need 24 hours a day to be subtracted, whether he stays connected or not.

Is this possible? I've read the wiki, articles and threads but I can't find a way.

Thanks.

Re: Question about Hotspot configuration

Posted: Sun Mar 01, 2020 6:55 pm
by Zacharias
Yes it is possible.
Use Mikrotik User manager and set the validity of the user's profile to 2 days...
If you dont want to use the User manager, you can do it with a script...

Re: Question about Hotspot configuration

Posted: Sun Mar 01, 2020 7:14 pm
by Cooperdale
Yes it is possible.
Use Mikrotik User manager and set the validity of the user's profile to 2 days...
If you dont want to use the User manager, you can do it with a script...
Thanks. I installed it but never used it before. Is it only accessible with a browser?

Re: Question about Hotspot configuration

Posted: Sun Mar 01, 2020 11:21 pm
by Cooperdale
Or, if I should use a script, is it possible to get first connection date and time for a user? The script worries me because it should check all users at each run I think, and there are 3000 premade users on the routerboard. I don't know if it'd be heavy on the cpu. The routerboard is an RB1100AHx4.

Re: Question about Hotspot configuration

Posted: Sat Mar 14, 2020 11:11 pm
by brams
Hello Guy,

Sorry to introduce me like this in your topic. Since a moment a try to find out how create my topic.

but the main topic is the same as your, it's about hotspot.
I try connect a conneted device to my hotspot, but the fact is I don't have any web interface on this device to enter the credentials to access to the hotspot.
how could I setup my hotspot to allow device to be connect bypassing the hotspot ?