Hi I was wondering is there is a prebuild function or a script which can split strings to arrays for a given operator? ex: "5489->12->59->15663" this will have the split operator "->" and the output will be an array of { 5489 12 59 15663 } More complex (array of array) ex: "...
Thanks for the ideas but I think I failed to explain properly. I have a script which takes the input and sets as a global variable before doing further things. The scripts works perfectly when I run it from the terminal. But I want the script to run using scheduler too. When the scheduler runs the s...
Hi the whole thing works for be but I did not get the part where you said Put it like this with a starting "{" and a ending "}" in terminal. When using in script and schedule as stated earlier. . The script where I use the input (if there is nothing set in the global environment)...
Hello everyone, I believe there is a bug in the fetch SFTP mode for ROS 7.9.1 I found out that SFTP fetch download or Upload does not work when there is a SSH Public key is present. The issue persists even if the SFTP username is different from the imported SSH key and password is provided. Findings...
I am not sure if it is indeed a bug or i am doing something wrong. So I explain the steps I did. Created the SSH key from the CHR which will be connecting to the other Mikrotiks via Local (LAN) / Wireguard (no filters) Imported the Private key in the CHR (/user/ssh-keys/private/ import user=$SystemU...
Already so it is not compatible with v6... And I repeat that it is better that I do not comment on the desire to use it on such old versions full of hacks already known by everyone (except those who use them, apparently) worldwide.... Hahaha true... then I guess I will stick to 7.x only but then al...
YOU wrote that you tested the script from version 6.2... Don't you read what you post? I see the script is in development mode still and thus the default header. When you said about wrong scripting, I thought the main content of the script. One more reason why on-error is not necessary, just write ...
I am sorry I did not get you properly? Is it you using 6.2 or you are saying I am? I am using 7.9 and CHR on could. The script is supposed to run there.
I also checked the time required for the keys to be generated and they are close to a minute only.
Hello everyone. I am trying to implement a nested :do {} on-error{} script. The idea is to have a mother do loop to check if the script fails or not and then inside the child do and on-error loop is used to prevent the script action timeout error while signing the certificates. The problem is if som...
Hello all, I am using the ne user manager in the cloud CHR to allow users to authenticate to multiple sites. The sites are connected to the could CHR via wire guard. Everything works fines. Now i am redesigning the login page so that I can have custom error messages. This was working with the v6.8 b...
Hello, I recently had to reinstall my CHR due to disk failure. I have automated scripts running to make backup for the CHR as well as the DUDE database. Now in the new installation the system was successfully restored from the MikroTik backup file but when I import the DUDE database file, it says su...
Hello, I recently had to reinstall my CHR due to disk failure. I have automated scripts running to make backup for the CHR as well as the DUDE database. Now in the new installation the system was successfully restored from the MikroTik backup file but when I import the DUDE database file, it says su...
Hello everyone. Is there anyone out there who is getting the same strange variables as me in CHR? These variables are created automatically after CHR restart. FYI I got not schedulers or scripts running but still after each restart these variables arrive. If i delete them manually, they are gone unt...
Hello could you please validate the code? I am getting some errors. :local myfunc [:parse [/system script get date_compare source]]; \ :put [$myfunc date1="dec/31/2018 09:00:00" date2="jan/01/2018 09:30:00"] The script gets into an infinite loop :local myfunc [:parse [/system scr...
Hello guys. I am new with the DUDE thing. Could you please guide me step by step on how can we get a graph for the active hotspot users for a Mikrotik device connected with CHR dude? we have several Mikrotik devices connected in several locations and all the devices have PPTP connection to our centr...
I am new with the DUDE thing. Could you please guide me step by step on how can we get a graph for the active hotspot users for a Mikrotik device connected with CHR dude?
SOLVED after doing lots of trial and error finally i managed to solve the problem. now the printer is discover-able from both computers and mobile phones, even iOS AirPrint (Bonjour) is also working. all I did was to set an addesses list for my local subnets and use the NOT function for dst-address...
Hello everyone, I have L2TP vpn tunnel set up for my local subnets. Unfortunately, when using NETFLIX, the detects that I am using VPN and blocks me. I want to route all NETFLIX traffic without VPN and all other traffics through VPN. Can anyone guide me please? My current setup /ip route> print /ip ...
hello Bryan, since all your devices are in same subnet, you can try setting a static DHCP IP or Static IP for the printer. My printer (wifi connected) IP had 100ms+ latency when pinged from mikrotik itself but later when I changed to LAN connection, the latency fell to 1ms. You can try putting a cab...
schedule this script to run every 5-10 minutes (Or you can also schedule to run this script to run only in startup). I have scheduled to run it every 10 mins. The script checks the L2TP and does nothing if it is running, but if the connection is not running, it disables the interface and waits for 5...
Hello everyone, I have been struggling on successfully setting up my WF3640 multi-functioning printer so that the local clients can use it. Some unsuccessful tests which I ran are pointed below. *one important information, the clients are routed through L2TP VPN so that they don't receive my real pu...