Community discussions

MikroTik App
 
E300
just joined
Topic Author
Posts: 2
Joined: Tue Mar 19, 2024 9:00 pm

Script to run Winbox with custom settings

Tue Mar 19, 2024 9:14 pm

Hi all, I am really new to community so I am sorry if my question is not related. I would like to run Winbox with predefined settings if possible. I have got the device on fixed IP that i am using for testing speed of connection to other devices. But every time i turn on the PC i need to run Winbox, bandwidth test, set IP of device, TCP protocol etc, its waste of time. Is there a way i can automate these with script? Thanks for the help for newbie :roll:
 
kevinds
Long time Member
Long time Member
Posts: 651
Joined: Wed Jan 14, 2015 8:41 am

Re: Script to run Winbox with custom settings

Wed Mar 20, 2024 8:13 pm

But every time i turn on the PC i need to run Winbox, bandwidth test, set IP of device, TCP protocol etc, its waste of time. Is there a way i can automate these with script? Thanks for the help for newbie :roll:
Connect with SSH, or if you must, open the 'Terminal' window in Winbox.

From your computer paste this into the prompt (save it in a text file on your desktop),
/tool/bandwidth-test direction=both user=e300 password=yoursecretpassword duration=1d00:00:00 protocol=tcp address=192.0.2.133
 
E300
just joined
Topic Author
Posts: 2
Joined: Tue Mar 19, 2024 9:00 pm

Re: Script to run Winbox with custom settings

Mon Apr 01, 2024 5:28 pm

Many thanks, that works.

Who is online

Users browsing this forum: No registered users and 9 guests