How can i reset user quota after user consumed completely
Hi, I have a user called "user" with Cleartext-Password:- 123456. I installed freeradius in UBuntu 18.04 in docker container. Now, I connected freeradius to Mikrotik Nas. Everythings works fine. user has attributes: Mikrotik-Rate-Limit :- 1000k/1000k Mikrotik-Total-Limit :- 200000000 (~2GB) Expiration: 1559678897 (June 5th 2019) The user has already consumed 2GB of data within 2 days. Data exhausted and user is unable to login. How can i reset the "user" with same quota manually. When package is changed, i want user to start using new data. I don;t wanna mess with radacct table. Can anyone advise how can i achieve this? TO say Simply, change package after data is consumed. user should login this time. My question might be so silly but please help me with this. Many Thanks Abdul Riyaz
On May 6, 2019, at 5:30 AM, Abdul Riyaz <abdulriyaz846@gmail.com> wrote:
I have a user called "user" with Cleartext-Password:- 123456. I installed freeradius in UBuntu 18.04 in docker container. Now, I connected freeradius to Mikrotik Nas. Everythings works fine.
user has attributes: Mikrotik-Rate-Limit :- 1000k/1000k Mikrotik-Total-Limit :- 200000000 (~2GB) Expiration: 1559678897 (June 5th 2019)
The user has already consumed 2GB of data within 2 days. Data exhausted and user is unable to login.
How can i reset the "user" with same quota manually. When package is changed, i want user to start using new data.
Change the Mikrotik-Total-Limit attribute to return something different. Alan DeKok.
participants (2)
-
Abdul Riyaz -
Alan DeKok