Hi Newton, We are using this parameter only for a "if" condition check. We are not sending this value to Mikrotik. If the SUM(acctinputoctets)+SUM(acctoutputoctets) > Max-Data, we are sending the Mikrotik-Rate-Limit to the Mikrotik to reduce the speed. But the issue is We are not able to set more than 4G to Max-Data. We will check Mikrotik-Total-Limit or Mikrotik-Total-Limit-Gigawords. But if anyone has any links for implementing the same please share with us. Regards, Randeep On Fri, Jul 3, 2015 at 3:59 PM, Matthew Newton <mcn4@leicester.ac.uk> wrote:
On Fri, Jul 03, 2015 at 03:27:08PM +0530, Randeep wrote:
mysql> select * from radgroupcheck;
+----+---------------------------+---------------------+----+--------------+
| id | groupname | attribute | op | value |
+----+---------------------------+---------------------+----+--------------+
| 1 | daloRADIUS-Disabled-Users | Auth-Type | := | Reject | | 25 | testing | Mikrotik-Rate-Limit | := | 1024k/1024k |
*| 26 | testing | Max-Data | := | 5368709120 |*
But its not taking the Max-Data value as defined. Its taking maximum 4GB.
Where did Max-Data come from? That's not in the mikrotik dictionary. You can't just make up attributes and expect the NAS to understand what you mean.
I'm not familiar with Mikrotik, but looking in dictionary.mikrotik, Mikrotik-Total-Limit or Mikrotik-Total-Limit-Gigawords look more likely to be what you need to use.
Refer to your NAS documentation to find the right attribute to use.
Matthew
-- Matthew Newton, Ph.D. <mcn4@le.ac.uk>
Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk> - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Randeep Mob: +919447831699[kerala] Mob: +919880050349[B'lore] http://twitter.com/Randeeppr http://in.linkedin.com/in/randeeppr [image: --] Randeep Raman [image: http://]about.me/Randeeppr <http://about.me/Randeeppr>