Community discussions

MUM Europe 2020
 
javadsh
Trainer
Trainer
Topic Author
Posts: 21
Joined: Tue Dec 22, 2009 10:39 am

can I have a user with 2 hour internet for every day

Mon Feb 13, 2012 7:47 am

Hi, dears
can I have a user with 2 hour internet for every day that he/she use it during a day(he/she use 20 min and disconnect , again 60min and ... til that account finish for today) , and for tomorrow same senario and every day.
 
User avatar
dasiu
Trainer
Trainer
Posts: 232
Joined: Fri Jan 30, 2009 11:41 am
Location: Reading, UK
Contact:

Re: can I have a user with 2 hour internet for every day

Mon Feb 13, 2012 6:56 pm

Yes, you can! :)

1. Create a simple hotspot (using the wizard), you can find many tutorials on this
2. Create the hotspot user and set the time restrictions for him (for example - 2 hours of activity)
3. Create a script, that resets the counters for the user (or for all hotspot users) - with scripting you can do magic :)
4. Create a scheduler entry, running the script everyday on midnight :).
 
javadsh
Trainer
Trainer
Topic Author
Posts: 21
Joined: Tue Dec 22, 2009 10:39 am

Re: can I have a user with 2 hour internet for every day

Tue Feb 14, 2012 8:57 pm

thank alot dear, dasiu
there is script & schedule guide here:
http://wiki.mikrotik.com/wiki/Reset_Hotspot_user_count
 
Etza
newbie
Posts: 49
Joined: Tue May 31, 2011 10:33 pm

Re: can I have a user with 2 hour internet for every day

Fri Jun 08, 2012 8:42 pm

Hi
Can I do this reset for one user profile ???
 
Devil
Member Candidate
Member Candidate
Posts: 170
Joined: Thu Jul 21, 2011 9:13 am

Re: can I have a user with 2 hour internet for every day

Sat Jun 09, 2012 10:48 am

Hi
Can I do this reset for one user profile ???
for resetting counters for users with default profile for example, use it like this:
/ip hotspot user reset-counters [find profile=default]
Best Regards

Who is online

Users browsing this forum: No registered users and 3 guests