Mass file upload and import

Is it possible to upload a file to several Mikrotiks and import that file, using The Dude?

Not sure what you mean.

Do you want to upload a particular file to multiple routers ?

Yes. I want to be able to upload or even overwrite an existing file on several routers. Logging on to each router is very time consuming.

Hi,

Ok so Can I ask a few more questions ?
Do you use the dude and do you store the username and passwords in the dude?

Also, are all of your routers listening on ssh port 22 ?

The reason I ask is that I have written some windows software that can do what you are asking but it imports the router information from the dude. Ie ip address, username, password, device type.

We have many routers and wanted to do the same thing.

Are you interested in testing my software ?

My initial tests show that we can upgrade 400 routers in under 2 Mins.

Sure has made our life easier.



Cheers

David

Yes. Could you please send it to me?

How ?

is there a way to private message on here so I can give you my email and you could email the file over?

davidw,

I would be interested in testing your software as well. For my purpose, I need a way to upload files to multiple routers (ssh would be fine) but also for better package upgrade. If I have dude-x.x.npk installed on a router with say v3.24 and I say Upgrade → 3.27 it won’t work because of the dude package can’t be upgraded (not included in 3.27 files).

Anyway, I would be interested in test of your program.

Doug,

What ports are your routers listening on ? 22 ?

David

Yuup routers are listening via SSH on port 22. Does your software work with Dude or independent of it. I was thinking of doing something through SSH scripts and upload via the command line, but I really like the Dude GUI.

Software works independent of the dude.

You export a backup file to xyz.xml (this file contains all the information that we need specifically ip address, username, password)

Then my windows program reads this file and displays a list of routers.

You select the routers and enter a command that you want run and it goes and executes them.

We have a lot of routers behind public IP addresses so we use a lot of port forwarding to access each router.

Just putting the finishing touches on the first version.

stay tuned.

I can’t wait to test it :slight_smile:!

Hi doug and any one else who is interested.

Please go here and register your interest.

https://secure.myport.com.au/myportdownload.asp

I am hoping to complete initial testing this afternoon and should have some thing to you shortly.

Cheers

David

Why not just FTP your files to your boxes and then run a script with a schedule that imports the file (runs a script) which is sent with your files.

We do this for our usermanager updates to add new scratch cards.
Simply generate a script file with the relevant commands in it and send it with the files so that the script file is executed by another script on the router, which then runs whatever ROS commands you want to on the router locally.

Regards
Paul

This is the problem the program is trying to solve.

I don’t understand why that’s a problem though, it’s easy to batch uploads using FTP.

Regards
Paul

I think davidw’s program is a GUI that imports router info straight from Dude (using XML). You could use command line tools but a GUI would be a plus.

Offical Web Site is now : http://www.routertools.com.au

Pure excellence!

Sorry to open an old post, but I am very interested in pjulian’s comment above. I am trying to figure out how to upload a script file via FTP and have a scheduled script execute the uploaded script.

Does anyone know how I can do this?

Thanks.