Community discussions

MikroTik App

Search found 27 matches

by jlgonzalez
Tue Mar 18, 2025 4:51 pm
Forum: Wireless Networking
Topic: Incomplete firmware version for EG18-EA modem under /interface/lte/monitor menu
Replies: 0
Views: 1320

Incomplete firmware version for EG18-EA modem under /interface/lte/monitor menu

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...
by jlgonzalez
Fri Mar 07, 2025 1:15 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Re: Bug when executing script that contains :return statement from scheduler

For anyone reading this topic, I think this bug will be addressed in version 7.19:
*) console - do not treat return values as errors in scripts run from scheduler;
by jlgonzalez
Mon Mar 03, 2025 5:21 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Re: Bug when executing script that contains :return statement from scheduler

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....
by jlgonzalez
Mon Mar 03, 2025 5:14 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Re: Bug when executing script that contains :return statement from scheduler

/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 ...
by jlgonzalez
Mon Mar 03, 2025 5:12 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Re: Bug when executing script that contains :return statement from scheduler

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...
by jlgonzalez
Mon Mar 03, 2025 5:06 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Re: Bug when executing script that contains :return statement from scheduler

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...
by jlgonzalez
Mon Mar 03, 2025 3:15 pm
Forum: Scripting
Topic: Bug when executing script that contains :return statement from scheduler
Replies: 10
Views: 2591

Bug when executing script that contains :return statement from scheduler

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 ...
by jlgonzalez
Mon Mar 03, 2025 2:33 pm
Forum: Announcements
Topic: v7.18.2 [stable] is released!
Replies: 582
Views: 216533

Re: v7.18.1 [stable] is released!

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 ...
by jlgonzalez
Thu Jan 23, 2025 9:54 am
Forum: General
Topic: Reboot loop after updating wAP
Replies: 5
Views: 2639

Re: Reboot loop after updating wAP

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...
by jlgonzalez
Wed Jan 22, 2025 5:54 pm
Forum: General
Topic: Reboot loop after updating wAP
Replies: 5
Views: 2639

Re: Reboot loop after updating wAP

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?
by jlgonzalez
Wed Jan 22, 2025 1:11 pm
Forum: General
Topic: Reboot loop after updating wAP
Replies: 5
Views: 2639

Reboot loop after updating wAP

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...
by jlgonzalez
Wed Jan 22, 2025 11:51 am
Forum: Announcements
Topic: v7.17.2 [stable] is released!
Replies: 619
Views: 334812

Re: v7.17 [stable] is released!

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...
by jlgonzalez
Tue Jan 21, 2025 5:16 pm
Forum: Announcements
Topic: v7.18beta [testing] is released!
Replies: 573
Views: 182450

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

*) 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...
by jlgonzalez
Fri Jan 17, 2025 3:19 pm
Forum: Scripting
Topic: Feature request: adding "remove after next run" feature in schedulers
Replies: 2
Views: 4679

Re: Feature request: adding "remove after next run" feature in schedulers

Yeah that would be very handy to simplify logic. +1
by jlgonzalez
Fri Oct 18, 2024 10:29 am
Forum: Announcements
Topic: v7.16.2 [stable] is released!
Replies: 506
Views: 254061

Re: v7.16.1 [stable] is released!

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...
by jlgonzalez
Thu Nov 30, 2023 6:54 pm
Forum: MikroTik hardware questions
Topic: New hAP ax lite LTE
Replies: 199
Views: 37819

Re: New hAP ax lite LTE

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...
by jlgonzalez
Mon May 15, 2023 5:21 pm
Forum: Announcements
Topic: v7.9 [stable] is released!
Replies: 242
Views: 69480

Re: v7.9 [stable] is released!

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 ...
by jlgonzalez
Thu Feb 02, 2023 4:36 pm
Forum: General
Topic: Login with Default Admin and No Password is Failing
Replies: 31
Views: 109757

Re: Login with Default Admin and No Password is Failing

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...
by jlgonzalez
Thu Sep 10, 2020 6:16 pm
Forum: General
Topic: Serial Number in IP Discovery
Replies: 1
Views: 582

Serial Number in IP Discovery

Hi!

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.).

Thank you.
by jlgonzalez
Tue Jul 28, 2020 3:50 pm
Forum: General
Topic: Add src-address param to /tool speedtest
Replies: 2
Views: 1284

Add src-address param to /tool speedtest

Hi, it would be very useful to have the src-param available for the speedtest tool (as it is for /tool fetch).

Are u considering adding it?
by jlgonzalez
Fri Jul 24, 2020 3:45 pm
Forum: Scripting
Topic: SFTP command with src-address parameter
Replies: 0
Views: 826

SFTP command with src-address parameter

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...
by jlgonzalez
Mon Feb 17, 2020 11:39 am
Forum: Scripting
Topic: Create users within Mikrotik Import file
Replies: 1
Views: 2672

Create users within Mikrotik Import file

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]...
by jlgonzalez
Wed Feb 05, 2020 11:27 am
Forum: Scripting
Topic: Accessing Safe Mode with Paramiko
Replies: 2
Views: 3405

Accessing Safe Mode with Paramiko

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+...
by jlgonzalez
Thu Dec 12, 2019 11:58 am
Forum: General
Topic: Is it possible to make a clean install of RouterOS without Netinstall?
Replies: 7
Views: 3356

Re: Is it possible to make a clean install of RouterOS without Netinstall?

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...
by jlgonzalez
Wed Dec 11, 2019 11:28 am
Forum: General
Topic: Is it possible to make a clean install of RouterOS without Netinstall?
Replies: 7
Views: 3356

Re: Is it possible to make a clean install of RouterOS without Netinstall?

Oh sorry, I misunderstood your question. Now I'm currently working with the model RB2011UiAS-2HnD-IN (MIPSBE)
by jlgonzalez
Wed Dec 11, 2019 10:24 am
Forum: General
Topic: Is it possible to make a clean install of RouterOS without Netinstall?
Replies: 7
Views: 3356

Re: Is it possible to make a clean install of RouterOS without Netinstall?

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.
by jlgonzalez
Wed Dec 11, 2019 9:50 am
Forum: General
Topic: Is it possible to make a clean install of RouterOS without Netinstall?
Replies: 7
Views: 3356

Is it possible to make a clean install of RouterOS without Netinstall?

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...