Community discussions

MikroTik App
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Simple queue burst set from radius

Thu Feb 07, 2013 4:55 pm

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
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: Simple queue burst set from radius

Sun Feb 10, 2013 5:35 pm

no replys??
come on admins wake up
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: Simple queue burst set from radius

Mon Feb 18, 2013 10:21 am

i think no one here knows how to do this
admins have a look
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Simple queue burst set from radius

Mon Feb 18, 2013 2:06 pm

It worked ok with the "/ip hotspot user profile" settings last I checked. I return "Mikrotik-Group" from the radius server to set that.
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: Simple queue burst set from radius

Mon Feb 18, 2013 4:28 pm

can you explain what you are saying
or i think i you have not understood what i am asking
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Simple queue burst set from radius

Mon Feb 18, 2013 4:59 pm

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.
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Re: Simple queue burst set from radius

Wed Apr 16, 2014 8:09 pm

i wanted to set the limit using a script using the radius client after the user has logged in
please help
 
acidsas
newbie
Posts: 41
Joined: Tue May 21, 2013 1:48 pm

Re: Simple queue burst set from radius

Wed Feb 18, 2015 4:45 pm

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!
 
chrisw
newbie
Posts: 25
Joined: Tue Mar 04, 2014 11:24 pm

Re: Simple queue burst set from radius

Tue Jun 30, 2015 9:17 pm

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.

Who is online

Users browsing this forum: No registered users and 19 guests