Hello,
How can i massively execute command via Dude on devices (RouterOS) ? I need to upgrade firmware (bios) on 1000+ devices. It is possieble ?
Hello,
How can i massively execute command via Dude on devices (RouterOS) ? I need to upgrade firmware (bios) on 1000+ devices. It is possieble ?
Hello, pikpik!
You may start from the following topics:
Thanks for answer
But still i dont know how to run mass command execute ie.
/system identity set name=
pikpik, I don’t know how this may be done from Dude.
On the forum you may find some information about this:
As an example you may use information from the forum topic: Backup Mikrotik config to Subversion/SVN repository via SSH
# sshpass -p <password> ssh <username>@<host> -p <port> <command>
sshpass -p admin ssh admin@192.168.0.1 -p 22 /ip address print
#
Next you may run you command on multiple ROS devices: better way to loop through a list of servers
Thank you!
You will thank me for that…
I haven’t tried it on routeros but I’m sure it will work.
Please use rundeck.. amazing opensource product to execute commands and scripts.
Enjoy
Has anyone had any lukc with this. I have followed the links and read up on stuff but have had no luck trying to update say the ssid on 5 aps through the dude in one click. I found this but am not sure how to create the tool
“And you could also use the Dude to invoke a tool (read: executable or a URL) over one or multiple routers. This particular ability could be used to start a custom program that uses the API over said router(s).”
If I understand this I can have it go to a URL that then runs an API command that could then update the ssid on my 5 aps in one click?
Thanks for any help
You can try my tool written in Go, I’ll be appreciate for any feedback https://github.com/migotom/mt-bulk/releases