Freeradius and Hour base users setup

Hello to all, following this tutorial here on mikrotik pages http://wiki.mikrotik.com/wiki/How_to_setup_up_RADIUS_for_use_with_MikroTik_-_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.

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.

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 :smiley: