Community discussions

MikroTik App

Search found 22 matches

by imirsay
Tue Nov 12, 2024 10:34 pm
Forum: Scripting
Topic: remove user
Replies: 3
Views: 1594

Re: remove user

Too few details, it's tiring for the forum users to rewrite "Which version?", "more details", "the description is not clear", etc., every time... version 7.16 I want remove user in usermanager if dont active profile and uptime not zero. I want to delete users who have ...
by imirsay
Tue Aug 06, 2024 3:52 pm
Forum: Scripting
Topic: remove user
Replies: 3
Views: 1594

Re: remove user

Can anyone help?
by imirsay
Sun Aug 04, 2024 5:26 pm
Forum: General
Topic: Increasing security of Mikrotik web page
Replies: 8
Views: 862

Re: Increasing security of Mikrotik web page

ROS 7.0beta3 ??
That's ... over 4 years old ? That version was released 2019-10-22.

Security step 1 already omitted.
I got this picture from the internet. My router is up to date
by imirsay
Sun Aug 04, 2024 5:25 pm
Forum: General
Topic: Increasing security of Mikrotik web page
Replies: 8
Views: 862

Re: Increasing security of Mikrotik web page

In what sense? No management interface of any device should be directly exposed to internet; the default firewall rules of SOHO models of Mikrotik ensure that. To avoid sending usernames across the network (even LAN) in plaintext, you can disable the http, telnet and api management interfaces compl...
by imirsay
Sun Aug 04, 2024 1:21 pm
Forum: General
Topic: Increasing security of Mikrotik web page
Replies: 8
Views: 862

Increasing security of Mikrotik web page

Increasing the security of the Mikrotik web page?

Image
by imirsay
Fri Aug 02, 2024 7:52 am
Forum: Scripting
Topic: If the uptime was more than 1 minute
Replies: 14
Views: 2121

Re: If the uptime was more than 1 minute

Delay will take care of that. No need to complicate things.... What's the difference between checking in a loop until one minute has passed or simply waiting 1 minute ? What do you think is easier ? The result is the same.... I want use in netwach ! The difference is that the command is executed af...
by imirsay
Fri Aug 02, 2024 7:48 am
Forum: Scripting
Topic: I want save backup to sub folder
Replies: 5
Views: 1451

Re: I want save backup to sub folder

What should I put instead of the question mark? . CLI tool fetch address=ftp src-path="export/$name" user=imirsay@kooshkoo.iapp.ir mode=ftp password=00 dst-path="directory/subfolder/$name" upload=yes Note: It's recommended that use SFTP if the transfer is over a public network. ...
by imirsay
Thu Aug 01, 2024 7:34 pm
Forum: Scripting
Topic: If the uptime was more than 1 minute
Replies: 14
Views: 2121

Re: If the uptime was more than 1 minute

Make script - on startup
First line: delay 60
And then your line.
I don't want it to run late. I want the command to be executed with the condition that the uptime is more than one minute. That is, if the uptime was less, the command would not be executed.
by imirsay
Thu Aug 01, 2024 3:45 pm
Forum: Scripting
Topic: If the uptime was more than 1 minute
Replies: 14
Views: 2121

If the uptime was more than 1 minute

I want If the uptime was more than 1 minute, execute this command
/tool fetch url="https://api.telegram.org/bot6674120664: ... text=T1-Up"
by imirsay
Thu Aug 01, 2024 3:34 pm
Forum: Scripting
Topic: remove user
Replies: 3
Views: 1594

remove user

I want remove user in usermanager if dont active profile and uptime not zero. Can anyone help?
by imirsay
Thu Aug 01, 2024 12:31 pm
Forum: Scripting
Topic: I want save backup to sub folder
Replies: 5
Views: 1451

Re: I want save backup to sub folder

:local name  [/system/identity get name]
system/backup/save name="disk/backup/$name"
thanks
by imirsay
Sat Jul 27, 2024 1:01 pm
Forum: Scripting
Topic: I want save backup to sub folder
Replies: 5
Views: 1451

I want save backup to sub folder

why this script dos not work??
I want save backup to sub folder
:local name  [/system/identity get name]
system/backup/save name=aaa/$name
by imirsay
Sun Jul 14, 2024 11:38 am
Forum: Scripting
Topic: if router uptime is more
Replies: 16
Views: 1797

Re: if router uptime is more

https://help.mikrotik.com/docs/display/ROS/Scheduler Perhaps add it as a startup-script in the scheduler which will run it 3 seconds after boot but the first line in your script is something like: delay 57s; Then have the rest of your code which gives that the script starts 3 seconds after boot the...
by imirsay
Sun Jul 14, 2024 7:49 am
Forum: Scripting
Topic: if router uptime is more
Replies: 16
Views: 1797

if router uptime is more

I need a script that executes commands if router uptime is more than one minute
Help me please
by imirsay
Tue Jul 02, 2024 7:43 am
Forum: The User Manager
Topic: User manager v7 delete expired users
Replies: 2
Views: 5465

Re: User manager v7 delete expired users

please help
by imirsay
Tue May 28, 2024 8:45 am
Forum: General
Topic: what is (send from cache) in user manager?
Replies: 1
Views: 423

what is (send from cache) in user manager?

what is (send from cache) in user manager?
What does coa stand for?
what is coa nak & coa ack?
by imirsay
Tue May 21, 2024 7:53 am
Forum: General
Topic: reboot with FTP
Replies: 0
Views: 612

reboot with FTP

I want reboot 2 mikrotik chr with FTP. I add a script on the sending server: /tool fetch address=1.1.1.1 src-path=export/run-reboot.rsc user=* mode=ftp password=* dst-path=auto-rest ore/run-reboot.auto.rsc upload=yes /tool fetch address=2.2.2.2 src-path=export/run-reboot.rsc user=* mode=ftp password...
by imirsay
Mon May 06, 2024 8:52 am
Forum: General
Topic: send a file to 2 servers
Replies: 2
Views: 405

send a file to 2 servers

I want to send a file to 2 servers using ftp. How do I do this with a command?
tool/fetch address=1.1.1.1 src-path=1 mode=ftp  user=user password=pass dst-path=1 upload=yes
by imirsay
Tue Mar 12, 2024 1:35 pm
Forum: General
Topic: convert runing active to runing
Replies: 0
Views: 343

convert runing active to runing

I use user-manager 7.14.1 and when change session limit, All users who used that session limit convert to running
by imirsay
Tue Oct 03, 2023 1:58 pm
Forum: General
Topic: IPv6 addresses can not be deleted [SOLVED]
Replies: 6
Views: 10574

Re: IPv6 addresses can not be deleted [SOLVED]

This is a bug. And the problem is not solved. Why did you say it was solved in the title?
by imirsay
Fri Jul 28, 2023 1:08 pm
Forum: The User Manager
Topic: User manager delete expired users
Replies: 21
Views: 29919

Re: User manager delete expired users


Hi risi

Here is my script to delete user in User-manager V7.x. You need to schedule it at lease once a day at any time.
Hope this will help.

I want usernames that have another active profile not to be deleted
by imirsay
Fri Jul 28, 2023 12:53 pm
Forum: The User Manager
Topic: User manager delete expired users
Replies: 21
Views: 29919

Re: User manager delete expired users

Yes OgasaYasu, User Manager in RouterOS 7 it's really different from the previous version, all the previous script don't work, and the set of command it's now, from my opinion, incomplete. I use User Manager to manage the User have access form the Hotspot, and usually I create hundred of user autom...