Community discussions

MikroTik App
 
wildbill442
Forum Guru
Forum Guru
Topic Author
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Winbox Feature Suggestion...

Wed Aug 20, 2008 7:04 pm

For those of us using custom monitoring and management interfaces (such as Nagios) it'd be nice if there was a trigger we could use in a hyperlink to make a call to winbox (IE: winbox://<router_IP>) which would open winbox and input the <router_IP> into the connect to field.

It'd be even better if we could pass user/pass arguments to winbox, but I wouldn't want this to be stored in clear text in a web URL, so this is more wishful thinking.. maybe if it was stored in a MD5 hash, or some other encryption that's a little more secure...

Anyway just a thought..
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Winbox Feature Suggestion...

Wed Aug 20, 2008 7:46 pm

cmd prompt> winbox ROUTER USER PASS

Sam
 
wildbill442
Forum Guru
Forum Guru
Topic Author
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Re: Winbox Feature Suggestion...

Wed Aug 20, 2008 9:07 pm

Thanks Sam for the patronizing comment!

I'm thinking of less key strokes.. when you have 150+ Mikrotiks you want to type as little as possible to get to the information you need..

That's why scripting a hyperlink like:

winbox://10.0.0.1/$USER$PASS

would be helpful.. that way you just click on a link and get a winbox UI. Plus it saves me from training all my tech monkies on how to use the command line variants. Otherwise I'd just use SSH..
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Winbox Feature Suggestion...

Wed Aug 20, 2008 9:40 pm

Close:

file:///d:/bin/winbox.exe

I'll see if I can figure out how to add a URI scheme to start winbox with the right paramters.
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Re: Winbox Feature Suggestion...

Thu Aug 21, 2008 2:44 pm

As I have been struggling with this, too, I now created a small utility to do exactly this:
Enable you to use URLs like "winbox://192.168.1.1/username/password" (or also just "winbox://192.168.1.1").

It's just one very small file (currently 168 kB), with the ability to register and unregister the necessary handlers itself.
I'll put it up on my webpage today, just have to run for one more wireless installation now...
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 27037
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Winbox Feature Suggestion...

Thu Aug 21, 2008 2:49 pm

 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Re: Winbox Feature Suggestion...

Thu Aug 21, 2008 4:23 pm

Yes, but handing over several command line params has to be implemented etc.
It's finished here and with a more or less idiot-proof GUI. And it doesn't rely on dozend-megabyte .NET stuff to do simple things, like some other more general utilities I found. I hate having to install frameworks and several MB of code to get simple things done... ;-)
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Re: Winbox Feature Suggestion...

Thu Aug 21, 2008 5:23 pm

So, here we go. You can download it from here:
http://www.cmit.de/downloads/Mini-Winbo ... 0.8.15.zip

The zip file contains a README. I would appreciate a short note to info(at)cmit(dot)de if you use it.
Feedback is welcome as always, as are donations ;)
 
herbicidal
just joined
Posts: 8
Joined: Sat Jun 02, 2007 6:06 am

Re: Winbox Feature Suggestion...

Tue Oct 19, 2010 2:21 am

And for all of us Firefox users

in your url type about:config

right click add boolean

network.protocol-handler.expose.winbox
choose false

click a winbox:// link from a webpage and use the above handler program in the previous post.
 
nicoonline
just joined
Posts: 2
Joined: Tue Jul 14, 2020 11:17 pm

Re: Winbox Feature Suggestion...

Tue Jul 14, 2020 11:26 pm

Hello,

I have the same request but can’t find the file anymore.