Community discussions

MikroTik App

Search found 11 matches

by Wheelhousemarine
Thu Oct 03, 2024 4:17 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

Re: the irrationality of [find]

No, i am not user command /ip hotspot user reset-counters; i used: /ip hotport user reset-counters [find name = "a"]; but it still works for all in case "a" is removed. Exactly. :) You use the command: /ip hotspot user reset-counters [find name = "a"] BUT the find comm...
by Wheelhousemarine
Thu Oct 03, 2024 5:53 am
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

Re: the irrationality of [find]

yes, there are many ways to fix this "bug", I just brought up an irrationality of the [find] condition. But that [find name="a"] works just fine, as it finds nothing and returns nothing. No, if it find nothing, it return all. surprise? [/quote] The issue is in the command: /ip h...
by Wheelhousemarine
Wed Oct 02, 2024 4:08 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

Re: the irrationality of [find]

So it is not a quirk of the find command in itsellf, but rather a "wrong implied default" of "all" in the command /ip hotspot user reset-counters? How can it be worked around? Like checking if "numbers" is defined and only run the command if the condition is true? yes,...
by Wheelhousemarine
Wed Oct 02, 2024 4:04 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

Re: the irrationality of [find]

No. [find] mean "all". It's a filter, so if you don't apply any filters like name="a" to match, the default is return all. Otherwise, the would be no way to express "find everything". You can test find by using it standalone: :put [/ip hotspot user find name=a] *29 :pu...
by Wheelhousemarine
Wed Oct 02, 2024 4:00 pm
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

Re: the irrationality of [find]

the one with = in it, needs an exact match. The second line does so not find any names.
yes, and do you know and why does the statement affect all users when the condition [find name=a] returns that no user satisfies. I think this is very error prone.
by Wheelhousemarine
Wed Oct 02, 2024 9:52 am
Forum: Beginner Basics
Topic: the irrationality of [find]
Replies: 18
Views: 1369

the irrationality of [find]

Hello, Today I noticed an inconsistency of [find] in the script: When I try to reset counter of "a" user in hotspot, I use: /ip hotspot user reset-counters [find name="a"]; Everything was perfect until I removed "a". According to common thinking, my command line above w...
by Wheelhousemarine
Mon Sep 23, 2024 12:33 pm
Forum: The User Manager
Topic: reset user counters in ROS V7.7 user manager [SOLVED]
Replies: 9
Views: 21032

Re: reset user counters in ROS V7.7 user manager [SOLVED]

Hi. I found the answer. for people who are short on attention like me. ROS V7.7 when creating limitations on Usermanager>>Limitations>> add , there are reset counters interval and reset counters start time drop down lists. you can set your own values. Hi, in monthly reset, do you know it will reset...
by Wheelhousemarine
Sat Sep 21, 2024 7:19 pm
Forum: The User Manager
Topic: Quota data in hotspot
Replies: 8
Views: 3601

Re: Quota data in hotspot

Thank bpwl,
1. In my option 1 (using hotspot user), have you any idea for synchro real dowload/upload bytes (display in status page) and router (in /ip hotspot user)?
2. monthly reset in UM limitations, is it will reset after 30 days or in 1st monthly?
by Wheelhousemarine
Sat Sep 21, 2024 7:09 pm
Forum: Announcements
Topic: Question to our users about controllers
Replies: 99
Views: 106401

Re: Question to our users about controllers

1) Are you interested in a central controller for MikroTik devices? If yes: a) do you need it for wireless settings only (like a centralised capsman) b) or you are interested to manage all configuration of these MikroTik devices 2) How would you like to run it? a) "Cloud solution" hosted ...
by Wheelhousemarine
Sat Sep 21, 2024 6:39 am
Forum: The User Manager
Topic: Quota data in hotspot
Replies: 8
Views: 3601

Re: Quota data in hotspot

users, and managers do not know how much remaining capacity of users Yes very limiting with only the "not implemented yet" display. I try to customize user.js, but inly see obj.user.download to know total download data, nothing to know remain bytes. Do you know how to see sqlite file to k...
by Wheelhousemarine
Fri Sep 20, 2024 4:51 pm
Forum: The User Manager
Topic: Quota data in hotspot
Replies: 8
Views: 3601

Quota data in hotspot

I have a problem with mikrotik hotspot that I still can't solve (I google a lot, there are many people who have the same problem as me and they don't have a solution yet) I am using mikrotik hotspot to limit user data quota (for example user1 has a total upload and download of 5GB per month). There ...