Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread speedlnx
Thank you. It works now! 

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Mikrotik-Rate-Limit-issue-tp4363178p4365873.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread Alan DeKok
speedlnx wrote:
> Hello, i'm migrating from freeradius 1.x to freeradius 2.1.10 on debian.
> I've replicated all the configuration i have on the old radius to the new
> and I import a dump of the mysql database on the new mysql server but i've
> an issue when i try to authenticate my users:

  Edit /usr/local/share/freeradius/dictionary

  Add a line "$INCLUDE dictionary.mikrotik"

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Mikrotik-Rate-Limit issue

2011-05-02 Thread speedlnx
The value for my test user is the follow: 512k/2048k 512k/2048k 192k/960k 8/8
1 128k/128k 


The mikrotik documentation say:

"Mikrotik-Rate-Limit - Datarate limitation for clients. Format is:
rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate]
[rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time]
[priority] [rx-rate-min[/tx-rate-min from the point of view of the
router (so "rx" is client upload, and "tx" is client download). All rates
should be numbers with optional 'k' (1,000s) or 'M' (1,000,000s). If tx-rate
is not specified, rx-rate is as tx-rate too. Same goes for tx-burst-rate and
tx-burst-threshold and tx-burst-time. If both rx-burst-threshold and
tx-burst-threshold are not specified (but burst-rate is specified), rx-rate
and tx-rate is used as burst thresholds. If both rx-burst-time and
tx-burst-time are not specified, 1s is used as default. Priority takes
values 1..8, where 1 implies the highest priority, but 8 - the lowest. If
rx-rate-min and tx-rate-min are not specified rx-rate and tx-rate values are
used. The rx-rate-min and tx-rate-min values can not exceed rx-rate and
tx-rate values."

--
View this message in context: 
http://freeradius.1045715.n5.nabble.com/Mikrotik-Rate-Limit-issue-tp4363178p4364161.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Mikrotik-Rate-Limit issue

2011-05-01 Thread Tanjil Ahmed
SAME QUESTION IS is from me also ... its look like 16962/16962


how to fix it?


On Mon, May 2, 2011 at 1:28 AM, Gideon le Grange wrote:

>
> On 01 May 2011, at 7:47 PM, speedlnx wrote:
>
>
>
> I've of course the mikrotik dictionary with the correct attribute and
> there's a record in the database with the rate limit for the user in
> radreply table.
>
> Any idea?
>
>
> Exactly what does this record look like?
>
> What works for me on Freeradius 2.1.8 is using the rate limits expressed as
> bits per second, something like this:
>
>  Mikrotik-Rate-Limit+=  1024/1024
>
> HTH
> Gideon
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
--

























Syed Tanjil Ahmed
Chairman
Netgate Online Ltd
Oval Communication Ltd.
SNS CNG & Convertion Ltd
Network Solution Ltd.
ARSHI (Non Government Organizations)
20,Siddeswari Lane,1st Floor,Dhaka
483/a,DIT Road,Dhaka-1217
Ph:815,9352029,9350458
Ph:9361083,9346890,9342514
Email:i...@tanjil.net,tan...@email.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Mikrotik-Rate-Limit issue

2011-05-01 Thread Gideon le Grange

On 01 May 2011, at 7:47 PM, speedlnx wrote:
> 
> 
> I've of course the mikrotik dictionary with the correct attribute and
> there's a record in the database with the rate limit for the user in
> radreply table.
> 
> Any idea?
> 

Exactly what does this record look like?

What works for me on Freeradius 2.1.8 is using the rate limits expressed as 
bits per second, something like this:

 Mikrotik-Rate-Limit+=  1024/1024  

HTH
Gideon -
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html