Community discussions

MikroTik App

Search found 12515 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 42
by rextended
Sun Dec 24, 2023 9:24 pm
Forum: Beginner Basics
Topic: Am I safe with this firewall config? (I'm fairly new)
Replies: 17
Views: 1612

Re: Am I safe with this firewall config? (I'm fairly new)

I'm fairly new to Mikrotik, so I would like to know if with this firewall config I'm safe. There are predefined rules, which are more than enough to get started. Why did you delete them? Any removal from the default basic rules is a mistake. So removing the drop-all-at-the-end makes any configurati...
by rextended
Sun Dec 24, 2023 9:07 pm
Forum: Scripting
Topic: Graphs download script
Replies: 19
Views: 1911

Re: Graphs download script

must be no, just "can be". It's a point of style and choice, no more. 2+2 can also be written ((1+1)+(1+1)), or even worse. There's no limit to how badly you can write a script that still gives the right result in the end, but surely if you write like shit, then only you understand, and i...
by rextended
Sun Dec 24, 2023 8:59 pm
Forum: Scripting
Topic: System health voltage string conversion ROS7.13
Replies: 5
Views: 854

Re: System health voltage string conversion ROS7.13

Rex, I'm curious to see how you get it to work.
There is no need to reinvent the weel:
just use the "search" function in the forum...
viewtopic.php?p=1021500&hilit=%2Fsystem ... t#p1021446
by rextended
Sun Dec 24, 2023 12:21 pm
Forum: Scripting
Topic: System health voltage string conversion ROS7.13
Replies: 5
Views: 854

Re: System health voltage string conversion ROS7.13

:set $voltage [/system health get number=0 value ]
We already start with bullshit at the beginning (number=0), everything else is certainly wrong.
by rextended
Sun Dec 24, 2023 12:08 pm
Forum: Scripting
Topic: Graphs download script
Replies: 19
Views: 1911

Re: Graphs download script

Too much useless frills like :local "subs" { "%0A"; "%0D"; "%20"; "%21"; "%22"; "%23"; "%24"; "%25"; "%26"; "%27"; "%28"; "%29"; "%2A"; "%2B"; "%...
by rextended
Wed Dec 20, 2023 7:47 pm
Forum: Scripting
Topic: CHR x86 - High CPU usage (ssl) when using www-ssl [SOLVED]
Replies: 4
Views: 1458

Re: CHR x86 - High CPU usage (ssl) when using www-ssl [SOLVED]

I have resolved the issue.
Thanks for sharing the solution, you b–d.
by rextended
Wed Dec 20, 2023 7:43 pm
Forum: Scripting
Topic: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)
Replies: 264
Views: 72278

Re: Address lists downloader (DShield, Spamhaus DROP/EDROP, etc)

From 7.14beta changelog:
*) fetch - do not require "content-length" for HTTP (introduced in v7.13);
*) fetch - treat any 2xx HTTP return code as success (introduced in v7.13);
by rextended
Tue Dec 19, 2023 2:27 pm
Forum: Announcements
Topic: v7.13.5 [stable] is released!
Replies: 909
Views: 253248

Re: v7.13 [stable] is released!

Did you install the wifi-qcom or wifi-qcom-ac package?
It's already written, just read.

It is obvious that the user wanted to read what he wanted, and installed the packages at random, without logic.
He didn't even read/understand the documentation he linked...
by rextended
Tue Dec 19, 2023 2:26 pm
Forum: General
Topic: RouterOS missing RFC1213-MIB::ipRouteTable OID
Replies: 1
Views: 438

Re: RouterOS missing RFC1213-MIB::ipRouteTable OID

But who made you do it? It is written everywhere on the forum that in v7 the routing has changed, so things no longer work as before.
by rextended
Tue Dec 19, 2023 2:23 pm
Forum: General
Topic: Unable to connect Tuya devices
Replies: 19
Views: 3681

Re: Unable to connect Tuya devices

I have an unsolvable problem.
If you yourself say it's unsolvable, why bother?
by rextended
Tue Dec 19, 2023 2:20 pm
Forum: Virtualization
Topic: hAP lite - not enough space for update
Replies: 9
Views: 2332

Re: hAP lite - not enough space for update

As already written millions of times on this site, if you had used the "search" function you would have already found the solution.
by rextended
Tue Dec 19, 2023 2:06 pm
Forum: Scripting
Topic: Environment in Script List [SOLVED]
Replies: 3
Views: 1155

Re: Environment in Script List [SOLVED]

You completely forgot about the quotes surrounding the strings.
Not to mention that representing the date in that way is completely silly and inefficient.
by rextended
Mon Dec 18, 2023 5:57 pm
Forum: General
Topic: Temporary configuration with scripts [SOLVED]
Replies: 13
Views: 1974

Re: Temporary configuration with scripts [SOLVED]

Your concern (about flash writes) is completely ridiculous and misplaced, as they have already written elsewhere.
by rextended
Tue Dec 12, 2023 4:47 pm
Forum: Scripting
Topic: Script stops for unknown reason
Replies: 8
Views: 1812

Re: Script stops for unknown reason

The basic problem is that: NUMBERS SHOULD NOT BE USED IN SCRIPTS, which are obtained with "print", to identify objects, any other opposite assumption is stupid and wrong. The object ID must be used, not the number 0, 1, 2, etc. /ip dhcp-server :local servername "" :local poolname...
by rextended
Mon Dec 11, 2023 9:24 pm
Forum: Scripting
Topic: Array of Arrays
Replies: 17
Views: 2820

Re: Array of Arrays

it's just a representation from the terminal of what the array looks like.
by rextended
Mon Dec 11, 2023 9:12 pm
Forum: Scripting
Topic: Array of Arrays
Replies: 17
Views: 2820

Re: Array of Arrays

A "comma separated values" inside a command line is one array....

This work
/tool e-mail send to=$toEmail cc=$ccEmails ...
by rextended
Mon Dec 11, 2023 9:04 pm
Forum: Scripting
Topic: Array of Arrays
Replies: 17
Views: 2820

Re: Array of Arrays

Too much frills...
{
:local emailToList [:toarray "to_email@*****.com,cc_email1@*****.com,cc_email2@*****.com"]
:local toEmail     ($emailToList->0)
:local ccEmails    [:pick $emailToList 1 [:len $emailToList]]
:put "to=$toEmail"
:put "cc=$ccEmails"
}
by rextended
Mon Dec 11, 2023 9:02 pm
Forum: Scripting
Topic: Array of Arrays
Replies: 17
Views: 2820

Re: Array of Arrays

Your script is wrong at the start if are present 3 addesses or more, because you can not add multiple " cc=" on same line....
Assuming you call later the command line...
by rextended
Mon Dec 11, 2023 5:26 pm
Forum: Scripting
Topic: Script run in another script [SOLVED]
Replies: 3
Views: 2040

Re: Script run in another script [SOLVED]

Just write the scripts correctly, as it should be done, that is, the script itself must prevent errors.
by rextended
Mon Dec 11, 2023 11:08 am
Forum: General
Topic: Can't block my kids from internet access
Replies: 2
Views: 1123

Re: Can't block my kids from internet access

Turn off the router and play with your kids instead of leaving them alone because you want to use the Internet yourself.

Instead of wasting time with the firewall, use the Wi-Fi access list to disable access. And then there's also the kid-control in the routerboard...
by rextended
Sat Dec 09, 2023 1:13 am
Forum: Announcements
Topic: v7.13rc [testing] is released!
Replies: 178
Views: 49136

Re: v7.13rc [testing] is released!

   
by rextended
Fri Dec 08, 2023 12:57 am
Forum: Announcements
Topic: v7.13rc [testing] is released!
Replies: 178
Views: 49136

Re: v7.13rc [testing] is released!

Is the same error on RouterOS source code, that I report various times, with the exact position and fix, completely ignored. Someone also remember it... https://forum.mikrotik.com/viewtopic.php?t=201989#p1039584 It seems that only users on the forum can read what I write, the MikroTik staff cannot. ...
by rextended
Thu Dec 07, 2023 1:49 pm
Forum: Announcements
Topic: WinBox v3.40 released!
Replies: 109
Views: 109506

Re: WinBox v3.40 released!

196622 produced no hits in Search and your mention is not a link.
Really?

viewtopic.php?t=196622
by rextended
Wed Dec 06, 2023 1:07 pm
Forum: Scripting
Topic: Stop wanport from getting dhcp from modem
Replies: 6
Views: 2142

Re: Stop wanport from getting dhcp from modem

Why not suffice just NOT put the WANs in the LAN and remove the DHCP clients from WAN ports?
What configuration horror do you have?
by rextended
Tue Dec 05, 2023 5:25 pm
Forum: Scripting
Topic: Script works fine but won't run on startup
Replies: 2
Views: 1590

Re: Script works fine but won't run on startup

the obvious:
add at least 30 seconds of delay (as first line) for wifi driver to startup the device, or when is run wifi is not ready for nothing...
by rextended
Tue Dec 05, 2023 5:23 pm
Forum: Scripting
Topic: Passing a parameter from a script to another script
Replies: 8
Views: 1928

Re: Passing a parameter from a script to another script

Rex and Amm0 where are you friends? What's easier, you say, do it through global variables. But I want to do without variables (the interest is purely academic) I have no interest in complicating life unnecessarily. If there is a quicker way, I don't see why waste time with all these mental wanks...
by rextended
Tue Dec 05, 2023 5:18 pm
Forum: Scripting
Topic: Dnsexit update?
Replies: 2
Views: 1547

Re: Dnsexit update?

And why don't you ask where the DNSexit script is posted, instead of here in a random topic?
by rextended
Sat Dec 02, 2023 11:28 am
Forum: Scripting
Topic: Foreach syntax
Replies: 5
Views: 1597

Re: Foreach syntax

I do not like that way.
Better this:
/interface list
add name=ListB
member set [find where list="ListA" and interface~"ospf"] list="ListB"
by rextended
Sat Dec 02, 2023 11:18 am
Forum: Scripting
Topic: Script's
Replies: 7
Views: 2218

Re: Script's

Ask the original author.
LOL... Oh, @rextended, I think you and I know the author...
Yes, that's why my answer was that... :lol:
by rextended
Sat Dec 02, 2023 11:17 am
Forum: Scripting
Topic: Script's
Replies: 7
Views: 2218

Re: Script's

