Search found 8 matches
- Wed Jul 27, 2022 4:29 am
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
The issue previously was that any $ would need escaping, which was incorrect. But having to escape RouterOS script syntax sequences which class with the Unimus syntax is correct. No way to avoid that - sorry. Thanks for linking Unimus wiki. I just want to clarify for myself: both wiki examples are ...
- Tue Jul 26, 2022 7:41 am
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
Hi Tomas, On version 2.2.4 I don't need to double-escape all "$", but when I am using something like this: :set PkgVer "$[/system package get routeros version]" or :set RbVer "$[/system routerboard get current-firmware]" I need to double-escape "$" or the code...
- Fri Jun 17, 2022 7:12 pm
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
I started using Unimus from version 2.2.2 one week ago and skipped 2.2.3 beta.
- Fri Jun 17, 2022 5:37 am
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
I am still experiencing problems with "$" character shielding in 2.2.3 release. The command line that works in Mikrotik terminal gives me weird results if pushed from Unimus. With "$" double shielding anything is working fine as in 2.2.2.
- Wed Jun 08, 2022 2:14 pm
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
- Wed Jun 08, 2022 1:22 pm
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
The problem is definitly with the:How I can correctly escape $ here in Unimus 2.2.2? Using %24 is not working
Code: Select all
:set PkgVer \"\$[/system package get system version]\"\r\n
- Wed Jun 08, 2022 1:01 pm
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
As I can see all $ are escaped in initial script and I really don't see any "mutations". Mikrotik responds with "no such item" for the second command. Here is the output: <prompt> /system script remove update-software no such item [admin@RB4011] > <prompt> /system script add name...
- Wed Jun 08, 2022 12:37 pm
- Forum: Automation
- Topic: Automating MikroTik RouterOS updates
- Replies: 24
- Views: 57244
Re: Automating MikroTik RouterOS updates
I am trying to do Mass Config Push with the code example provided by SpiderMattX, but all I get is "no such item" in Output. And this is strange, because if I paste this code directly in the Mikrotik terminal inside Winbox everything is working as expected. Any ideas what could be wrong? H...