Different bandwidth for Day & Night in FR

Alan DeKok aland at deployingradius.com
Thu Feb 8 18:44:28 CET 2018


On Feb 8, 2018, at 12:34 PM, JAHANZAIB SYED <aacable at hotmail.com> wrote:
> 
> Ok I made one script that runs on 8pm, and change bandwidth on the fly for users using RADCLIENT. so COA part is working fine,

  That's good.

> but the problem is if user disconnects and re connect, then he again assigned his normal package.

  Yes, you need to check when the user is logging in, and give the profile for the time period.

> Can i make some checks ? if user have 8pm-8am double speed pkg, then he should get pkg from different profile rather then its assigned profile?

  Yes.  See:

https://wiki.freeradius.org/config/run_time_variables

  You can check the current time, and give users different profiles, depending on the time period.

  Alan DeKok.




More information about the Freeradius-Users mailing list