How can i reset user quota after user consumed completely

Alan DeKok aland at deployingradius.com
Mon May 6 13:09:52 CEST 2019


On May 6, 2019, at 5:30 AM, Abdul Riyaz <abdulriyaz846 at 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.



More information about the Freeradius-Users mailing list