was written for me by a person who told me that he was interested in the idea,
but I had to manage the settings myself.
It's always a "vague person" who writes things anyway, there's always somephone who believes it...
by rextended
Sat Dec 02, 2023 11:07 am
Forum: RouterOS beta
Topic: OS upgrade Issue from version 6 to version 7
Replies: 43
Views: 8459

Re: OS upgrade Issue from version 6 to version 7

Topic title: OS upgrade Issue from version 6 to version 7 Indisputable example: By upgrading RouterOS v6 (no matter which version) to RouterOS v7, the user-manager no longer exists, instead of recompiling it (the user-manager) for v7, even without adding or fixing anything, as for the "The Dude...
by rextended
Fri Dec 01, 2023 2:37 am
Forum: Scripting
Topic: Script's
Replies: 7
Views: 2218

Re: Script's

that should work but don't
And who decided that they should work?

Ask the original author.
by rextended
Mon Nov 27, 2023 9:06 pm
Forum: Scripting
Topic: Power outage notification
Replies: 3
Views: 1487

Re: Power outage notification

look for existing posts from me and eldoncito2019
by rextended
Mon Nov 27, 2023 10:20 am
Forum: Scripting
Topic: Some Music
Replies: 46
Views: 59059

Re: Some Music

It is not easy to find a Mikrotik router nowadays with beeper! Seems all the new models don't have beeper anymore. A beeper is only included if supported directly by the "CPU", it is never added as an add-on. So if not natively supported by the CPU, it is not added superfluously. Although...
by rextended
Mon Nov 27, 2023 10:16 am
Forum: General
Topic: Winbox export whitespace bug
Replies: 8
Views: 2544

Re: Winbox export whitespace bug

P.S.: All space character (space, carriage-return, new-line) after the \ are ignored. Are just use for format the text for readability.
Note that \r,\n (and \t when is present) are part of the script, is why are escaped on the export.
by rextended
Mon Nov 27, 2023 1:37 am
Forum: Scripting
Topic: Some Music
Replies: 46
Views: 59059

Re: Some Music

I needed a birthday song, but there were none, or not good.

https://github.com/fortmes/mikrotik-happy-birthday-song
And what do you expect? the London Philharmonic?
by rextended
Mon Nov 27, 2023 1:27 am
Forum: Scripting
Topic: Searching for words in an array.
Replies: 7
Views: 1568

Re: Searching for words in an array.

But before that it didn't work for me. I copied it as is. At the same time, the type of the result variable was printed as "nil". If I had typed it as "num", I would have decided that there was an error in my “if” condition. It really is there, but the most important thing is th...
by rextended
Mon Nov 27, 2023 1:21 am
Forum: General
Topic: Winbox export whitespace bug
Replies: 8
Views: 2544

Re: Winbox export whitespace bug

I do not see any problem, is a export, and work as expected.
by rextended
Sat Nov 25, 2023 9:24 pm
Forum: Scripting
Topic: Searching for words in an array.
Replies: 7
Views: 1568

Re: Searching for words in an array.

The script on OP work correcly on both 6.48.7 and 7.12, so, no superfluos ( ) needed The correct way is like this: :local months [:toarray "jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec"] :local searchWord "nov" :local result [:find $months $searchWord -1] :if ([:typeof $result...
by rextended
Sat Nov 25, 2023 9:17 pm
Forum: Wireless Networking
Topic: WiFi Wave2 interface not untagging frames when a station-bridge connects [SOLVED]
Replies: 12
Views: 2923

Re: WiFi Wave2 interface not untagging frames when a station-bridge connets [SOLVED]

and also station-bridge is not supported on wifiwave2 Actually, since 7.12 it is. Already tested it. *) wifiwave2 - added station-bridge interface mode; The following notable features are lost when running 802.11ac products with drivers that are compatible with the 'wifi' management interface Compa...
by rextended
Sat Nov 25, 2023 10:04 am
Forum: Scripting
Topic: Running script 4 times per second
Replies: 2
Views: 1115

Re: Running script 4 times per second

I can see that the scheduler can only go down to executing a script every second. How do I run my script every 0.25 or 0.2 seconds? It's an experimental monitoring script. Use the brain: Simply configure 4 schedulet, each one that start inside with a delay of respectively 0, 0,25, 0,5 and 0,75 befo...
by rextended
Fri Nov 24, 2023 1:57 pm
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

Thanks! Is there any link to read about Mikrotik scripts refactoring tips ?

Ehm... no....

Read my posts and use them as examples...
viewtopic.php?t=177551
(do not post directly on that topic, follow the links and use the other topic)
by rextended
Fri Nov 24, 2023 11:47 am
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

You can replace that with
:global FuncStatus do={
    /system clock 
    :local deviceDate [get date]
    :local deviceTime [get time]
    /system resource
    :local deviceUptime [get uptime]
    :return "$deviceDate $deviceTime uptime: $deviceUptime"
}

:put [$FuncStatus]
by rextended
Fri Nov 24, 2023 11:11 am
Forum: Scripting
Topic: Disabling a port based on MAC address
Replies: 1
Views: 1123

Re: Disabling a port based on MAC address

Who did you take us for?
Do you copy scripts from unspecified sources and should we fix them for you?
Put the link to where you got the script.
by rextended
Thu Nov 23, 2023 7:00 pm
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

:put [:tonum [:timestamp]] does not work for me. Returns nothing. that is on V7.11.2
Read the posts...
Since ROS 7.12 it is much easier to get a unix time.
by rextended
Tue Nov 21, 2023 10:51 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

His brain (neural network, if you like) is well “sharpened” on structures, formulas, icons, hooks, etc... Just like the brain of a mathematician or theoretical physicist. That is, in AI terms, its neural network is better trained for this. But he had to spend a lot of time to learn. My brain is ver...
by rextended
Tue Nov 21, 2023 6:45 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

he does not have systematic knowledge of philosophy
Perhaps...
"I doubt, therefore I think, therefore I exist"...

Instead, other people DON'T EVEN doubt, so they barely exist...
by rextended
Mon Nov 20, 2023 10:35 pm
Forum: Announcements
Topic: v7.13beta [testing] is released!
Replies: 467
Views: 86994

Re: v7.13beta [testing] is released!

I not tested "deserialize", is just about "Currently fetch can not pass more than ~ 64 kB of data."
by rextended
Mon Nov 20, 2023 10:23 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

By the way, Eleizer Udkovsky believes that we will not notice how superintelligence appears on Earth. Perhaps he is even mistaken and we have existed under him for a long time, meaning that in our understanding he is God or we were originally created by AI himself. I have had proof many times that ...
by rextended
Mon Nov 20, 2023 10:01 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

As far as I understand, you Rex do not want to get your own personal experience with GPT. This is weird. The cut arm comparison is not the same as testing or not testing GPT. Where did you read that I've never used GPT? Obviously I wouldn't know so well how it works if I hadn't tried GPT on "f...
by rextended
Mon Nov 20, 2023 9:58 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

But when biologists tested the effects of viruses or drugs on themselves, can they be called idiots for this?
Another covid?
Then you hear (maybe) about those who succeeded, not those who died...
by rextended
Mon Nov 20, 2023 9:52 pm
Forum: Announcements
Topic: v7.13beta [testing] is released!
Replies: 467
Views: 86994

Re: v7.13beta [testing] is released!

Currently fetch can not pass more than ~ 64 kB of data. This is a known and expected limitation.

But you can still use my method for put on memory from a file one var of any size, until the memory is depleted...
viewtopic.php?p=1012747#p1012747
by rextended
Mon Nov 20, 2023 3:59 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

Contradict yourself. Say that knowledge is taken from experience [...] I've never written it... Can you point me to the point in previous posts where I wrote it? Knowledge is neither created nor destroyed, but passes from one form to another. So without having to detach my arm, I can already imagin...
by rextended
Mon Nov 20, 2023 3:12 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

For now, knowledge can only be created and increased by people through intelligence. Knowledge cannot be created from nothing. Knowledge is neither created nor destroyed, but passes from one form to another. There is no such intelligent person in the universe who has ever invented something, withou...
by rextended
Mon Nov 20, 2023 1:43 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

By the way, Rex himself never expressed his opinion about GPT4... My opinion is irrelevant. No matter what I think, at most what I vote at the polls can influence something, but in general, whatever you or others think counts for absolutely nothing. Intelligence does not exist, in any form. Even in...
by rextended
Mon Nov 20, 2023 12:44 pm
Forum: Scripting
Topic: GPT4 and writing scripts for Mikrotik
Replies: 51
Views: 5218

Re: GPT4 and writing scripts for Mikrotik

I didn't want to intervene on the issue so as not to influence and see where it would end up, but...
I am very flattered that I am continually cited as an example and antagonist against ChatGPT...
Thank you all...
by rextended
Mon Nov 20, 2023 10:34 am
Forum: General
Topic: Curious about languages
Replies: 5
Views: 1267

Re: Curious about languages

Sounds like no one is interested in sharing.

Oh well.
It's not a social network like the others, so don't expect likes on your post or a quick chat.

Taking inspiration from @holvoetn's post.

Native language Italian
Good in English read, spoken poorly.
Notions of French.
by rextended
Mon Nov 20, 2023 10:20 am
Forum: General
Topic: Winbox export whitespace bug
Replies: 8
Views: 2544

Re: Winbox export whitespace bug

I don't understand anything, not even what the problem is. Especially since the forum itself changes the layout of the internal text. On the surface everything seems fine. Winbox 3.40 on 7.12: Where is, for you, the error? #********************************* WINDOW SIZE ******************************...
by rextended
Fri Nov 17, 2023 11:47 pm
Forum: Scripting
Topic: New Address List For (Whatsapp_Facebook_Googleplay_Youtube Web_Google_Youtube App) New Update 17/11/2023
Replies: 4
Views: 1644

Re: New Address List For (Whatsapp_Facebook_Googleplay_Youtube Web_Google_Youtube App) New Update 17/11/2023

It was tested in two countries, Syria and Iraq They are not the center of the world, and they are certainly not the most populated states in the world... So those IPs are and continue to be just the tip of the iceberg, and certainly the collection method is already wrong from the start. All you had...
by rextended
Fri Nov 17, 2023 11:40 pm
Forum: General
Topic: Block Youtube on computers and smartphone apps
Replies: 85
Views: 17711

Re: Block Youtube on computers and smartphone apps

I can block traffic youtube ...

Mancava questo invio alla collezione...
by rextended
Fri Nov 17, 2023 6:30 pm
Forum: Scripting
Topic: Splitting/parsing variable data [SOLVED]
Replies: 21
Views: 15119

Re: Splitting/parsing variable data [SOLVED]

it may well be that some fields between the | separators can have , in the value, and chaos would result.
Not, just simply replace that "," with (for example) $$$comma$$$ and when array is created, convert back $$$comma$$$ to "," on each item.
by rextended
Fri Nov 17, 2023 6:26 pm
Forum: Scripting
Topic: New Address List For (Whatsapp_Facebook_Googleplay_Youtube Web_Google_Youtube App) New Update 17/11/2023
Replies: 4
Views: 1644

Re: New Address List For (Whatsapp_Facebook_Googleplay_Youtube Web_Google_Youtube App) New Update 17/11/2023

Don't waste people's time: The list is wrong for two reasons (and probably also for other, but is not that the point): 1) It is valid only in the time frame in which the scan was taken and only in the country in which it was taken. 2) Does not take IPv6 into account. ping facebook.com Esecuzione di ...
by rextended
Fri Nov 17, 2023 6:20 pm
Forum: Announcements
Topic: v7.13beta [testing] is released!
Replies: 467
Views: 86994

