Page 1 of 1

Simple queue burst set from radius

Posted: Thu Feb 07, 2013 4:55 pm
by kgninfos
hi
i want to change the simple queue from radius server after user is authenticated
what i am doing is issuing the following command from radius and does not seem to work

echo "Framed-IP-Address=clinet_ip,Mikrotik-Rate-Limit=64k/64k 256k/256k 128k/128k 10/10" | radclient -x mikrotik_ip:3799 coa pass

but if i remove the burst part and send
echo "Framed-IP-Address=clinet_ip,Mikrotik-Rate-Limit=64k/64k" | radclient -x mikrotik_ip:3799 coa pass

it works fine

what i am trying to do is set the burst for an ip after the dynamic queue is generated by radius

Re: Simple queue burst set from radius

Posted: Sun Feb 10, 2013 5:35 pm
by kgninfos
no replys??
come on admins wake up

Re: Simple queue burst set from radius

Posted: Mon Feb 18, 2013 10:21 am
by kgninfos
i think no one here knows how to do this
admins have a look

Re: Simple queue burst set from radius

Posted: Mon Feb 18, 2013 2:06 pm
by SurferTim
It worked ok with the "/ip hotspot user profile" settings last I checked. I return "Mikrotik-Group" from the radius server to set that.

Re: Simple queue burst set from radius

Posted: Mon Feb 18, 2013 4:28 pm
by kgninfos
can you explain what you are saying
or i think i you have not understood what i am asking

Re: Simple queue burst set from radius

Posted: Mon Feb 18, 2013 4:59 pm
by SurferTim
I set the bandwidth restrictions in "/ip hotspot user profile", and use different profiles to set all the stuff for that user, including the throttling as you want. I haven't tested burst rate in the latest versions tho. I presume it still works because it works well with the basic restrictions I use there.

You can enter multiple profiles, one for each type of user. I find it works well unless you have a custom bandwidth restriction for each user.

Then you return this with Access-Accept to set all that stuff in the user profile with one value.
Mikrotik-Group profilename

This is for hotspot radius only. If you are using another radius service, I'm not sure this will help you.

Re: Simple queue burst set from radius

Posted: Wed Apr 16, 2014 8:09 pm
by kgninfos
i wanted to set the limit using a script using the radius client after the user has logged in
please help

Re: Simple queue burst set from radius

Posted: Wed Feb 18, 2015 4:45 pm
by acidsas
I know a lot of time have passed, but if you still interested ...
"Framed-IP-Address=172.24.54.15,Mikrotik-Rate-Limit='64k/64k 256k/256k 128k/128k 10/10'"
Works well!

Re: Simple queue burst set from radius

Posted: Tue Jun 30, 2015 9:17 pm
by chrisw
I know a lot of time have passed, but if you still interested ...
"Framed-IP-Address=172.24.54.15,Mikrotik-Rate-Limit='64k/64k 256k/256k 128k/128k 10/10'"
Works well!
Beautiful. Thanks for that.