Every time someone logs in to my hotspot, I generate a Simple Queue for each user, using a script called in User Profile/Scripts. These queues appear in the Queue list as ‘Dynamic’, ie with a D in the left hand column in WinBox. All the paramaters are greyed out, so I cannot change them mannually, or, it seems, with another script.
I wish to alter some of the paramaters (to throttle really heavy users) but find I cannot alter these queues by using another script. Is they a way of altering some of the parameters in a dynamically generated script?
The default queue applied to users shouldn’t be determined by a script but instead a value on either
a) a server profile
b) a user profile
c) the specific user account (if you’re creating accounts on the mikrotik itself).
Yes, you cannot change parameters of dynamically created items.
Edit: well, if you use RADIUS and the queues are dynamically created from that you can use RADIUS CoA to change the simple queue parameters. See the RADIUS section of the Wiki for details.
Yes, I am using an external radius (not MT User Manager), but I dont know about CoAs (never come across them). I’d be very grateful if you would point me to the relevant section of the WiKi - I could see anything when I searched. And maybe give me some idea of how I can check that they are arriving at the MT Box OK
Many thanks. I have now configured my Radius to include an extra attribute “Mikrotic_Rate_Limit” and below I have pasted the output of the Radius (taken from the radius log) in response to an auth request (I’ve changed the IPs and Username).
The MT box doesnt seem to respond (alothough it logs the user on OK). I am expecting it to insert a new queue. Do I need to do anything to the MT box configuration?