Re: v7.13beta [testing] is released!

a better final version.
Image
by rextended
Fri Nov 17, 2023 4:44 pm
Forum: Scripting
Topic: Splitting/parsing variable data [SOLVED]
Replies: 21
Views: 15119

Re: Splitting/parsing variable data [SOLVED]

I can (uselessly) write a method for not use at all pick for split a string, but if pick exist, why not use it? For convert x|y|z on one array of 3 elements, two way are simpler: first replace inside the string all | with , and use :toarray or use a "while" until you do not process the str...
by rextended
Fri Nov 17, 2023 12:31 pm
Forum: Announcements
Topic: v6.49.10 [long-term] is released!
Replies: 33
Views: 82929

Re: v6.49.10 [long-term] is released!

Update to 6.49.10 but keep in loop update.
Data leak on image...
by rextended
Wed Nov 15, 2023 1:39 am
Forum: General
Topic: Winbox export whitespace bug
Replies: 8
Views: 2544

Re: Winbox export whitespace bug

Any concrete example? Only novels?

The users can not access the supout... (and is better on this way...)
by rextended
Tue Nov 14, 2023 7:54 pm
Forum: General
Topic: can't get upnp to work [SOLVED]
Replies: 14
Views: 1764

Re: can't get upnp to work [SOLVED]

Why can't you understand that to get help you have to show how the device is configured, without the forum users having to retype it every time? What's so difficult to understand that if you don't show the configuration of the apparatus, we aren't fortune tellers??? Do an /export of the devices and ...
by rextended
Tue Nov 14, 2023 7:52 pm
Forum: The Dude
Topic: Is DUDE Supported??
Replies: 7
Views: 2803

Re: Is DUDE Supported??

Not sure if thats a yes or no answer LOL
Is abandoned.
by rextended
Tue Nov 14, 2023 7:46 pm
Forum: Beginner Basics
Topic: Long identyfing network in Win
Replies: 11
Views: 2092

Re: Long identyfing network in Win

Any ideas? Why can't you understand that to get help you have to show how the device is configured, without the forum users having to retype it every time? What's so difficult to understand that if you don't show the configuration of the apparatus, we aren't fortune tellers??? Do an /export of the ...
by rextended
Tue Nov 14, 2023 7:42 pm
Forum: Beginner Basics
Topic: Long identyfing network in Win
Replies: 11
Views: 2092

Re: Long identyfing network in Win

(again)

From the vehicles repairer:

- Why doesn't my car start?

- Where is the car to be checked?

- I left it at home...
by rextended
Tue Nov 14, 2023 7:34 pm
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

Why all that?

Suffice just
:put [:tonum [:timestamp]]
by rextended
Tue Nov 14, 2023 7:31 pm
Forum: Scripting
Topic: I did it! Script to compute UNIX time!
Replies: 33
Views: 23519

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

Why all that?

Suffice just
:put  [:tonum [:timestamp]]
by rextended
Tue Nov 14, 2023 4:22 pm
Forum: Scripting
Topic: Use fetch wil create the File
Replies: 8
Views: 1744

Re: Use fetch wil create the File

And what does it have to do with the topic or with the first question?

From the vehicles repairer:

- Why doesn't my car start?

- Where is the car to be checked?

- I left it at home...

- And how do you expect me to answer you if I DON'T SEE IT FIRST?
by rextended
Tue Nov 14, 2023 2:13 pm
Forum: Beginner Basics
Topic: Upgrading without 2 reboots
Replies: 6
Views: 1370

Re: Upgrading without 2 reboots

if the user can put all the fwf on another device, for example by ftp: /tool fetch mode=ftp ascii=no upload=no address=ex.am.pl.e port=21 user="uxer" password="pazzword" keep-result=yes \ src-path="/disk1/firmware/[/system routerboard get firmware-type]-7.12.fwf" \ dst-...
by rextended
Tue Nov 14, 2023 1:28 pm
Forum: Scripting
Topic: Use fetch wil create the File
Replies: 8
Views: 1744

Re: Use fetch wil create the File

From the vehicles repairer:

- Why doesn't my car start?

- Where is the car to be checked?

- I left it at home...
by rextended
Tue Nov 14, 2023 12:52 pm
Forum: RouterBOARD hardware
Topic: SIM insertion
Replies: 7
Views: 2243

Re: SIM insertion

