more limit for user
hello and alsalamo alikom i have array in db array ( 0 { start-Timestamp = 05:30 end-Timestamp = 07:30 Mikrotik-Rate-Limit = 256k/512k } 1 { start-Timestamp = 07:30 end-Timestamp = 09:30 Mikrotik-Rate-Limit = 512k/1024k } ) I want Change Mikrotik-Rate-Limit When Equal any thing of this Values By COA If Freeradius Dosent support Array How I can Do This ? Best Regards
? 2016-07-20 1:26 جرينتش+02:00, تعلم البرمجة <mido2010bona@gmail.com>:
hello and alsalamo alikom
i have array in db
array ( 0 { start-Timestamp = 05:30 end-Timestamp = 07:30 Mikrotik-Rate-Limit = 256k/512k } 1 { start-Timestamp = 07:30 end-Timestamp = 09:30 Mikrotik-Rate-Limit = 512k/1024k }
) I want Change Mikrotik-Rate-Limit When Equal any thing of this Values By COA
If Freeradius Dosent support Array How I can Do This ?
Best Regards
No need to use freeradius for adjusting bandwith at specific time. You just need to use crontab to run external script at a specific time and adjust the mikrotik limit for each user in this script. Khouzam Yaghi.
On Jul 20, 2016, at 4:55 PM, تعلم البرمجة <mido2010bona@gmail.com> wrote:
?
2016-07-20 1:26 جرينتش+02:00, تعلم البرمجة <mido2010bona@gmail.com>:
hello and alsalamo alikom
i have array in db
array ( 0 { start-Timestamp = 05:30 end-Timestamp = 07:30 Mikrotik-Rate-Limit = 256k/512k } 1 { start-Timestamp = 07:30 end-Timestamp = 09:30 Mikrotik-Rate-Limit = 512k/1024k }
) I want Change Mikrotik-Rate-Limit When Equal any thing of this Values By COA
If Freeradius Dosent support Array How I can Do This ?
Best Regards
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Jul 20, 2016, at 1:26 AM, تعلم البرمجة <mido2010bona@gmail.com> wrote:
i have array in db ... I want Change Mikrotik-Rate-Limit When Equal any thing of this Values By COA
I'm not sure what that means.
If Freeradius Dosent support Array How I can Do This ?
The server supports dynamic queries. If you can write a DB query to get the information you need, you can put that DB query into the FreeRADIUS configuration. Alan DeKok.
participants (3)
-
Alan DeKok -
khouzam.yaghi@gmail.com -
تعلم البرمجة