Community discussions

MikroTik App

Search found 38 matches

by kvee
Tue Sep 12, 2023 7:09 am
Forum: General
Topic: Router was rebooted without proper shutdown
Replies: 7
Views: 4457

Re: Router was rebooted without proper shutdown

Both cards weren't designed for v7, especially the SMPIS architecture is lacking throughout. Put v6 back on it, the more we go on with the versions, the less performing the v7 will be. Want to install Windows XP on a 486? You can install it, but then how does it go?... I have the same problem as to...
by kvee
Mon Sep 11, 2023 6:24 am
Forum: The User Manager
Topic: User Manager Download Limit
Replies: 18
Views: 9209

Re: User Manager Download Limit

Limits on User manager or hotspot use Simple queue. If you have configured Fasttrack then it will be bypass those Simple queue.
https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack
viewtopic.php?t=148745
by kvee
Fri Sep 08, 2023 10:41 pm
Forum: The User Manager
Topic: Radius Server is not responding with Hotspot
Replies: 15
Views: 48659

Re: Radius Server is not responding with Hotspot

So, I was having this problem for the last couple days.. Its true, that the UM works if you use the public interface address, however, mine was a DHCP client address, and would have been complicated to manage. TLDR; I needed an accept rule to make the 127.0.0.1 UM host work locally. /ip firewall fi...
by kvee
Fri Sep 08, 2023 8:32 am
Forum: Scripting
Topic: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?
Replies: 5
Views: 3366

Re: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?

Sorry but these are not working. { "once": true, ".query": [".id=*8"] } or { "once": true, ".query": ".id=*8" } or { "once": true, ".query": ".id=*8" } All are the same result "bad request" "deta...
by kvee
Thu Sep 07, 2023 9:22 pm
Forum: Scripting
Topic: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?
Replies: 5
Views: 3366

Re: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?

I don't have UM to test, but you need to use POST with "monitor". You're better off using .query with a name= (or any of the attributes, other than "numbers"/".id") since you can use "query" for them in one operation. With the "monitor" command, it ...
by kvee
Thu Sep 07, 2023 7:24 pm
Forum: Scripting
Topic: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?
Replies: 5
Views: 3366

Re: How to Access User Total Download, Upload, Data from REST API in /user-manager/user/?