Is not a typo error (the wrong is the link: online text is .188. but the link is .88.). Defconf now have 192.168.188 for LTE devices, so the guide is right... But only for RouterOS 7.12?... :local ipNetwork "192.168.88"; :if ($board->"model"~"SXT|EC25") do={ :if (!($def...
by rextended
Mon Nov 13, 2023 10:07 pm
Forum: RouterBOARD hardware
Topic: SIM insertion
Replies: 7
Views: 2243

Re: SIM insertion



In Mikrotik you usually need to connect to 192.168.88.1 ...
The "Quick guide" I received says "188", not "88", I'll try 88 too...

A photo of that guide, please?
by rextended
Mon Nov 13, 2023 9:53 pm
Forum: Scripting
Topic: Tracking new devices
Replies: 1
Views: 1141

Re: Tracking new devices

If the device do not provide a host name, do not have a host name...
by rextended
Mon Nov 13, 2023 9:49 pm
Forum: Announcements
Topic: v7.13beta [testing] is released!
Replies: 467
Views: 86994

Re: v7.13beta [testing] is released!


What's new in 7.13beta1 (2023-Nov-09 13:15):






Image
by rextended
Mon Nov 13, 2023 9:27 pm
Forum: Announcements
Topic: v7.12.1 [stable] is released!
Replies: 252
Views: 90676

Re: v7.12 [stable] is released!

@pe1chl , @DarkNate Wrong concept for both: The point is not to keep the old firmware forever, but is don't update it "instantly" when the new version comes out, without any test, automatically and without any control... At least a waiting period of a few months and some test is recommend...
by rextended
Mon Nov 13, 2023 2:38 pm
Forum: General
Topic: Multiple ISP with Public IP unreachable
Replies: 3
Views: 681

Re: Multiple ISP with Public IP unreachable

you must fix your routing, because probably when you try to reach 2.2.2.2 the route reply by 1.1.1.1 that is unexpected...
by rextended
Mon Nov 13, 2023 2:32 pm
Forum: Scripting
Topic: Connection status is not checked [SOLVED]
Replies: 2
Views: 1436

Re: Connection status is not checked [SOLVED]

Use the correct syntax... and provide RouterOS version, everytime... :if ( [ :typeof [ ( [/interface lte monitor lte1 as-value once ] -> "rssi" ) ] = "nothing") do={ :put "No rssi"} else={ :put "Yes rssi"} If must be a number, check if is a number, not if is n...
by rextended
Mon Nov 13, 2023 2:15 pm
Forum: Announcements
Topic: v7.12.1 [stable] is released!
Replies: 252
Views: 90676

Re: v7.12 [stable] is released!

Not sure if it's related, but...
As usual, you do not provide any useful info, like from what version you upgrade...
by rextended
Sat Nov 11, 2023 11:53 am
Forum: General
Topic: Back-to-Home-VPN: firewall logs multiple connection attempts from 127.0.0.1 to 0.0.0.0:0 and 127.0.0.1:0 [SOLVED]
Replies: 6
Views: 1240

Re: Back-to-Home-VPN: firewall logs multiple connection attempts from 127.0.0.1 to 0.0.0.0:0 and 127.0.0.1:0 [SOLVED]

Add the missing rule...
/ip firewall filter
add chain=input action=accept src-address=127.0.0.1 comment="defconf: accept from local loopback (for Wireguard)"
by rextended
Sat Nov 11, 2023 11:18 am
Forum: General
Topic: Back-to-Home-VPN: firewall logs multiple connection attempts from 127.0.0.1 to 0.0.0.0:0 and 127.0.0.1:0 [SOLVED]
Replies: 6
Views: 1240

Re: Back-to-Home-VPN: firewall logs multiple connection attempts from 127.0.0.1 to 0.0.0.0:0 and 127.0.0.1:0 [SOLVED]

CAPsMAN, Wireguard and others, use the loopback port to work properly, if you blocked it or deleted the default firewall rule that allow the loopback, this is the result.

P.S.: unknown is the internal CPU process
by rextended
Sat Nov 11, 2023 11:04 am
Forum: General
Topic: problem with my routerboard 5009_no save graph after rebooot
Replies: 7
Views: 847

Re: problem with my routerboard 5009_no save graph after rebooot

As a special setting has been added for it to restart every day at 4 am.
Special settings?
No special setting, it's fullshift™ reboot everyday for no reason.

(Not to mention the gem of the "y" at the end of the script...)
by rextended
Sat Nov 11, 2023 11:00 am
Forum: Announcements
Topic: v7.12.1 [stable] is released!
Replies: 252
Views: 90676

Re: v7.12 [stable] is released!

CCR2116-12G-4S+
Edge router on producion (with HA) 2 BGP IPv4, 1 BGP IPv6.
Uptime 1d 00:36:16, no problem.
by rextended
Sat Nov 11, 2023 10:51 am
Forum: Wireless Networking
Topic: List of supported wifi modules
Replies: 27
Views: 5116

Re: List of supported wifi modules

Why there is no x86 drivers for wave2?
(since you don't know where to look for it?)

What a habit it is not to specify what device you're talking about...

Have you tried the module on another microtik board with installed separate wifiwave2 package?
by rextended
Fri Nov 10, 2023 10:10 am
Forum: Scripting
Topic: DHCP-Client script: update status during script
Replies: 15
Views: 2839

Re: DHCP-Client script: update status during script

I can understand that a novice doesn't know scripting, but where have you seen it done this way? :local IP "$[/ip ...]"; :local IP [/ip dhcp-client get client1 address] :if ([:len $IP] != 0) do={ :log info "IP=$IP" } else={ :log info "no IP" } :if ([$IP] = "192.168...
by rextended
Thu Nov 09, 2023 4:21 pm
Forum: Scripting
Topic: If else commands scripting.
Replies: 50
Views: 50246

Re: If else commands scripting.

No-no, is the only house within 600 meters... ;)
by rextended
Thu Nov 09, 2023 4:17 pm
Forum: Scripting
Topic: Need help completing a script. [SOLVED]
Replies: 8
Views: 2078

Re: Need help completing a script. [SOLVED]

Do you think people should waste their time fixing ChatGPT's made-up shipts™?
by rextended
Thu Nov 09, 2023 10:28 am
Forum: Scripting
Topic: If else commands scripting.
Replies: 50
Views: 50246

Re: If else commands scripting.

so in this case command "place-before=([find]->0)" doesn't work.
I see you read what I wrote... yes, but whatever you like...
by rextended
Thu Nov 09, 2023 1:59 am
Forum: Scripting
Topic: Get Mac Address first interface
Replies: 7
Views: 45643

Re: Get Mac Address first interface

:put [/interface ethernet get 0 mac-address ] works too , but much shorter to type. But it's also bullshit because numbers and ids shouldn't be used. You could have saved yourself from necroposting with that shit. The apparently correct one: :put [/interface ethernet get [find where default-name=et...
by rextended
Thu Nov 09, 2023 1:54 am
Forum: Scripting
Topic: Splitting/parsing variable data [SOLVED]
Replies: 21
Views: 15119

Re: Splitting/parsing variable data [SOLVED]

Is just an example for a little complex string, if the fields are more, a cycle is better...
by rextended
Thu Nov 09, 2023 1:35 am
Forum: Scripting
Topic: Splitting/parsing variable data [SOLVED]
Replies: 21
Views: 15119

Re: Splitting/parsing variable data [SOLVED]

The spaces were not placed by chance... If [:find $test "|" -1] identify the position of the first "|" ([:find $test "|" -1] + 1) is the next character from the | so if you start the next :find from ([:find $test "|" -1] + 1) you obtain the next "|",...
by rextended
Thu Nov 09, 2023 1:13 am
Forum: Scripting
Topic: If else commands scripting.
Replies: 50
Views: 50246

Re: If else commands scripting.

Thanks for the thought :( :( :(

Luckily I don't live in those areas, I'm not stupid enough to live in a house built next to a river bed...
My house can only be hit by earthquakes... or from some mad dictator...
by rextended
Wed Nov 08, 2023 6:56 pm
Forum: Scripting
Topic: If else commands scripting.
Replies: 50
Views: 50246

Re: If else commands scripting.

And I thought I was the one with the twisted thinking...

However, I agree: Something (falsely) hidden attracts more attention...
by rextended
Wed Nov 08, 2023 4:39 pm
Forum: General
Topic: Problems activating DoH in 7.11.2
Replies: 18
Views: 2160

Re: Problems activating DoH in 7.11.2

It's your time, do as you please.
by rextended
Wed Nov 08, 2023 4:29 pm
Forum: General
Topic: starlink ipv6 with mikrotik problem
Replies: 2
Views: 664

Re: starlink ipv6 with mikrotik problem

...?

Hotspot work only for IPv4....
by rextended
Wed Nov 08, 2023 4:26 pm
Forum: Beginner Basics
Topic: Unable to logon
Replies: 2
Views: 957

Re: Unable to logon

and prevents me from logging in
How? This statement is very vague...


Are you sure it's yours?
by rextended
Wed Nov 08, 2023 4:17 pm
Forum: Scripting
Topic: If else commands scripting.
Replies: 50
Views: 50246

Re: If else commands scripting.

0 do not exist, and is wrong use numbers or IDs on script.

first check how many rules are presents, if present at least one execute the command wiith place-before=([find]->0) else with nothing.
by rextended
Wed Nov 08, 2023 4:12 pm
Forum: Scripting
Topic: Splitting/parsing variable data [SOLVED]
Replies: 21
Views: 15119

Re: Splitting/parsing variable data [SOLVED]

{ :local test "081234567890|West Java|John Due" :put [:pick $test ( -1 + 1) [:find $test "|" -1] ] :put [:pick $test ( [:find $test "|" -1] + 1) [:find $test "|" [:find $test "|" -1]] ] :put [:pick $test ( [:find $test "|" [:find $test &qu...
by rextended
Wed Nov 08, 2023 4:01 pm
Forum: General
Topic: Problems activating DoH in 7.11.2
Replies: 18
Views: 2160

Re: Problems activating DoH in 7.11.2

You still not understand what is present on the manual... From the manual: RouterOS prioritizes DoH over the DNS server if both are configured on the device. So, if you are not able to not understand that, server.lan is not present on DoH server, so you can not solve it because RouterOS prioritizes ...
by rextended
Wed Nov 08, 2023 3:59 pm
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

Stable? Everyone has it's own definition... I'm still waiting for the first 7.23.5 (long-term)... https://forum.mikrotik.com/viewtopic.php?t=102769#p1005275 https://forum.mikrotik.com/viewtopic.php?t=197095#p1008753 https://forum.mikrotik.com/viewtopic.php?t=194990#p995925 https://forum.mikrotik.com...
by rextended
Tue Nov 07, 2023 6:23 pm
Forum: General
Topic: They are attacking me?
Replies: 13
Views: 1566

Re: They are attacking me?

adding implicit parts...

add action=dst-nat chain=dstnat [src-addess=ANY] [src-port=ANY] [dst-addess=ANY] dst-port=53 protocol=udp to-addresses=94.140.14.15 to-ports=53

So any device in the world can use your Router/Public IP like is using ADGuard DNS...
by rextended
Tue Nov 07, 2023 4:17 pm
Forum: General
Topic: Trying to update an already updated ros version
Replies: 31
Views: 3934

Re: Trying to update an already updated ros version

v6 now is only long-term (security fix only)
IS TIME to remove v6 "stable", like non-existant v7 long-term...
by rextended
Tue Nov 07, 2023 4:14 pm
Forum: General
Topic: Problems activating DoH in 7.11.2
Replies: 18
Views: 2160

Re: Problems activating DoH in 7.11.2

wrong browser tab
Too much work!!! :lol:

:D
by rextended
Tue Nov 07, 2023 4:12 pm
Forum: General
Topic: Problems activating DoH in 7.11.2
Replies: 18
Views: 2160

Re: Problems activating DoH in 7.11.2

BTH is only in RouterOS BETA versions for now.
7.11.2 is not a beta
Sorry, what???
by rextended
Tue Nov 07, 2023 4:05 pm
Forum: General
Topic: Problems activating DoH in 7.11.2
Replies: 18
Views: 2160

Re: Problems activating DoH in 7.11.2

Yes:
You haven't read the manual,
or if you have, you've only done so superficially,
or you haven't read it a second time to find out why you think it doesn't work as expected.

From the manual:
RouterOS prioritizes DoH over the DNS server if both are configured on the device.
by rextended
Tue Nov 07, 2023 4:02 pm
Forum: General
Topic: They are attacking me?
Replies: 13
Views: 1566

Re: They are attacking me?

show /ip firewall export
by rextended
Tue Nov 07, 2023 1:40 pm
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

#[SUP-130404] Modbus CRC bug still in 7.12rc6
Where you read that previous (or this) version fix it?
by rextended
Tue Nov 07, 2023 1:39 pm
Forum: Scripting
Topic: Auto Fail over BGP Peers and ports
Replies: 6
Views: 1518

Re: Auto Fail over BGP Peers and ports

Or even better, BFD. It was made for this purpose.
When is really ready and works...
by rextended
Tue Nov 07, 2023 1:35 pm
Forum: General
Topic: Mikrotik support is not responding
Replies: 6
Views: 1025

Re: Mikrotik support is not responding

The problem also exists with v6 after Apple & Co. updated the random MAC policy and the browsers the cookie policy...
Yeah, I know. but when you set the device mac address to private, it works fine in v6.
How many guest know how or set the MAC to be the real one?...
by rextended
Tue Nov 07, 2023 1:01 pm
Forum: General
Topic: Lost my mikrotik user password that have full control on Mikrotik RB750GR3
Replies: 6
Views: 934

Re: Lost my mikrotik user password that have full control on Mikrotik RB750GR3

It's about this:
settings which would lock you out again
not about to be locked out or not.

"Regular" export do not export users, at least "user" export export user without password,
so if the user can access the device, can't be locked for a settings inside the export.
by rextended
Tue Nov 07, 2023 11:15 am
Forum: General
Topic: Mikrotik support is not responding
Replies: 6
Views: 1025

Re: Mikrotik support is not responding

The problem also exists with v6 after Apple & Co. updated the random MAC policy and the browsers the cookie policy...
by rextended
Tue Nov 07, 2023 11:12 am
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

To tell the truth, an oversight can happen even to those who have read it... Pretend I didn't write anything...
by rextended
Tue Nov 07, 2023 11:09 am
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

@nichky
Sorry but...
Are you part of the group of users who install (perhaps automatically) the update without even reading the changelog?
by rextended
Tue Nov 07, 2023 11:07 am
Forum: Scripting
Topic: Auto Fail over BGP Peers and ports
Replies: 6
Views: 1518

Re: Auto Fail over BGP Peers and ports

Why only use scripts, when Netwatch exists?
by rextended
Tue Nov 07, 2023 11:01 am
Forum: Scripting
Topic: script to change VPN route and static DNS forward
Replies: 2
Views: 1371

Re: script to change VPN route and static DNS forward

Anyone?
It can be done, but if no one on the forum is interested in doing it, for only you, for free, hire a consultant.
by rextended
Tue Nov 07, 2023 10:59 am
Forum: Beginner Basics
Topic: NAT Typ D - Nintendo Switch
Replies: 11
Views: 1903

Re: NAT Typ D - Nintendo Switch

I imagine the beautiful experience of playing via a double VPN by double NAT...
Just an ideal latency for gaming...
by rextended
Tue Nov 07, 2023 10:56 am
Forum: General
Topic: Lost my mikrotik user password that have full control on Mikrotik RB750GR3
Replies: 6
Views: 934

Re: Lost my mikrotik user password that have full control on Mikrotik RB750GR3

settings which would lock you out again
Plausibly it cannot be: If he have lost the password and can still log in with the other account...
by rextended
Tue Nov 07, 2023 10:55 am
Forum: General
Topic: Lost my mikrotik user password that have full control on Mikrotik RB750GR3
Replies: 6
Views: 934

Re: Lost my mikrotik user password that have full control on Mikrotik RB750GR3

@glendj15 you omitted the RouterOS version. If necessary, and if one knows how to do it, at most one can delete the password. The password cannot be recovered. I'm certainly not going to write this on the forum, or even in private or elsewhere, but knowing Linux is enough... Unless you have activat...
by rextended
Tue Nov 07, 2023 10:47 am
Forum: Beginner Basics
Topic: Block or Limit Torrents
Replies: 12
Views: 4536

Re: Block or Limit Torrents

Poor deluded... Which version are you referring to, the one from 10 years ago?

Pretending it works would only limit the speed of the first packet...
by rextended
Mon Nov 06, 2023 6:26 pm
Forum: General
Topic: CRS354-48P-4S+2Q+ traffic problem on ports 1 to 8
Replies: 427
Views: 120553

Re: CRS354-48P-4S+2Q+ traffic problem on ports 1 to 8

I've ordered 2 pcs 2 weeks ago, I still haven't received confirmation on delivery date.

Are you going to replace them because of port problems?
But why do you ask here?
Contact your distributor, instead of asking these useless questions on the user forum.
by rextended
Mon Nov 06, 2023 3:17 pm
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 51
Views: 22779

Re: [Script] Automatically change DNS if Pi-hole is no longer working

I thank you sincerely, I'm fine, I hope you are too
by rextended
Mon Nov 06, 2023 2:41 pm
Forum: Scripting
Topic: [Script] Automatically change DNS if Pi-hole is no longer working
Replies: 51
Views: 22779

Re: [Script] Automatically change DNS if Pi-hole is no longer working

So, to resolve that issue I took some help from help chatgpt.
Where is the help? I see only s–t.
by rextended
Mon Nov 06, 2023 2:17 pm
Forum: General
Topic: How to replace fast Mikrotik devices in case of failure
Replies: 9
Views: 1618

Re: How to replace fast Mikrotik devices in case of failure

It's not that easy, especially without the basic details. (For example: Is there a modem first? How do you know if the modem or MikroTik device broke, etc.) I have been using MikroTik since 2007 and there has never been a fault that did not involve external factors. The peripherals themselves have n...
by rextended
Sat Nov 04, 2023 9:53 am
Forum: Scripting
Topic: Script for CSV DHCP export
Replies: 1
Views: 1282

Re: Script for CSV DHCP export

file is limited to 4KB, if you go over that limit 1st script do not work. do not use the var name like the named item in the context.. the second script is ALSO full of logical errors... :execute script="/ip dhcp-server lease\r\ \n:foreach i in=[find where server=\"fttx-public-dhcp\"]...
by rextended
Sat Nov 04, 2023 9:36 am
Forum: Beginner Basics
Topic: NAT Typ D - Nintendo Switch
Replies: 11
Views: 1903

Re: NAT Typ D - Nintendo Switch

First check if you have Public IP on the router or not...
If not, all is useless...
by rextended
Fri Nov 03, 2023 5:04 pm
Forum: General
Topic: Feature requests
Replies: 1739
Views: 624684

Re: Feature requests

In conclusion, for this:
[xxxxx@yyyyy] /ip firewall address-list> print where address=192.168.128.*

The correct way is to use "in" but for paragonable/regex syntax is:

/ip firewall address-list print where address~"^192\\.168\\.128\\.*"
by rextended
Fri Nov 03, 2023 4:54 pm
Forum: General
Topic: Feature requests
Replies: 1739
Views: 624684

Re: Feature requests

Added during previous reply: BUT: what about wildcard searching after domain names in such address lists, for example searching all related to "google", ie. "*google*" ? literally where address have inside "google" on any point (literally is not one script instruction) ...
by rextended
Fri Nov 03, 2023 4:48 pm
Forum: General
Topic: Feature requests
Replies: 1739
Views: 624684

Re: Feature requests

This has been asked several times before by people who do not realize that it already exists. print where address in 192.168.128.0/24 Ah, cool! Should be added into the documentation. You should read the documentation. Is already present, on both old and new. https://wiki.mikrotik.com/wiki/Manual:S...
by rextended
Fri Nov 03, 2023 4:43 pm
Forum: General
Topic: How to replace fast Mikrotik devices in case of failure
Replies: 9
Views: 1618

Re: How to replace fast Mikrotik devices in case of failure

In the case of storms, everything will always get burned, keeping two devices synchronized is idiotic (this prevent other type of failures). If you cannot protect the electrical system upstream with a double electrical insulator and a permanent generator (always from the batteries, never from the li...
by rextended
Fri Nov 03, 2023 11:26 am
Forum: The User Manager
Topic: userman not available in 7.2.3
Replies: 10
Views: 6235

Re: userman not available in 7.2.3

There is a user manager in v7 but it really is a different thing. More useful for me, less useful in other scenarios. Must be keeped both, with different name on v7, or fused into only one thing with full both v6 and v7 features... If RouterOS was open-source at this point it would have truly "...
by rextended
Fri Nov 03, 2023 11:25 am
Forum: Scripting
Topic: dhcp-server script
Replies: 2
Views: 1300

Re: dhcp-server script

Is all wrong.
by rextended
Fri Nov 03, 2023 11:19 am
Forum: Scripting
Topic: Stop a script running from the scheduler [SOLVED]
Replies: 17
Views: 2883

Re: Stop a script running from the scheduler [SOLVED]

Or add ability to detect already running script to your script (I don't know if/how this can be done though).
viewtopic.php?t=197314#p1009493
by rextended
Fri Nov 03, 2023 10:59 am
Forum: The User Manager
Topic: userman not available in 7.2.3
Replies: 10
Views: 6235

Re: userman not available in 7.2.3

The last user manager is the 6.49.x.

Do not exist user manager v7.
Is another thing that stole the name and broke all features that v6 have.

Keep a machine (virtual or not) with v6 on board...
by rextended
Fri Nov 03, 2023 10:57 am
Forum: The User Manager
Topic: Regarding issues with User Manager in versions above OS 7.X
Replies: 2
Views: 2322

Re: Regarding issues with User Manager in versions above OS 7.X

The last user manager is the 6.49.x.

Do not exist user manager v7.
Is another thing that stole the name and broke all features that v6 have.

Keep a machine (virtual or not) with v6 on board...
by rextended
Fri Nov 03, 2023 2:07 am
Forum: Scripting
Topic: Base64 and SHA256 function for Scripting
Replies: 10
Views: 4071

Re: Base64 and SHA256 function for Scripting

It was very useful for handling some character oddities to make it all working with v7. Please let me know if you have any issues with this use, I credited you in the code.
No problem, in fact I thank you for writing it. ;)
by rextended
Tue Oct 31, 2023 9:11 pm
Forum: Scripting
Topic: Remove Static DNS entries
Replies: 3
Views: 1510

Re: Remove Static DNS entries

/ip dns static remove [find where address="240.0.0.1"]
by rextended
Tue Oct 31, 2023 10:28 am
Forum: Scripting
Topic: problems with update 7.10+ script does not work
Replies: 2
Views: 1326

Re: problems with update 7.10+ script does not work

Ask the original author whose script you take? https://it.blog.bepuppy.com/wp-content/uploads/2017/04/gatto-vomita-spesso.jpg But what way is to program with all those abbreviations??? First you must explain what the script should do, is not clearly understandable at all. Just the twisted mind of th...
by rextended
Tue Oct 31, 2023 10:22 am
Forum: Scripting
Topic: Internal IDs, persistence
Replies: 7
Views: 1575

Re: Internal IDs, persistence

is it safe to store/cache the *ID elsewhere and use it to reference the object long term? Is one idiocy use ids or "number on print". You must everytime obtain again the id for the object you want work on (is valid till the end of the session), and when is possible, simply use the name of...
by rextended
Mon Oct 30, 2023 10:26 am
Forum: Scripting
Topic: delete address list old than 7 days
Replies: 19
Views: 9183

Re: delete address list old than 7 days

RouterOS 7.10.+ use Date on ISO format, so something like " /ip firewall address-list remove [find where (creation-time< $daysago and list= $theList )] " work without use any clycle and is faster. Just calc $daysago 30 days less than "today" pseudocode, if RouterOS have such func...
by rextended
Mon Oct 30, 2023 10:19 am
Forum: Scripting
Topic: no such item breaks execution
Replies: 9
Views: 4416

Re: no such item breaks execution

:) 
by rextended
Mon Oct 30, 2023 10:18 am
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

*) poe-out - removed "auto" mode support for L009 devices;

Please?
by rextended
Sun Oct 29, 2023 3:33 am
Forum: Scripting
Topic: script to calculate next date [SOLVED]
Replies: 16
Views: 12852

Re: script to calculate next date [SOLVED]

Convert date/time to epoch: https://forum.mikrotik.com/viewtopic.php?p=994849#p994849 add the required numer of seconds, Convert back epoch to datetime: https://forum.mikrotik.com/viewtopic.php?p=977170#p977170 On those days I have just the time to reply on this way. When I have time (and I remember...
by rextended
Sun Oct 29, 2023 3:24 am
Forum: General
Topic: ⚠️WARNING: RouterOS v7.10+ will break all scripts based on [/system clock get date] or other date(s)
Replies: 63
Views: 12785

Re: ⚠️WARNING: RouterOS v7.10+ will break all scripts based on [/system clock get date] or other date(s)

as @pe1chl wrote...
[…] but more the vast number of copy/paste programmers that have tinkered a script that works and suddenly it breaks when upgrading. […]
You always manage to give me that point of view that I miss,
Thank you.
by rextended
Sun Oct 29, 2023 3:21 am
Forum: Scripting
Topic: no such item breaks execution
Replies: 9
Views: 4416

Re: no such item breaks execution

Why not simply release the dhcp instead of disabling bridge for do that?
Something that I do not have considered?
by rextended
Sat Oct 28, 2023 1:56 pm
Forum: Scripting
Topic: Comando ou Script para ativar campo "Trial"
Replies: 2
Views: 1163

Re: Comando ou Script para ativar campo "Trial"

Is not one "flag" on or off. Is one array where trial is present or not... If you're not familiar with scripting, better leave it alone. foreach item on array, copy the value in new array except if is "trial" and must removed, if trial must be added, if trial is not already prese...
by rextended
Sat Oct 28, 2023 1:30 pm
Forum: Scripting
Topic: no such item breaks execution
Replies: 9
Views: 4416

Re: no such item breaks execution

If the scripts were written correctly, they would not give errors.

If the purpose of the script is to
if printing only the count of the interface registered on wlan1, return 0, disable the bridge w_bridge and after 1 second enable it again (for what purpose???),
that is certainly not the way.
by rextended
Sat Oct 28, 2023 1:25 pm
Forum: Scripting
Topic: function "Escape" how to support CP1251?
Replies: 5
Views: 1759

Re: function "Escape" how to support CP1251?

I have a lot of text in Russian in my scripts (for example, in comments). Will your Escape function work with them? Or do you need to replace the conversion tables in it? ==>> ASCII is ASCII, has nothing to do with CP1252 or CP1251 Why don't you try it yourself instead of asking? Byte rapresentatio...
by rextended
Sat Oct 28, 2023 1:23 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

Then you can try to segment file writes to separate directories with directory index names 0, 1, 2, 3...

Create subfolders for each year/month/day/hour/minute and you will see that the search will always be near instantaneous...
by rextended
Sat Oct 28, 2023 1:05 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

@rextended - 2023-10-09-13:02:41-8580.json is an iso 8601 standart date file name, you can see here the miliseconds at the end of the files. False . 2023-10-09 - 13:02:41 - 8580 = 2023-10-09 13:02:41 with negative TimeZone "-85:80" (3 days, 14 hours and 20 minutes) The correct format for ...
by rextended
Wed Oct 25, 2023 6:37 pm
Forum: Scripting
Topic: function "Escape" how to support CP1251?
Replies: 5
Views: 1759

Re: function "Escape" how to support CP1251?

And why don't you ask directly on that topic, instead of opening another one?
ASCII is ASCII, has nothing to do with CP1252 or CP1251
by rextended
Wed Oct 25, 2023 6:24 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61717

Re: ✂ Rextended Fragments of Snippets

Have you damaged 6 Mikrotik devices? It's hard to believe. What devices are these and how did this happen?
No... language misunderstand...
spoiler = in this case used as "reveal in advance", not to break something...
by rextended
Wed Oct 25, 2023 1:45 pm
Forum: RouterBOARD hardware
Topic: Upgrading CRS326 and CRS317 to ROS 7 failing
Replies: 3
Views: 2319

Re: Upgrading CRS326 and CRS317 to ROS 7 failing

No.

If work, why update uselessly?
by rextended
Wed Oct 25, 2023 1:42 pm
Forum: Beginner Basics
Topic: Has anyone QoS'ed Steam downloads?
Replies: 6
Views: 1601

Re: Has anyone QoS'ed Steam downloads?

Steam use various CDN, is near impossible to catch all connections....

Some games use it's own CDN despite are on Steam (like recent Mortal Kombat 1 update)
by rextended
Wed Oct 25, 2023 1:40 pm
Forum: Beginner Basics
Topic: Lost management
Replies: 9
Views: 2436

Re: Lost management

Netinstall.

You have activated the filter on the bridge with the wrong configuration, so it no longer reaches the CPU for management...
by rextended
Wed Oct 25, 2023 1:34 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35504

Re: Forum moderation volunteers

Title: Lost management I don't want to start a flame, but can't you really see the difference between a "Youtube Video player" and a near-clear reference to RouterOS configuration "bridge vlan ip filtering"? (Deduction: The user has activated the filter on the bridge with the wro...
by rextended
Wed Oct 25, 2023 1:30 pm
Forum: General
Topic: Improving / Optimizing RouterOS (speed, memory, disk)
Replies: 3
Views: 964

Re: Improving / Optimizing RouterOS (speed, memory, disk)

Ok, my comment: Do not lost time.
They can't match the features with v6, let alone if they care how they save the configuration.
They rather waste time with wireguards and various QR codes...
by rextended
Wed Oct 25, 2023 1:27 pm
Forum: General
Topic: Improving / Optimizing RouterOS (speed, memory, disk)
Replies: 3
Views: 964

Re: Improving / Optimizing RouterOS (speed, memory, disk)

And why do you write it on the users forum, instead of sending your CV to Mikrotik?
by rextended
Wed Oct 25, 2023 1:10 pm
Forum: General
Topic: ISP binding internal IP address
Replies: 11
Views: 1960

Re: ISP binding internal IP address

network address 192.168.0.1/24, gateway 192.168.1.1
Either you explain yourself badly, or you configured it badly.

Export the configuration and show it on the forum, without wasting any further time.
by rextended
Wed Oct 25, 2023 1:02 pm
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35504

Re: Forum moderation volunteers

Read also the title: "My Youtube Video player has blocked" There is no trace of anything related to MikroTik. Probably expressed myself badly, not being English: At the answer When I use Adblocker my YouTube video player has stopped , after the right question Why Mikrotik forum? it should ...
by rextended
Wed Oct 25, 2023 1:00 pm
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61717

Re: ✂ Rextended Fragments of Snippets

It's time to hack the Router OS (scientifically speaking, reverse engineer it). There's no talking about it... For having spoiled 6 new devices, and having logically opened a post for each of them, as any intelligent person would have done, given that it was a topic for each device, as is done ever...
by rextended
Wed Oct 25, 2023 12:43 am
Forum: General
Topic: Forum moderation volunteers
Replies: 238
Views: 35504

Re: Forum moderation volunteers

For me the mistake is not immediately deleting the post, instead of replying.
It has absolutely nothing to do with this forum.
by rextended
Tue Oct 24, 2023 5:28 pm
Forum: Beginner Basics
Topic: bridge port received packet with own address - probably loop [SOLVED]
Replies: 7
Views: 2249

Re: bridge port received packet with own address - probably loop [SOLVED]

the router is not a sentient being.
(you sure?)
by rextended
Tue Oct 24, 2023 10:39 am
Forum: Scripting
Topic: Multi Wan Cloudflare DynDNS (Help)
Replies: 6
Views: 1860

Re: Multi Wan Cloudflare DynDNS (Help)

The script must be fixed, is full of errors... Example, from this: […] :local CFcloud "false" […] :if ($CFcloud = "true") do={ :set WANip [/ip cloud get public-address] }; :if ($CFcloud = "false") do={ :local currentIP [/ip address get [/ip address find interface=$WANIn...
by rextended
Mon Oct 23, 2023 3:49 pm
Forum: General
Topic: ISP binding internal IP address
Replies: 11
Views: 1960

Re: ISP binding internal IP address

You can, for example, forget to change NAT or dhcp pool...

Better ask your ISP, why ask on forum first?
by rextended
Mon Oct 23, 2023 3:37 pm
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

While there have been reports left and right about problems in 7.11 chain, I've successfully used netinstall on multiple devices with 7.10 So broken in 7.x is not correct. It's always the same story, it's those arrogant users who if they aren't good at using it, everything is broken... It doesn't m...
by rextended
Mon Oct 23, 2023 1:04 pm
Forum: Wireless Networking
Topic: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]
Replies: 30
Views: 4651

Re: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]

This config with "interface=*1" cannot work. Interface for bridge port is missing.
I agree with what you write, but the user says he doesn't see the SSID, not that it doesn't work...
Broken bridge interface configuration do not hide SSID...
by rextended
Mon Oct 23, 2023 1:03 pm
Forum: Wireless Networking
Topic: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]
Replies: 30
Views: 4651

Re: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]

Hai aggiornato anche il "bios" su system/routerboard?
by rextended
Mon Oct 23, 2023 12:55 pm
Forum: Wireless Networking
Topic: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]
Replies: 30
Views: 4651

Re: Two ac^3 with wifiwave2: one no 5GHz [SOLVED]

E' [SOLVED] o no?
by rextended
Sun Oct 22, 2023 12:19 pm
Forum: Scripting
Topic: Scripting - Strange behavior in selector [SOLVED]
Replies: 9
Views: 2488

Re: Scripting - Strange behavior in selector [SOLVED]

Do you care, probably not, do I care if you care, not really either. That was rude and needless, I apologize. Don't worry, I'm not offended, there are other things that offend me... As I was telling you, by drawing attention at the beginning, the user are more likely to understand what is written n...
by rextended
Sat Oct 21, 2023 10:40 am
Forum: Scripting
Topic: Scripting - Strange behavior in selector [SOLVED]
Replies: 9
Views: 2488

Re: Scripting - Strange behavior in selector [SOLVED]

Never disappointed with the kind words from the community. :-P It's one thing to write a complaint needlessly. It loses meaning, indeed it becomes ridiculous for those who write it, if the reason is not explained. My goal was to force you to pay attention to the answer, I don't make perfect scripts...
by rextended
Fri Oct 20, 2023 9:44 pm
Forum: Scripting
Topic: Scripting - Strange behavior in selector [SOLVED]
Replies: 9
Views: 2488

Re: Scripting - Strange behavior in selector [SOLVED]

The correct way is something like this: :if ($ConfigAccess) do={ :foreach ifIndex in=[/interface find where default-name~"ether"] do={ :local ifName [/interface get $ifIndex name] /interface bridge port set [find where bridge=$BridgeName and interface=$ifName] pvid=$AccessVLAN frame-types=...
by rextended
Fri Oct 20, 2023 9:35 pm
Forum: Scripting
Topic: Scripting - Strange behavior in selector [SOLVED]
Replies: 9
Views: 2488

Re: Scripting - Strange behavior in selector [SOLVED]

NOTE: entry ".id" have nothing to do with VLAN ID The script is a vomit, very mess, entry ".id" of VLAN is mixed with the entry ".id" of the interfaces, etc. :if ($ConfigAccess = true) do={ :foreach i in=[/interface/find default-name~"ether"] do={ /interface/b...
by rextended
Fri Oct 20, 2023 9:10 pm
Forum: Scripting
Topic: user-manager session Removal
Replies: 2
Views: 1440

Re: user-manager session Removal

/tool user-manager session print remove [find where terminate-cause="lost-service"]
by rextended
Fri Oct 20, 2023 4:04 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients not working .. device probably corrupted

A DNS or NTP request does not go through Forward or Input, but uses Output, just the reply are checked on input connection tracking if is already estabilished / related so simply just be sure that the DNS and NTP IPs are on allowed_to_router address list (or move "estabilished/related" as ...
by rextended
Fri Oct 20, 2023 12:20 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients config problem v7.11.2

On picture... ***** is from Kuwait??? Whois shows it is telecom from France. Yes, is recently buyed, checked on RIPE. But I prefer to remove the post with the IP, since is open to the world..................... Also the screenshot reveal some personal user info, like is working at XANKOM, and previ...
by rextended
Fri Oct 20, 2023 12:16 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients config problem v7.11.2

(this post is removed, is useless)
by rextended
Fri Oct 20, 2023 12:13 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients config problem v7.11.2

Looks like the original poster simply has no internet connection.
Who knows why he deleted the default configuration which works perfectly as a basis for starting...
by rextended
Fri Oct 20, 2023 12:11 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients config problem v7.11.2

Also on export is
/ip firewall address-list
#HIDDEN
But are shown (probably not all) on the screenshot...


and also on to-address=... on shot, broken all communications if the IP is not right...
by rextended
Fri Oct 20, 2023 12:06 pm
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients broken v7.11.2

Last edited by holvoetn on 2023-10-20 11:03:32, edited 1 time in total. Reason: No need to shout... then also change the font of the title of the topic, I'm not shouting, it's just reporting the title as it is written... P.S.: For completeness to the previous post, it could also be that, as here in...
by rextended
Fri Oct 20, 2023 11:58 am
Forum: General
Topic: (Resolved) NTP & DNS clients not working .. just firewall misconfig
Replies: 23
Views: 2190

Re: NTP & DNS clients broken v7.11.2

Just deployed a Chateau LTE12 with v7.11.2. FALSE There is nothing of the default configuration, you altered all. NTP & DNS clients broken v7.11.2 ??? Another post with a shitty title because the user is incompetent, and obviously instead of realizing that he is not able to configure the device...
by rextended
Fri Oct 20, 2023 11:53 am
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

One of my DAC's […]
All useless info on users forum, you open a support ticket with supout.rif included?
by rextended
Fri Oct 20, 2023 10:34 am
Forum: Scripting
Topic: DHCP-Client script: update status during script
Replies: 15
Views: 2839

Re: DHCP-Client script: update status during script

Check if Script is already running: https://forum.mikrotik.com/viewtopic.php?p=1009493#p1009493 Terminate other istances of the same Script. No matter what is the script name, just make unique the UniqueScriptID ... :local UniqueScriptID "QnJhdm8h" /system script :local ThisScriptName [get...
by rextended
Fri Oct 20, 2023 10:05 am
Forum: Scripting
Topic: ✂ Rextended Fragments of Snippets
Replies: 96
Views: 61717

Re: ✂ Rextended Fragments of Snippets

Check if Script is already running:
viewtopic.php?p=1009493#p1009493
by rextended
Thu Oct 19, 2023 5:48 pm
Forum: General
Topic: RFC 9234 implementation status: Roles, but no OTC!?
Replies: 2
Views: 716

Re: RFC 9234 implementation status: Roles, but no OTC!?

RFC 9234 isn't listed in the "Standards and Technologies" section of that help page [...] one might assume [...] RouterOS v7 support also... RFC2324... Is not written, so is supported... One might assume that who use the device do not assume anything, but check first... If is not written,...
by rextended
Thu Oct 19, 2023 5:45 pm
Forum: General
Topic: hEX: Why my interface switch from 1Gbps to 100Mps?
Replies: 3
Views: 751

Re: hEX: Why my interface switch from 1Gbps to 100Mps?

The screenshot is totally useless.

Change ethernet cable and clean the contacts (with appropriate product).
by rextended
Thu Oct 19, 2023 5:37 pm
Forum: Scripting
Topic: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)
Replies: 21
Views: 70119

Re: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)

Because the action=log , you don't have to do log=yes as well. Otherwise this line of code will cause double logging per hit. Thanks, fixed, the rules coming from RouterOS v6 of 9 years ago... Something is changed. Double-Log bug is inserted.... On old versions you must create separate log entry in...
by rextended
Thu Oct 19, 2023 5:28 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

I can help you by proposing alternative solutions, but not for debugging RouterOS. It was not born as a NAS. Create subfolders for each year/month/day/hour/minute and you will see that the search will always be near instantaneous... Unless you create 1000 files per second... I repeat, your approach ...
by rextended
Thu Oct 19, 2023 5:16 pm
Forum: Scripting
Topic: User-LED script to monitor a specific route [SOLVED]
Replies: 3
Views: 2009

Re: User-LED script to monitor a specific route [SOLVED]

You can't add everytime the led, or the 2nd run throw an error. Creating "led" and the "route" must one preparatory part than must be done before... Write the code on more clear way... /system leds :if ([/ip route get [find where comment="LED"] active]) do={ set [find w...
by rextended
Thu Oct 19, 2023 4:46 pm
Forum: Scripting
Topic: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)
Replies: 21
Views: 70119

Re: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)

i didn't get at this point [...] -> For ISP: Mine are tips on how to block unwanted traffic at the source, not lessons on how TCP/IP works... on the second till the seventh rule is that same as i create that rule? NO. Before making any assumptions, it is better to first study what they are for and ...
by rextended
Wed Oct 18, 2023 9:59 pm
Forum: Scripting
Topic: Monitor fortnite usage in time
Replies: 6
Views: 2427

Re: Minotor fortnite usage in time

What is " Minotor " on the title? Minotaur? ************** Easy: They will play it every single moment you don't control it. There are two things: Or you let your kid educate you on his habits, or educate your kid properly, so that he respects what you tell him. Promise him that the first ...
by rextended
Wed Oct 18, 2023 9:59 pm
Forum: Scripting
Topic: How to add wifi users to the network using mikrotik apis
Replies: 5
Views: 1502

Re: How to add wife uses to the network using mikrotik apis

will your wife mind?
I have edited it. Sorry, I meant wifi.
The title is still "How to add wife uses"
by rextended
Wed Oct 18, 2023 9:57 pm
Forum: Scripting
Topic: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)
Replies: 21
Views: 70119

Re: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)

they will need to ensure the rules don't impact those protocols.
Remember to tie your shoes if you use shoes with laces.

Any misconfiguration impacts everything.
If you don't know what you're doing, that's the same.
by rextended
Wed Oct 18, 2023 7:56 pm
Forum: Scripting
Topic: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)
Replies: 21
Views: 70119

Re: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)

which is a bad idea to deploy in prod or even for home users. Yes, but is clearly indicated: Warning: this two rules can break the Path MTU Discovery (PMTUD), use only if your device are sensible to "Large ICMP" or "Ping of Death" attack. On doubt, do not use at all!!! 3) Thanks...
by rextended
Wed Oct 18, 2023 7:36 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

@rextended For me, it's kind of normal to check if a filename already exists before creating a file. Thanks for explaining things to me... :lol: RouterOS is not a programming language, so sometimes it's best to avoid using any form of [find] in large lists.... So, your workaround might work initial...
by rextended
Wed Oct 18, 2023 6:18 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

I really don't like your approach at all. Find the first available (not used) number between a file sequence: :global firstFree do={ /file :local sFName "$1" :local lsFName [:len $sFName] :local eFName "$2" :local leFName [:len $eFName] :local fName "" :local fArray [:t...
by rextended
Wed Oct 18, 2023 3:44 pm
Forum: Scripting
Topic: For ISP: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)
Replies: 21
Views: 70119

Re: How to ***really*** block invalid ICMP, TCP, UDP packets and others (ver. 2021)

As a warning to others, I tried this 1st code-block and i immediately got locked out of my router - had to hard reset it and restore from backup! None of those lines, even if applied only one or randomly, can block winbox, webfig, ssh, telnet, etc... It's a terrible habit to copy-and-paste without ...
by rextended
Wed Oct 18, 2023 10:42 am
Forum: Scripting
Topic: Schedule Reboot
Replies: 4
Views: 17598

Re: Schedule Reboot

For sure everyone was waiting for your response 6 years later...

{/system scheduler set [find name=reboot] disabled=yes;
:execute script="/system reboot";}
Do you make a necropost and even write the script badly?
by rextended
Tue Oct 17, 2023 7:11 pm
Forum: Announcements
Topic: v7.12rc is released!
Replies: 225
Views: 90089

Re: v7.12rc is released!

In the following link (which I use in my scripts) the correct content of the Changelog is not updated, it only reports the previous version 7.12rc1 Use the correct URLs... https://forum.mikrotik.com/viewtopic.php?t=200103#p1030161 https://upgrade.mikrotik.com//routeros/NEWEST7.testing 7.12rc2 16974...
by rextended
Tue Oct 17, 2023 5:41 pm
Forum: The Dude
Topic: Cannot delete MIB files?
Replies: 3
Views: 2234

Re: Cannot delete MIB files?

simply override the shit:
create the tree and put inside /dude/files/mibs the file
CANOPY-SYS-MIB.txt
with this content:

content code

   CANOPY-SYS-MIB DEFINITIONS ::= BEGIN
   END
by rextended
Tue Oct 17, 2023 3:16 pm
Forum: Beginner Basics
Topic: Logging and restarting best practices
Replies: 9
Views: 1526

Re: Logging and restarting best practices

It usually happens once a month. Isn't that strange?
No, the strange thing is that you haven't considered some blocking by the ISP if your SIM is still active for too long from the same point...
It might simply be enough to restart the SIM instead of the entire device.
by rextended
Tue Oct 17, 2023 1:53 pm
Forum: Scripting
Topic: Save Interface Traffic to File
Replies: 5
Views: 1488

Re: Save Interface Traffic to File

The counters are preserved even on reboot, but (obviously) the intermediate values between two updates are lost if the device is rebooted. /ip firewall layer7-protocol { :if ( ([:len [find where name="ether1-total-upload"]] = 0) or ([:len [find where name="ether1-total-download"]...
by rextended
Tue Oct 17, 2023 10:28 am
Forum: Scripting
Topic: Best Script Editor for RouterOS?
Replies: 4
Views: 1706

Re: Best Script Editor for RouterOS?

HomeSite® 5.5+ Copyright © 1998-2003 Macromedia, Inc.


However, a good editor can't make up for whether you know what you're doing or not.
by rextended
Mon Oct 16, 2023 2:37 am
Forum: Scripting
Topic: function convert UnicodeToURL
Replies: 3
Views: 1451

Re: function convert UnicodeToURL

UTF-8 or Unicode (UCS-2)? Are not the same...
Probably is UTF-8...

viewtopic.php?t=177551#p980163
Section "If the text is already on UTF-8..."
by rextended
Mon Oct 16, 2023 2:18 am
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

Hi @rextended, I have detected a small discrepancy: the EPOCH calculations performed by MikroTik are different from the calculations performed by your $datetime2epoch function, what do you think? Simply: I have considered timezone, MirkoTik not. (I could be wrong, but I assume if NOT written, GMT i...
by rextended
Sat Oct 14, 2023 12:26 pm
Forum: General
Topic: Understanding Mikrotik's marketing strategy
Replies: 17
Views: 1845

Re: Understanding Mikrotik's marketing strategy

I think that by choosing that username and no matter how verbose and tenacious he is in continuing these complaints, he does it on purpose.
So: don't waste your time. If she wanted to understand she had already understood.
by rextended
Sat Oct 14, 2023 11:28 am
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

Use httpS MikroTik is changing the urls for the new v7.10+ versions and also for latest v6: Long term: https://upgrade.mikrotik.com//routeros/NEWESTa7.long-term (at time I write: "0.00\n" no long-term version) Stable: https://upgrade.mikrotik.com//routeros/NEWESTa7.stable (at time I write:...
by rextended
Sat Oct 14, 2023 11:15 am
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

(see next post)
by rextended
Fri Oct 13, 2023 10:03 am
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

Why without logic check CHANGELOG instead of simply use unix epoch already present on LATEST.7 NEWESTa7??? With one "data" load you have at the same time the latest version and the build time without so many frills... https://forum.mikrotik.com/viewtopic.php?t=200103#p1028116 https://forum...
by rextended
Thu Oct 12, 2023 3:39 pm
Forum: General
Topic: Bruteforce protection script
Replies: 5
Views: 1201

Re: Bruteforce protection script

can you please stick to the question? Ok... the title is Bruteforce protection script so... This is the best RouterOS services (only) protection script. There can't be a better one. It is immune to any attack on such services, and does not requre any firewall rule. Remove the * on the script... [Fo...
by rextended
Thu Oct 12, 2023 10:50 am
Forum: Scripting
Topic: MikroTik Script to restore backup in scheduler [SOLVED]
Replies: 7
Views: 2465

Re: MikroTik Script to restore backup in scheduler [SOLVED]

/y at the end is wrong and useless.
by rextended
Thu Oct 12, 2023 10:47 am
Forum: General
Topic: Bruteforce protection script
Replies: 5
Views: 1201

Re: Bruteforce protection script

The best protection is not to leave the service ports open to the world...
Have you ever heard of (not outdated) VPNs?
by rextended
Thu Oct 12, 2023 10:41 am
Forum: Scripting
Topic: String Split to array
Replies: 2
Views: 1490

Re: String Split to array

there is a prebuild function
No.

:find "->" and :pick the right parts.
For multiple array, run multiple times.
by rextended
Tue Oct 10, 2023 7:58 pm
Forum: Announcements
Topic: WinBox v3.40 released!
Replies: 109
Views: 109506

Re: WinBox v3.40 released!

another update without dark mode !
Another useless post, this included.
by rextended
Tue Oct 10, 2023 7:53 pm
Forum: Scripting
Topic: [/file find name=$fileName] using 100% CPU usage
Replies: 17
Views: 3025

Re: [/file find name=$fileName] using 100% CPU usage

Or simply create a small file that containing last index used instead to do all that sh.t uselessly...
by rextended
Tue Oct 03, 2023 6:42 pm
Forum: Wireless Networking
Topic: Bridge port received packet with own address as source, probably loop
Replies: 54
Views: 123685

Re: Bridge port received packet with own address as source, probably loop

After applying all the possible solution form google the success was 0 for me then i just delete the bridge from my mikrotik rb4011 and configure a single port as lan which i connect to a 24 port gigabit switch everything is going smoothly & no more loop no network down 😔😔 Just SPAM : It doesn'...
by rextended
Tue Oct 03, 2023 5:23 pm
Forum: Beginner Basics
Topic: traceroute via winbox
Replies: 9
Views: 8990

Re: traceroute via winbox

I'm afraid to write the question... Do you know the difference between traceroute and ping? amazon.com is not 8.8.8.8 Maybe testing with the same IP would be better... Have you tried "pinging" amazon.com?... amazon.com do not like traceroute, also on windows C:\WINDOWS\system32>tracert ama...
by rextended
Tue Oct 03, 2023 4:00 pm
Forum: General
Topic: Do I have a firewall or DNS problem? [SOLVED]
Replies: 6
Views: 1410

Re: Do I have a firewall or DNS problem? [SOLVED]

Why you try to force us to use pastebin to read something that you also can put here without using 3rd party spam?
by rextended
Tue Oct 03, 2023 3:58 pm
Forum: Beginner Basics
Topic: traceroute via winbox
Replies: 9
Views: 8990

Re: traceroute via winbox

All useless without concrete example and details.
by rextended
Tue Oct 03, 2023 1:26 pm
Forum: Beginner Basics
Topic: Netinstall help
Replies: 11
Views: 9191

Re: Netinstall help

>>> 1. If I flaash only package needed, what will be the default password? Will be there any config? The password and the installed packages are not linked to each other. It all depends on the other options, not the packages you choose. >>>2. If I cross keep old config - will be the original passwor...
by rextended
Tue Oct 03, 2023 1:22 pm
Forum: Beginner Basics
Topic: Netinstall help
Replies: 11
Views: 9191

Re: Netinstall help

why do people respond without knowing what they write?
by rextended
Tue Oct 03, 2023 1:17 pm
Forum: General
Topic: Im horrible at CLI..
Replies: 4
Views: 768

Re: Im horrible at CLI..

(201|2[0-9][2-9]|290) = 201, 290, and all 2x2..2x9, so 200, 210, 211, 220, 221, ... , 280, 281, 291 are ignored, but also 292..299 are considered.

from 201 to 290 = (20[1-9]|2[1-8][0-9]|290)

ChatGPT = no further help.
by rextended
Mon Oct 02, 2023 12:57 pm
Forum: Scripting
Topic: Can't enable dhcp-client
Replies: 7
Views: 1434

Re: Can't enable dhcp-client

that's not what the question was about ...
Ah... NOT?

Topic title: Can't enable dhcp-client
by rextended
Mon Oct 02, 2023 12:54 pm
Forum: The Dude
Topic: If statment in function
Replies: 15
Views: 3022

Re: If statment in function

not tested code
It just for put on evidence the wrong place of the ")"
by rextended
Mon Oct 02, 2023 12:50 pm
Forum: The Dude
Topic: If statment in function
Replies: 15
Views: 3022

Re: If statment in function

if(device_property("Type")) = "Mimosa" ,oid("iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0") => if ( device_property("Type") = "Mimosa", oid("iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0"), "" ) if(string_size(device_pro...
by rextended
Mon Oct 02, 2023 12:32 pm
Forum: Scripting
Topic: Can't enable dhcp-client
Replies: 7
Views: 1434

Re: Can't enable dhcp-client

beyond any bug: 1) numbers should not be used on scripts (this is not the time to explain here, see the other dozens of posts about it in the forum) 2) don't forget the quotes for the strings, especially if there is a "-" in the name 3) dhcp-client do not have name, so you must search it b...
by rextended
Mon Oct 02, 2023 12:25 pm
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

instead of working with a file, you can use a layer7 to save a variable /ip fire layer7-protocol add/set/get But what's the point of saving a file or value in layer 7 just to know how many days ago that version was released? For example, reading just data inside https://upgrade.mikrotik.com/routero...
by rextended
Mon Oct 02, 2023 12:18 pm
Forum: Scripting
Topic: Script to update RouterOS after X days of release
Replies: 51
Views: 8058

Re: Script to update RouterOS after X days of release

I've had a script to check... It's all nonsense. And even just 30 days is ridiculous. The only thing that is actually valid when you want to proceed with the mass update is to publish on a machine/server a file or a web page where the minimum version to which the device must be updated is written, ...
by rextended
Mon Oct 02, 2023 12:04 pm
Forum: Scripting
Topic: Function Find Log doesn't work properly on v7.x [SOLVED]
Replies: 3
Views: 1621

Re: Function Find Log doesn't work properly on v7.x [SOLVED]

If you try the script around midnight it doesn't work... For example, if the clock is 00:02:00, subtracting 5 minutes gives -00:03:00 and "-3 minutes" does not exist in the log... Removing or adding the "/" had no effect, it's just that time has passed... ​ The approach is totall...
by rextended
Mon Oct 02, 2023 11:37 am
Forum: Scripting
Topic: Frustrated trying to create a script
Replies: 14
Views: 2275

Re: Frustrated trying to create a script

the double identical "if" instead of "if/else" make no sense...

Altered the previous post for reflect the changes you want.
by rextended
Sat Sep 30, 2023 1:04 pm
Forum: Scripting
Topic: Frustrated trying to create a script
Replies: 14
Views: 2275

Re: Frustrated trying to create a script

You must adapt the script for detect if on the device where is executed is installed (or not) the wifiwave2 package... :local identitydate "$[/sys identity get name]_$[clock get date]" :local stringexec "/sys identity print; :put \"\\r\\n\"; /ip cloud pri; :put \"\\r\\n...
by rextended
Sat Sep 30, 2023 3:38 am
Forum: Scripting
Topic: Frustrated trying to create a script
Replies: 14
Views: 2275

Re: Frustrated trying to create a script

Also if on device name is present one forbidden characters on remote filesystem, the file is not created. I don’t think any of the initial files are greater than 4KB. Is easy that you go over 4K... /system :local identitydate "$[identity get name]_$[clock get date]" /file remove [find wher...
by rextended
Sat Sep 30, 2023 3:27 am
Forum: Scripting
Topic: Frustrated trying to create a script
Replies: 14
Views: 2275

Re: Frustrated trying to create a script

The first error is not specify the RouterOS version.
The second, if one file is > 4KB, nothing is returned.
The third, if the fileupcontents size is > 4KB, the file is not written.
by rextended
Fri Sep 29, 2023 3:48 pm
Forum: Scripting
Topic: String lengths [SOLVED]
Replies: 3
Views: 1886

Re: String lengths [SOLVED]

Why uselessly do that?
Simply the backend read https://upgrade.mikrotik.com/routeros/7 ... /CHANGELOG
by rextended
Thu Sep 28, 2023 7:23 pm
Forum: Scripting
Topic: problem with script to delete user manager sessions
Replies: 1
Views: 1168

Re: problem with script to delete user manager sessions

I don't know if it is because I have so many sessions, about 633000.
You answer yourself...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 42