Community discussions

MikroTik App
 
vagelism
newbie
Topic Author
Posts: 36
Joined: Sun Oct 21, 2012 3:29 pm
Location: Greece

Freeradius and Hour base users setup

Wed Jan 07, 2015 7:12 pm

Hello to all, following this tutorial here on mikrotik pages http://wiki.mikrotik.com/wiki/How_to_se ... _By_Ramona I manage to make a mikrotik using a freeradius server to authenticate users.
Now I can add user in the database in order to control the users login.
So my question is , how do I define the users to have a total time online that they can use in a spesific period of time. Lets say for example every user can use the network for 10 hours in a 2 week period from the first login.

Thank you.
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: Freeradius and Hour base users setup

Wed Jan 07, 2015 10:02 pm

Did you check:
User-man / Profile/ limitation ??
 
vagelism
newbie
Topic Author
Posts: 36
Joined: Sun Oct 21, 2012 3:29 pm
Location: Greece

Re: Freeradius and Hour base users setup

Thu Jan 08, 2015 3:33 pm

Did you check:
User-man / Profile/ limitation ??
I am not using the userman, I use an external freeradius , so I dont really get how the userman can help me.
If you have any clues please advice me.
Thank you.
 
User avatar
hossain2004a
Member Candidate
Member Candidate
Posts: 247
Joined: Mon Dec 22, 2014 7:34 pm
Location: Iran

Re: Freeradius and Hour base users setup

Thu Jan 08, 2015 8:36 pm

unfortunately you can't do it directly. go to userman then profile and add new limitation, for example 2gb for download and 2gb for upload. then assign it to profile.
after that you should right script in terminal to reset limitation every 2 week, I think this should work :D

Who is online

Users browsing this forum: No registered users and 24 guests