Answer the question
In order to leave comments, you need to log in
How to set the speed for each user in the Mikrotik access-list?
I have N number of users in wireless access-list. Each user's comment contains numbers in which data is encrypted, for example, 013100009283 from the example it is 10000 Kbps or 10 Mbps.
I need a script that will read the comments of each user and set this speed in the queue according to the speed received from the comment. And do this for each user.
I understand you need a :foreach script. I don’t understand scripts well, so please help me a little) I can at least tell you how to get speed data from a comment, and I think I can do setting the speed in queue myself.
Answer the question
In order to leave comments, you need to log in
Since a priori there are not so many wireless clients - redo everything with your hands
Otherwise, it’s a mega-crutch
It seems to me that it would be easier for you to install the UserManager from the Microt packages, configure it as a Radius server for wireless, add users there both by mac-address and with authorization through the captive portal, and already use UserMan's tools to adjust the speed and quotas , because this is what the Radius protocol was invented for....
Here's where to start: https://wiki.mikrotik.com/wiki/Manual:User_Manager
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question