Community discussions

MikroTik App
 
BoingoNOC
just joined
Topic Author
Posts: 14
Joined: Fri Oct 11, 2013 5:04 pm

Feature request - multiple Winbox Loader versions

Tue Nov 12, 2013 3:44 pm

Is there any way to open multiple Winbox Loader versions? To be able to open the loader and have different lists of devices?

Thanks
 
User avatar
THG
Member
Member
Posts: 472
Joined: Thu Oct 15, 2009 1:05 am

Re: Feature request - multiple Winbox Loader versions

Tue Nov 26, 2013 6:12 pm

Something like Microsoft remote desktop connection manager would be nice. :)
 
DWJ
Frequent Visitor
Frequent Visitor
Posts: 66
Joined: Sun Oct 13, 2013 10:42 pm

Re: Feature request - multiple Winbox Loader versions

Tue Nov 26, 2013 6:55 pm

BoingoNOC Do you mean open Winbox for two differant devices at the same time? Yes you can, I do it all the time.
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1345
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Feature request - multiple Winbox Loader versions

Tue Nov 26, 2013 7:51 pm

BoingoNOC Do you mean open Winbox for two differant devices at the same time? Yes you can, I do it all the time.
No, he is referring to being able to use one version of WinBox to open random RouterOS versions in the field.
 
HaPe
Member Candidate
Member Candidate
Posts: 239
Joined: Fri Feb 10, 2012 10:24 pm
Location: Poland

Re: Feature request - multiple Winbox Loader versions

Tue Nov 26, 2013 11:03 pm

And tabs, like tabs in Firefox or Chrome.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Feature request - multiple Winbox Loader versions

Wed Nov 27, 2013 3:16 pm

webfig with tabs opened in firefox or chrome like tabs in firefox and chrome.

After all webfig is full inbox clone available on any modern browser. And there is at least one modern browser nowadays on any OS with decent GUI
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Feature request - multiple Winbox Loader versions

Thu Nov 28, 2013 3:18 pm

Webfig is nice and it may have all options that WinBox does, but the overal user experience is nowhere close. WinBox can have any number of child windows arranged in any way user wants them. That includes dialogs, you can open more of them, to e.g. look at properties of one firewall rule while creating another one. In Webfig you only see one thing at a time (don't even try to suggest fiddling with multiple browser windows). Difference is huge.

And IMHO original poster wanted to have more than one winbox.cfg (he asked for "different lists of devices"). E.g. when I'd manage more networks, it would be nice to open one WinBox Loader with list of devices from Network A only and separate one with devices from Network B only. Instead of current global list with everything.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Feature request - multiple Winbox Loader versions

Thu Nov 28, 2013 4:15 pm

for now, maybe this
$ wine ./winbox.exe --help
usage: winbox [<connect-to> [<login> [<password>]]]
helps a bit to organize stuff. (for now)
 
User avatar
parrini
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Dec 13, 2007 5:11 am
Location: Bahia, Brazil

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 12:46 am

Our networks have grown -a lot-, and nothing beats Winbox when it comes to speed and lightness...

Compared to Winbox, a browser is an elephant.

I bet you guys use Winbox there on Mikrotik Headquarters, :)

A simple command-line parameter allowing to open winbox.cfg from a different place would suffice.

This way we could have infinite shortcuts to different groups of routers and, mainly, keep them on Dropbox.

(and share them with other staff members!) 8)
Last edited by parrini on Sat Mar 29, 2014 5:34 am, edited 1 time in total.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 2:34 am

Use different pc users: each users has is own address list...
 
User avatar
parrini
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Dec 13, 2007 5:11 am
Location: Bahia, Brazil

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 5:30 am

Use different pc users: each users has is own address list...
I am sorry but I don't understand... are you suggesting to create one windows user (with all the folder structures behind it) per routers group and switch windows users to alternate between them?

I know each user have a different winbox.cfg, but do you think this is a realistic alternative?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 9:40 am

Exactly. :lol:
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 4:51 pm

It's not perfect, but there is a way, if you don't mind a little beginner hacking. :)

Copy original winbox.exe to winbox1.exe. Open it in hex editor, search for string "AppData" and change it to "WinBox1". Make sure you keep exactly seven characters and don't change anything else in the file. If you do binary comparison of original and new file (using e.g. Total Commander), the only difference must be those few bytes you changed. Then add new variable to registry:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"WinBox1"="C:\\custom\\path\\to\\winbox\\data"
Now repeat the whole process with different variable for as many separate WinBoxes as you need.

In case you get an idea to use "." (current directory) intead of full path, which would allow you to have WinBox saving data to current directory, save your time and don't do it. It might appear to work, but it's very unrealiable, because WinBox changes current directory. UNC paths don't work either.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 5:29 pm

If anyone confirm that is working, in this thread, i got you +3!
 
User avatar
parrini
Frequent Visitor
Frequent Visitor
Posts: 85
Joined: Thu Dec 13, 2007 5:11 am
Location: Bahia, Brazil

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 10:51 pm

Really great post Sob, but the feature request to Mikrotik still stands, right?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature request - multiple Winbox Loader versions

Sat Mar 29, 2014 11:05 pm

Really great post Sob, but the feature request to Mikrotik still stands, right?
The method working?
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Feature request - multiple Winbox Loader versions

Sun Mar 30, 2014 2:52 am

What I posted is just a quick hack for "but I really need it right now!" situations. Because even if MikroTik adds the option to open different files with settings, you never know how long it's going to take them.

Another option that comes to mind, is to completely forget WinBox Loader and its limited ability to store settings, and store them somewhere else. That might not sound like a very bright idea, because who should then copy it to WinBox all the time, when they want to connect, right? Wrong. :) Fortunately, WinBox Loader does support autoconnect, when you call it with necessary parameters (as was pointed out in this thread already):
winbox.exe <address> <username> <password>
So if your favorite password manager can execute external commands... bingo! For example, lets take popular KeePass (tested with version 1, because I don't like .NET version 2, but it will be probably the same or similar there). You'll get as many different config files as you want, that is, if any number of folders and subfolders in one is not enough for you. Or if you need to share different subsets with different people. As a very nice bonus, passwords will be stored encrypted and protected by master password (unlike in winbox.cfg, where you can clearly see all passwords in plain text). To connect it together, you just need to copy winbox.exe to same directory and add the following line to KeePass.ini:
KeeUrlOverride=cmd://"{APPDIR}\winbox.exe" {URL} {USERNAME} {PASSWORD}
Then just double-click on URL column (where you put plain IP address or hostname) and you're connected.

@rextended: Have a little faith in fellow user, or try it yourself. :)
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Feature request - multiple Winbox Loader versions

Sun Mar 30, 2014 4:13 am

Karma +5
 
BoingoNOC
just joined
Topic Author
Posts: 14
Joined: Fri Oct 11, 2013 5:04 pm

Re: Feature request - multiple Winbox Loader versions

Mon Oct 06, 2014 5:54 pm

I would like to open one version of winbox in multiple windows but with different lists of devices.

sob, what hex editor would you recommend?
having issues finding a good one.

Who is online

Users browsing this forum: Bing [Bot], BoraHorza, holla29, jaclaz, JeffreyAxori, markinhusxp and 194 guests