<div dir="ltr">Thanks for your answer Suman Dash, it is good tip! But I still have the same problem.<br><div><br>On Tue, Dec 2, 2014 at 11:52 AM, <span dir="ltr"><<a href="mailto:freeradius-users-request@lists.freeradius.org" target="_blank">freeradius-users-request@lists.freeradius.org</a>></span> wrote:<br>Message: 3<br>
Date: Tue, 2 Dec 2014 10:42:59 +0200<br>
From: Haviaras Kostas <<a href="mailto:koshalirod@gmail.com">koshalirod@gmail.com</a>><br>
To: <a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a><br>
Subject: Multiple attributes on radgroupreply!<br>
Message-ID:<br>
<<a href="mailto:CAMALVUPB597EAUOfEwi-ctFb7AC1QetcsH9DYV8Oavn4q_1eJg@mail.gmail.com">CAMALVUPB597EAUOfEwi-ctFb7AC1QetcsH9DYV8Oavn4q_1eJg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello, I have the following problem, I would like to set download and<br>
upload limit on Mitrotik, from my freeradius and only 1 attribute from the<br>
radgroupreply is sended to Mitrotik. I am using MySQL.<br>
<br>
I insert on the radcheck this:<br>
id username attribute op value<br>
31 kostas3 Cleartext-Password := 1234<br>
On the radusergroup:<br>
id username groupname priority<br>
44 kostas3 d16M 8<br>
45 kostas3 u2M 8<br>
On the radgroupreply:<br>
id groupname attribute op<br>
value<br>
8 u2M WISPr-Bandwidth-Max-Up := 2097152<br>
<br>
17 d16M WISPr-Bandwidth-Max-Down := 16777216<br>
<br>
And here is my log from the freeradius:<br>
<a href="http://pastebin.com/Lifi6jdL" target="_blank">http://pastebin.com/Lifi6jdL</a><br>
<br>
I have any syntax wrong?<br>
<br>
Thanks for your attention and time!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/969d3e59/attachment-0001.html" target="_blank">http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/969d3e59/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 2 Dec 2014 14:19:48 +0530<br>
From: Suman Dash <<a href="mailto:sumandash@gmail.com">sumandash@gmail.com</a>><br>
To: FreeRadius users mailing list<br>
<<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>
Subject: Re: Multiple attributes on radgroupreply!<br>
Message-ID:<br>
<CAOywgS-<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">P9RxSZPRVSFN0ir9q5v4a3at3hX+3ji-rZ9u1erR0=<a href="mailto:Q@mail.gmail.com">Q@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
If you want to use Mikrotik as NAS then use Mikrotik-Rate-Limit attribute<br>
instead of WISPr-Bandwidth-Max-Up / Down<br>
<br>
<br>
<br>
On Tue, Dec 2, 2014 at 2:12 PM, Haviaras Kostas <<a href="mailto:koshalirod@gmail.com">koshalirod@gmail.com</a>><br>
wrote:<br>
<br>
> Hello, I have the following problem, I would like to set download and<br>
> upload limit on Mitrotik, from my freeradius and only 1 attribute from the<br>
> radgroupreply is sended to Mitrotik. I am using MySQL.<br>
><br>
> I insert on the radcheck this:<br>
> id username attribute op value<br>
> 31 kostas3 Cleartext-Password := 1234<br>
> On the radusergroup:<br>
> id username groupname priority<br>
> 44 kostas3 d16M 8<br>
> 45 kostas3 u2M 8<br>
> On the radgroupreply:<br>
> id groupname attribute op<br>
> value<br>
> 8 u2M WISPr-Bandwidth-Max-Up := 2097152<br>
><br>
> 17 d16M WISPr-Bandwidth-Max-Down := 16777216<br>
><br>
> And here is my log from the freeradius:<br>
> <a href="http://pastebin.com/Lifi6jdL" target="_blank">http://pastebin.com/Lifi6jdL</a><br>
><br>
> I have any syntax wrong?<br>
><br>
> Thanks for your attention and time!<br>
><br>
> -<br>
> List info/subscribe/unsubscribe? See<br>
> <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/e120187e/attachment-0001.html" target="_blank">http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141202/e120187e/attachment-0001.html</a>><br>
<br>
------------------------------<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
<br>
End of Freeradius-Users Digest, Vol 116, Issue 2<br>
************************************************</blockquote></div></div>