I would like to know either. Run these URLs in method GET always return 400 bad request. * /rest/user-manager/user/monitor?numbers=2 * /rest/user-manager/user/monitor/2 * /rest/user-manager/user/monitor/*2 However, if I use method POST with body data {"numbers": [2]} it returns missing =.i...
by kvee
Wed Sep 06, 2023 6:25 pm
Forum: The User Manager
Topic: RADIUS accounting stop request not sent: no response
Replies: 2
Views: 4375

Re: RADIUS accounting stop request not sent: no response

I have the same problem. RADIUS accounting stop request not sent: no response And RADIUS accounting request not sent: no response It's Errors and warnings. I thought it because I had moved user manager DB to sd card and there is problem with the card. So, I moved back to system storage (128MB) but p...
by kvee
Mon Sep 04, 2023 6:36 pm
Forum: General
Topic: Session limit reached (current license allows only 200 session)
Replies: 11
Views: 4174

Re: Session limit reached (current license allows only 200 session)

Maybe I misunderstand but from license help page ( https://help.mikrotik.com/docs/display/ROS/RouterOS+license+keys ) Mikrotik level 5 supported up to 500 active users and user manager 50 active sessions. If 1 user use 2 device at the same time then 25 users that online at the same time will reach m...
by kvee
Mon Sep 04, 2023 2:59 pm
Forum: RouterOS beta
Topic: New User Manager in RouterOS v7
Replies: 211
Views: 83683

Re: New User Manager in RouterOS v7

Then... that really is not my problem because I don't use that feature. I provide free Wi-Fi hotspot for tenant who rent a room in the apartment building and they will choose to connect to only one access point near them. Once login, the session stay for almost one day and they have to login again. ...
by kvee
Mon Sep 04, 2023 2:26 pm
Forum: RouterOS beta
Topic: New User Manager in RouterOS v7
Replies: 211
Views: 83683

Re: New User Manager in RouterOS v7

It's possible because I'm currently using it in RouterOs v6 and working very well. Currently testing in v7 (on new device) but it is just strange behavior in user manager . I'm not sure that are we talking about the same thing because I see that Wi-Fi hotspot user (with captive portal) can be limite...
by kvee
Mon Sep 04, 2023 11:45 am
Forum: RouterOS beta
Topic: New User Manager in RouterOS v7
Replies: 211
Views: 83683

Re: New User Manager in RouterOS v7

I do want to limit the number but this is incorrect result on new version that never happens on RouterOS 6.
by kvee
Mon Sep 04, 2023 10:47 am
Forum: RouterOS beta
Topic: New User Manager in RouterOS v7
Replies: 211
Views: 83683

Re: New User Manager in RouterOS v7

I have problem with active sessions. In hotspot > user profiles > default. The shared users is set to 2. In user manager > each user. The shared users is set to 2. And user manager > user profiles > one profile for that user. The override shared users is set to 2. This is what happened. Device 1 log...
by kvee
Sun Sep 03, 2023 10:10 pm
Forum: General
Topic: CRS326 loop-protect with pvid != 1 and VLAN filtering
Replies: 18
Views: 5704

Re: CRS326 loop-protect with pvid != 1 and VLAN filtering

I'm currently looking for loop protect in Mikrotik. I'm using RouterOs v7.11.2 ; model RB1100AHx4 I have one bridge and 3 VLANs. Loop protect in the /interface/vlan does not blocked or ...wrong blocked. I plugged 1st LAN cable to switch and then 2nd to the same switch for VLAN 101. I have loop prote...
by kvee
Sun Sep 03, 2023 12:07 am
Forum: General
Topic: VLAN can't ping across "Gigabit switch" [SOLVED]
Replies: 2
Views: 1377

Re: VLAN can't ping across "Gigabit switch" [SOLVED]

There was a bug introduced in 7.11 which was solved in 7.11.1 ... which in turn introduced another nasty bug, so you really should go for 7.11.2.
Yes, it works now!
Thank you.
😁
by kvee
Sat Sep 02, 2023 10:41 pm
Forum: General
Topic: RB1100AHx4 VLAN with HW offload with multiple switch chips
Replies: 15
Views: 2912

Re: RB1100AHx4 VLAN with HW offload with multiple switch chips

Well.... I'm already get answer on this topic about "client connect each other on different chip" now.

Removed post.

Thank you.
by kvee
Sat Sep 02, 2023 7:49 pm
Forum: General
Topic: VLAN can't ping across "Gigabit switch" [SOLVED]
Replies: 2
Views: 1377

VLAN can't ping across "Gigabit switch" [SOLVED]

I'm using RB1100AHx4 There are 3 Gigabit switch on this device refer from block diagram ( https://i.mt.lv/cdn/product_files/RB1100AHx4v5_180118.png ). I had setup VLAN and it is already working but the same VLAN ID from ethernet port 2 - 5 can't ping with port 6 - 10 ,or 11 - 13. (Ethernet 1 is for ...
by kvee
Thu Aug 31, 2023 7:27 pm
Forum: General
Topic: rest-api policy
Replies: 9
Views: 1864

Re: rest-api policy

Yes, you are correct. It spend 10 minutes to make active user disappear.

Image

Image
by kvee
Thu Aug 31, 2023 6:33 pm
Forum: General
Topic: rest-api policy
Replies: 9
Views: 1864

Re: rest-api policy

For me, it takes time about 1 minute or more but I'm sure it less than 10 minutes. It's just like this... If you make a connection, the API user is active and start to countdown after finish the task. If you make a connection again, the API start new countdown.. until no connection to Mikrotik at al...
by kvee
Thu Aug 31, 2023 11:13 am
Forum: General
Topic: rest-api policy
Replies: 9
Views: 1864

Re: rest-api policy

Yes, I don't see any description about "rest-api" policy. The other problem: I see that connect via REST API is lack of changed policy. Steps to check: 1. Create user for API and its group with full permission (or must have read+ sensitive permission). 2. Connect to device via REST API and...
by kvee
Tue Aug 29, 2023 9:41 pm
Forum: General
Topic: HTTPS-redirect with RoS 7.5 - bad news for hotspots...
Replies: 10
Views: 4773

Re: HTTPS-redirect with RoS 7.5 - bad news for hotspots...

I'm testing with RouterOs 7.11 and there is no https-redirect option. While un-authenticated. When I browse to HTTP domain it's redirect me to login page correctly. When I enter just domain for example "google.com" then it's redirect me to login page correctly. When I enter domain with HTT...
by kvee
Mon Aug 28, 2023 8:48 pm
Forum: General
Topic: Please help - simple rate limit not working
Replies: 4
Views: 3426

Re: Please help - rate limit on one interface not working

Any queueing is incompatible with fasttracking - fasttracked packets bypass most of packet handling in the kernel. So disable the action=fasttrack-connection rule in /ip firewall filter and watch newly created ( not already existing) connections to be rate-limited. If you need to limit only one WAN...
by kvee
Mon Aug 28, 2023 3:23 pm
Forum: The User Manager
Topic: User Manager 7.1.1 questions
Replies: 6
Views: 15088

Re: User Manager 7.1.1 questions

I have this same question , how do I access the WebUI version of user manager. I am using 7.1.1 1. Is there a web access for web administration? I do have access to https://myrouter.domain.com/um URL with working log-in for end-user. Any other URL should i look into (/user or /userman) returns 404 ...
by kvee
Mon Aug 28, 2023 2:05 pm
Forum: Beginner Basics
Topic: RADIUS server is not responding [SOLVED]
Replies: 18
Views: 28128

Re: RADIUS server is not responding [SOLVED]

I had this problem before. Beside bpwl's answer that added the rules to firewall, I was added NAT masquerade to log the traffic but did not specify `out-interface`. After I set it then it is working fine. /ip firewall nat add action=masquerade chain=srcnat comment="masquerade NAT" log=yes ...
by kvee
Sat Aug 26, 2023 8:36 pm
Forum: General
Topic: How to skip "Quick Set" after login? [SOLVED]
Replies: 3
Views: 1388

Re: How to skip "Quick Set" after login? [SOLVED]

It seems to be working like normal now (login and redirect to WebFig page - not Quick Set). What I've changed is the line about "Required...". /ip address add address=192.168.231.1/24 comment=\ "Required default IP for this device. (by vee)" interface=bridge1 \ network=192.168.23...
by kvee
Sat Aug 26, 2023 8:06 pm
Forum: General
Topic: How to skip "Quick Set" after login? [SOLVED]
Replies: 3
Views: 1388

Re: How to skip "Quick Set" after login? [SOLVED]

Is this happening when you accessing directly using url http://192.168.231.1:8088/ or when using bookmark in browser? Maybe bookmarked url has #Quick_Set fragment - http://192.168.231.1:8088/#Quick_Set which opens Quick Set after login. Some browsers hides queries and fragments in address bar when ...
by kvee
Sat Aug 26, 2023 1:31 pm
Forum: General
Topic: How to skip "Quick Set" after login? [SOLVED]
Replies: 3
Views: 1388

How to skip "Quick Set" after login? [SOLVED]

When I access to Mikrotik admin page (example http://192.168.231.1:8088), after login success "Quick Set" appears instead of "WebFig". RouterOS v7.11 My config: # 2023-08-26 17:27:04 by RouterOS 7.11 # # model = RB1100x4 /interface bridge add comment="Bridge or previously is...
by kvee
Sat Aug 26, 2023 9:06 am
Forum: Scripting
Topic: Syntax highlighting for Notepad++
Replies: 20
Views: 35318

Re: Syntax highlighting for Notepad++

Thank you. It's working good.
by kvee
Fri Aug 25, 2023 9:56 am
Forum: Beginner Basics
Topic: VLAN no IP via DHCP
Replies: 14
Views: 4809

Re: VLAN no IP via DHCP

It looks as though when @pcunite reworked the Router-Switch-AP config some errors crept in as # L3 switching so Bridge must be a tagged member /interface bridge vlan set bridge=BR1 tagged=BR1 [find vlan-ids=80] set bridge=BR1 tagged=BR1 [find vlan-ids=90] only works if the bridge VLANs already exis...
by kvee
Sat Jul 22, 2023 10:52 pm
Forum: The User Manager
Topic: What does "shared users" under "constraints" on the user details do?
Replies: 11
Views: 16180

Re: What does "shared users" under "constraints" on the user details do?

I need help in this topic also, how to add more instance/device per users? The shared user constraint doesn't work on mine, each user can only use 1 device at the time and that's a bit too limiting. I need to make it able to do 2 at least Reply to this topic maybe late but I hope it can be useful f...
by kvee
Tue Jun 27, 2023 3:52 am
Forum: General
Topic: Hotspot logout erase-cookie bug on 6.49.6
Replies: 1
Views: 1226

Re: Hotspot logout erase-cookie bug on 6.49.6

From this link viewtopic.php?t=35478

They use
open('$(link-logout)?erase-cookie=1', 'hotspot_logout', ...
by kvee
Mon May 29, 2023 7:35 pm
Forum: General
Topic: User manager vs omada portal?
Replies: 1
Views: 1974

Re: User manager vs omada portal?

From this page ( https://help.mikrotik.com/docs/display/ROS/RouterOS+license+keys ) It said Mikrotik RouterOS level 5 supported 50 active sessions, this means you have to use level 6 which is unlimited. I'm never use that before, I have just rb2011xxx which is just level 5. But.. From their products...
by kvee
Wed May 10, 2023 1:17 pm
Forum: General
Topic: get active user hotspot by php api hlep me
Replies: 5
Views: 4750

Re: get active user hotspot by php api hlep me

The /ip/hotspot/active is good but can retrieve all active hotspot users included duplicate users who online with more than one devices. To find only active users without duplicated, use ` :put [find active-sessions] `. With Node package aluisiora/node-routeros , use conn.write('/tool/user-manager/u...
by kvee
Mon Apr 17, 2023 8:43 am
Forum: General
Topic: How to remove logs under tools user-manager session
Replies: 6
Views: 10984

Re: How to remove logs under tools user-manager session

To clear all logs, use script by romuotik's comment. To delete one that expired (by your limit), use this one. The required permissions are: read,write,test # Convert date/time to timestamp. Original source code by ( https://forum.mikrotik.com/viewtopic.php?p=994844#p994849 ). :global datetime2epoch...
by kvee
Fri Apr 14, 2023 11:30 pm
Forum: Beginner Basics
Topic: Access modem behind Mikrotik via VPN. Not working on PC but work on Smart phone
Replies: 1
Views: 628

Re: Access modem behind Mikrotik via VPN. Not working on PC but work on Smart phone

Problem solved. Mikrotik configs. /interface bridge add name=bridge-local /interface ethernet set [ find default-name=ether1 ] name=ether1-gateway speed=100Mbps set [ find default-name=ether2 ] speed=100Mbps set [ find default-name=ether3 ] speed=100Mbps set [ find default-name=ether4 ] speed=100Mbp...
by kvee
Sun Apr 09, 2023 10:12 am
Forum: Beginner Basics
Topic: Access modem behind Mikrotik via VPN. Not working on PC but work on Smart phone
Replies: 1
Views: 628

Access modem behind Mikrotik via VPN. Not working on PC but work on Smart phone

I have devices connected like this. [internet]<->[ISP modem/router]<->[Mikrotik]<->[VPN server (Raspberry Pi)] ISP modem/router IP: 192.168.1.1 Mikrotik IP: 192.168.234.1 (RouterOs v6.49) RPi IP: 192.168.234.3 From my smart phone -> connected to VPN and: ping 192.168.1.1 = success. open http://192.1...
by kvee
Thu Apr 06, 2023 9:08 pm
Forum: Scripting
Topic: I did it! Script to compute UNIX time!
Replies: 33
Views: 24668

Re: I did it! Script to compute UNIX time!

This one supported full date format (example: apr/07/04 18:32:41). :global EpochTime do={ # Usage # $EpochTime [time input] # ----- # Get current time # :put [$EpochTime] # # Read log time in one of these two format "may/01 16:23:50" or "12:02:23" for log number *323 # :put [$Epo...
by kvee
Thu Mar 09, 2023 2:55 am
Forum: The User Manager
Topic: User manager delete expired users
Replies: 21
Views: 27422

Re: User manager delete expired users

Hi letabawireless, To delete expired user in userman I used below script. You can schedule it to run on period you want but for me I run it once a week because I not have much user. I set user profile for limitation 1day (1d) and 1 month (4w2d) and I saw in user list that when user expired the actu...