The only reason that video insists on the shell change is that they then proceed to give a single method for setting the necessary environment variables. If you wish to stick with the outdated Bash 3 that Apple still ships, you merely have to put the same commands into that shell’s equivalent startup script, ~/.bash_profile.
The PATH adjustment is needed only if you’re using the GUI Wine installer they show. If you install “wine-stable” via Homebrew instead, it’ll be in your PATH without any extra help.
I don’t know why they recommend the Freetype interpreter adjustment. I run without, and it seems to work fine.
The dyld stuff also seems unnecessary if you install Wine via Homebrew.
Three strikes, yer out: I don’t have any of those lines in my zshrc, my zprofile, or my bash_profile. That’s the answer to your question, then: the shell has almost nothing to do with how or whether you can run Winbox on a Mac.
I use this script to run Winbox from the command line:
Issue now is, first time i installed winbox on my mac, everything worked great, i was able to connect tot he router and switches on my GNS3 project
but now when i try to login, i am not able to
it is able to find the router but it keeps giving this error
ERROR: RoMON Agent not found. Add it to Managed List
but RoMON is already enabled as i am able to login from a Windows 10 machine and i also logged in before on the mac
Anyone know what i need to do to make winbox on Mac able to connect again?
A bit too aggressive here
You can be a bit less aggressive with approach
This is issue with using winbox on mac, others are using winbox for mac here
so possible that someone faced same issue as me and might be willing to share what worked for them
It is ok if you don’t feel like helping in cases like these, but no need to take over what questions should be asked
It was an escalation after seeing two prior hints go unheeded, then you posting obnoxious double-size screenshots twice.
Side issue 1: Downscale screenshots taken on Retina systems by 2x before posting to the web to avoid this scaling problem. The macOS way of doing that is via Preview: Tools → Adjust Size, then say either 50% or change the resolution to something more like 72 ppi.
Side issue 2: Don’t post the same question (or in this case, screen shot) twice in rapid succession. It’s not only pointless, it comes across as needy, desperate, or demanding. Remember that we are here offering free support, using our free time for your benefit.
Now to the disregarded hints.
The first was in the video you originally posted, which covered the topic starting about 6:09 in.
The second was in the post giving the “winbox &” hint, which implicitly suggested that one wishing to style oneself an “über web guru” should try a web search before posting, in case it’s a very common topic with a generic answer, as in this case. I get tens of thousands of results for the phrase “developer cannot be verified” from a wide variety of web sites, because it affects every unsigned app on each of the last several versions of macOS. There’s not a thing specific to Winbox about the problem you’re running into, nor is its solution specific to anything in the MikroTik universe.
It says essentially the same thing as the bit at the end of the MikroTik video, meaning you’ve been given the answer twice and still missed it. Since you like screenshots, here’s a third attempt:
no need to take over what questions should be asked
While you are right that I have no authority to tell you what you can ask, where, as an Internet citizen offering their free time to provide technical support, I do feel I have the moral right and responsibility to propound basic standards of behavior. Posting off-topic questions goes against precepts established back in the earliest online communication forums. This, too, is not unique to MikroTik hardware or to RouterOS.
one your screenshot you posted is big as well, i was not aware the size of screenshot was intimidating. Mikrotik company that owns forum has not complained to me yet that a few screenshots i have ever posted on forum is causing issues.
And yes, it is free forum, which means help “whenever” you can
Anyways we can move past that.
I did not get the prompt or see “Allow Anyway” which was why i asked in the forum, if anyone has come across similar issue
Also i did not follow exactly what video did, so video was not relevant to me much, i had slightly different setup than video
I am not a noob with computers, I have also checked to see if i could allow anyway, but its not there
I suspect many people installed winbox on mac, and could have happened to them also and maybe someone else found a solution
that was purpose of posting, maybe some times let others chip in to help
especially if you feel you can’t help any further, many other people on forum also
P.S i can not upload image from computer to this forum, i can only add image URL from external website e.g imgur
and i don’t know how to scale down imgur images
The MacOS feature is a called Gatekeeper, it’s enforced even on Wine apps like winbox.exe.
You should be able to use the Finder, control-click winbox.exe, then “Open”, or at least try to. The should trigger gatekeeper, with an an actual “Open Anyway” button. You just need to do this once to remove the “gatekeeper flag” on the app, then it will work from the command line. See Apple KB “Safely open apps on your Mac”, specifically a footnote at the bottom:
If you’re prompted to open the app in Finder and you’re sure you want to open it despite the warning, you can control-click the app, choose Open from the menu, and then click Open in the dialog that appears. Enter your admin name and password to open the app.
I’ll note that it might be easier to use the brew package manager on a Mac, along with with the winbox-mac “cask”, nrlquaker/winbox-mac which packages up both winbox.exe and wine into an application. You’d still have to do same trick to allow the application as noted in KB above.
Brew can be installed using Mac OS X Terminal using a single command from here: See https://brew.sh but it’s
And, once brew is installed, winbox-mac can be installed using:
brew install --cask nrlquaker-winbox
The reason I suggest the method since you mention you’d wanted pass args to winbox. Since winbox-mac get packages as native app (even though it really still wine+winbox.exe), Apple’s CLI command, OS X’s “open” will work to provide arguments to winbox-mac app installed by brew :
open /Applications/Winbox-mac.app --args ip login password
Nevermind. Just a suggestion, since I actually like that “brew upgrade” get me the latest winbox and the wine stuff is automatic/included.
Clearly you have unique problems. Gatekeeper is needed but annoying & not hard to fix. zsh is the default shell in any recent Mac OS, so unclear why bash is important if you don’t know ~/.bash_profile. And, why someone would want/need to run an old version of winbox is beyond me (e.g. a new version of winbox can connect to older version of RouterOS). And the primary source isn’t the docs, it’s YouTube. Bash’ing head.
I have unique problems? lol
I will continue to use the setup i have
I just click cancel and it works
Your method, am not sure how to start the app..when i click the app, nothing happens
i have to run this command?
open /Applications/Winbox-mac.app --args ip login password
how is this convenient? i need to add username and password?
right now i run just type “winbox” from how have mine setup and it spins up winbox..i can install any version of winbox i want…it is all about having options and flexibility