Hi! I'm opening this topic to notify a minor issue that I have detected while searching for new firmware versions for the LTE modem of one of my ATL devices. When executing /interface/lte/monitor command, I receive this output: [myuser@myhostname] > interface/lte/monitor lte1 status: connected model...
But as I wrote before, just put the correct command in the scheduler instead of just the name of the script: /system script run myscriptname Yeah, you are totally right. If I set the "on-event" parameter with not only the name, it is working as expected. A little bit strange nevertheless....
/system script run p Inside the scheduler, and work as you expected.... :return is for go outside one function, not for stop the script, is a misuse, where is on the doc? I was talking about using only the name of the script as the "on-event" parameter in the scheduler. I know the use of ...
Detailed: What is p ? Is a shortcut for print , so, for avoid misunderstanding, the scripts must be launched with /system script run , because the scheduler script field is for a script, not just for a script name. Always has been. The problem is that RouterOS has allowed you to only write the name...
I was unable to replicate the error. Based on what you wrote, and guessing everything else... The error is... You omit "/system script run", is not just "p" but the full path must be specified: /system script run p According to Mikrotik documentation https://help.mikrotik.com/do...
There is a bug with error reporting when executing scripts from a scheduler. If I run a script that contains a :return statement from the terminal, everything works correctly and no error is logged. However, if I run the same script from a scheduler, the script is also executed but an error appears ...
There is a bug with error reporting when executing scripts from a scheduler. If I run a script that contains a :return statement from the terminal, everything works correctly and no error is logged. However, if I run the same script from a scheduler, the script is also executed but an error appears ...
Yeah, something like that would be enough to avoid possible disasters :D Do any of you have any information about how many free space is required to avoid a potential brick? These devices have around 400-500KB of free flash memory and if the stored configuration is large enough, you can get out of s...
Well, I think there should be a stable update process to this kind of devices. It is unacceptable that the update process can randomly fail, with the consequence of leaving the router completely unusable.
Could Mikrotik support team give us some info about how to proceed?
I have upgraded one RBwAPG-5HacD2HnD from version 7.13.5 to 7.17 by uploading the required files (os + wifi-com-ac) and rebooting the device. After the update, the device stopped working because it couldn't start the OS (it boots with Etherboot mode). I have applied Netinstall with the same NPKs and...
I have upgraded one RBwAPG-5HacD2HnD from version 7.13.5 to 7.17 by uploading the required files (os + wifi-com-ac) and rebooting the device. After the update, the device stopped working because it couldn't start the OS (it boots with Etherboot mode). I have applied Netinstall with the same NPKs and...
*) console - allow to toggle script error logging with "/console settings log-script-errors"; *) console - implement scriptable safe-mode commands and safe-mode handler; *) console - log errors within scripts to the system log; *) console - make non-pseudo terminals work with imports; Wha...
Coming from v7.13.5, I have upgraded my router to this version. I'm having some issues when executing a certain script from a scheduler. An error is printed in the log, but the script is executed as expected. The error I'm talking about is: script,error executing script from scheduler failed, please...
For those interested, I tried getting the full firmware for the FG621-EA via the update URL. I was disappointed to find out that the updates were actually firmware patches implemented as binary diffs from the last version, which the patch was based on. This means that the update files are only smal...
I found a strange bug while connecting to one of my routers via SSH. This is my current scenario: 1) Connect to router via SSH or Telnet using +ct options (disable colouring and terminal capabilities discovery) 2) Create a new script "/system/script/add name=test" 3) Enter into the editor ...
Would it be possible to guess the default password printed in the sticker? I have an automated process to change some configuration for my new devices. I need to be able to access the router as soon as I take it out of the box . With this "new random password", I'm not longer capable of th...
I would like to know if it'd be possible to implement a change in MNDP behavior (Discovery Service in Mikrotik) to include an additional field besides the existing ones (License-ID, Identity, etc.).
Hi, I'm trying to upload some files to a SFTP server from my routers. The command I'm using is the following one: /tool fetch upload=yes url="sftp://serverIP/path/file" user=myUser password=myPassword src-path=file src-address=myIP failure: only http[s]/sftp supports src-address I don't un...
Hi everyone! I'm currently working on a script that downloads a .rsc file from Internet and imports it in the router. All of the commands implemented in the .rsc are working properly except from the user creation. The configuration applied is the following one: /user set [/user find where name=test]...
Hi everyone! I'm trying to execute some commands in my Mikrotik router via Python scripts. With Paramiko, I'm currently able to access the router and execute the commands. However, some of them are a little bit 'risky' and I would like to run them using Safe Mode. According to the ASCII table, CTRL+...
EDIT: I was able to configure a BOOTP server & TFTP server and replicate netinstall operations in terms of assigning IPs and transfering the vmlinux image to the router. However, I still don't know what does the MT Netinstall Server does. After using Wireshark, I noticed that it uses UDP port 50...
I was talking about, for example, create a solution on Linux in which you could make Netinstall process via CLI or Bash Script using generic TFTP/BOOTP servers.
Hi everyone! I'm currently trying to create an automated platform to manage new installations of RouterOS and set custom configurations on each device (The script generation is done with external logic). I would like to know if it's possible to use different tools (preferably via CLI) to make new in...