Page 1 of 1

MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 08, 2019 6:18 am
by Edified
I almost accidentally upgraded to MacOS Catalina, which would have hosed my Wineskin'd Winbox.

Now that there's an iOS app it seems that a native MacOS app shouldn't be far behind. If nothing else at least a Catalyst iOS port would be enough to do the basics, even if it doesn't have all the features of Winbox at first.

I know that Crossover is working on a hack and Mikrotik may well release a 64bit Winbox but at this point, with the iOS app now a permanent fixture and SwiftUI just arrivingI would love to see a native MacOS "Winbox". Might be time for a new name too, I've always called my Wine ports simply "MikroTik" which would be an easy first choice.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 08, 2019 8:28 am
by normis
We are aware and are working on all of that.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 10, 2019 8:58 pm
by Nevon
We are aware and are working on all of that.
Waiting.... ^^

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 10, 2019 9:11 pm
by DotTest37
We are aware and are working on all of that.
Waiting.... ^^
Me too

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 6:06 am
by MtHoodlum
I did upgrade to Catalina. Not waiting.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 2:57 pm
by IsiaNT
up
needed

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 3:13 pm
by normis
Screenshot 2019-10-11 at 15.12.52.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 3:34 pm
by drzen
Screenshot 2019-10-11 at 15.12.52.png
I want it.

v.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 4:20 pm
by zentavr
We are aware and are working on all of that.
I wonder if there is any 64-bit executable of WinBox available? 32-bit executable cannot be executed with wine at Catalina :(

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 4:22 pm
by normis
zentavr have you read this topic, before commenting?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 4:27 pm
by pe1chl
Screenshot 2019-10-11 at 15.12.52.png
That part should be trivial to get working. Now show a screenshot where you are actually logged in to a router :-)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 4:30 pm
by victorsoares
Screenshot 2019-10-11 at 15.12.52.png
=O I want it sooo bad. MacOS beta Developer here, I would be happy to send feedback on it.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 5:59 pm
by TimurA
Screenshot 2019-10-11 at 15.12.52.png
want now! give me this version :)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 11, 2019 8:50 pm
by xrtc
Screenshot 2019-10-11 at 15.12.52.png
want now! give me this version :)
yes please a public RC version would be nice !

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 12, 2019 5:19 am
by florid
consider to name it Macbox instead of winbox 3.20?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 12, 2019 9:41 am
by Kombat1978
Hi guys,
I did not accidentally upgrade to Catalina I did it on purpose. So just checking if there is any update for configuring my router from my Mac.
The fact that there is an app for iPhone means it cannot be far behind. Hoping.
Have goodie

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 12, 2019 11:47 am
by pe1chl
consider to name it Macbox instead of winbox 3.20?
Why?? It still is a Windows program, isn't it? 64-bit executables are not something specific to the Mac, Windows and Linux have them as well.
(but those platforms also support 32-bit executables on the same system, something the newer MacOS Catalina cannot do)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 12, 2019 4:26 pm
by coenkcore
Screenshot 2019-10-11 at 15.12.52.png
waiting for release with macOS catalina support :D

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Oct 13, 2019 3:02 am
by DotTest37
On October 09 Normis wrote on another forum "Several other topics exist about this already. We are working on winbox64"
Normis,, you are interpreting the forums the wrong way.
No, no, no, we dont want no "Windows-based stuff",,

We need native MAC !! MAC please.
Nobody can say we havent been patient all these years !

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Oct 13, 2019 3:35 pm
by hummer1028
me too...

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Oct 13, 2019 5:21 pm
by w0lt
Normis, quit teasing us !! :lol: 8) :lol:

Screen Shot 2019-10-13 at 9.20.05 AM.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 1:48 pm
by punkaker
Same situation here with all our Laptops. Will use VMs in the meanwhile, but hoping there will be a new release for MAC Catalina soon.

Thanks for the effort.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 2:01 pm
by normis
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 2:13 pm
by matgreg91
Hello everyone,

what about The Dude? Do you plan to release a 64 bit version of this software too?

Thank you

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 2:21 pm
by normis
Dude currently no immediate plans. Run it in Windows.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 5:36 pm
by victorsoares
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"
All done here, just waiting for it now =)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 5:58 pm
by anatod
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"
where is the winbox64 link?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 6:59 pm
by victorsoares
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"
where is the winbox64 link?
We'll have to wait for it.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 8:28 pm
by eddieb
Dude currently no immediate plans. Run it in Windows.
Wow, that is bad, so I have to buy 1 windows machine to run dude ????
BAD BAD BAD

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 14, 2019 8:45 pm
by pe1chl
Dude currently no immediate plans. Run it in Windows.
Wow, that is bad, so I have to buy 1 windows machine to run dude ????
BAD BAD BAD
I suppose you understand that the main people to blame here are Apple, who took away your ability to run 32-bit code?
Other platforms support 32-bit code on 64-bit CPU/OS, and Apple did the same until they took this away from you.
Winbox/Dude is likely not the only software that no longer works for you due to this change.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 8:59 am
by normis
Dude is a Windows program and has always been.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 9:03 am
by eddieb
nothing wrong with a windows program, but please make it 64bit ...
I don't need OSX stuff, but 64bit would be nice

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 11:17 am
by pe1chl
Dude is a Windows program and has always been.
But since some time there is also some Dude functionality (not everything) in Webfig!
I still think that is the way to the future... as nice a a native application may be, everyone is moving to web applications,
and the possibilities there have improved.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 1:53 pm
by loockas
It's works :) But i have problem with import/export addresses.cdb, explorer was not shown. Logs:
0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem?
0009:err:virtual:virtual_map_section mapping 0xed0000 1000 000000000 failed
alternatively i can copy the file to ~/.wine/drive_c/users/myuser/Application\ Data/Mikrotik/Winbox/, but i have don't idea how doing export ("save as" also not working)...
Zrzut ekranu 2019-10-15 12.01.13.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 3:42 pm
by victorsoares
I know it's probably something dumb, but how do I create a shortcut for this on Catalina? I always used PlayonMac to do this things, but for now the app doesn't work on 10.15.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 4:03 pm
by normis
Victor, macOS has a built in tool "Automator". It's very powerful and you can create apps easily. Like this for example:
Screenshot 2019-10-15 at 16.03.07.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 4:21 pm
by ediekeslopes
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"

I did the procedure and I couldn't

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 4:28 pm
by victorsoares
Victor, macOS has a built in tool "Automator". It's very powerful and you can create apps easily. Like this for example:

Screenshot 2019-10-15 at 16.03.07.png
Thanks normis!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 5:28 pm
by TimurA
Thanks a lot Normis!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 5:50 pm
by zentavr
There is also a feature which allows you to set up the icon: https://apple.stackexchange.com/questio ... tor-script

The icon could be downloaded from here: https://imgbin.com/download-png/j73uNt7L

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 5:55 pm
by aguntukk
Its working !!!

but impoting import address.CDB, App became hang.
After all thank you mikrotik team.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 5:55 pm
by victorsoares
Anyone else having issues resizing windows? Every time I try to resize any windows on Catalina the app crashes. Am I doing something wrong or is this a real issue.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 6:15 pm
by TimurA
Anyone else having issues resizing windows? Every time I try to resize any windows on Catalina the app crashes. Am I doing something wrong or is this a real issue.
works for me.
There is also a feature which allows you to set up the icon: https://apple.stackexchange.com/questio ... tor-script

The icon could be downloaded from here: https://imgbin.com/download-png/j73uNt7L
thanks a lot!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 6:23 pm
by jrpaz
Everything is working.

The only issue is importing/exporting addresss.

I bypassed that by copying the Addressses.cdb from the working 3.19 to 3.20 x64

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 6:35 pm
by punkaker
Winbox working, but impossible to Load the Addresses file....

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 15, 2019 6:37 pm
by TimurA
Winbox working, but impossible to Load the Addresses file....
copying the Addressses.cdb from the working 3.19 to 3.20

~/.wine/drive_c/users/"user name"/Application\ Data/Mikrotik/Winbox/

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 12:00 am
by sbr
Thank you very mush normis

Now I can shutdown my Windows 10 I Parallels


//Sten

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 1:57 am
by TerminalAddict
2 things:

1. This warning is annoying
https://youtu.be/NhLI0ipT9tI
Anyone know how to get rid of it?

2. automator script just does nothing :(

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 8:31 am
by norg
1)hold "control" click on winbox64.exe, click "open", this will add exception to your security settings
https://support.apple.com/en-us/HT202491
2)it works

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 8:43 am
by normis
Also, you can turn off this warning in the "System preferences" of the computer, go into "Security" section. You will have the option to allow apps from any developer, and override Winbox.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 8:44 am
by normis
Make sure the "Wine Staging.app" and "winbox.exe" are exacly named like that, and placed in those paths, like you have written in your Automator script. My image shows my paths, your paths might be different.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 9:30 am
by tarikin
Winbox working, but impossible to Load the Addresses file....
copying the Addressses.cdb from the working 3.19 to 3.20

~/.wine/drive_c/users/"user name"/Application\ Data/Mikrotik/Winbox/
This is a working example if you store your Addressses.cdb file in iCloud and you want to use it via new Winbox64:
cd ~/.wine/drive_c/users/"user name"/Application\ Data/Mikrotik/Winbox/
mv Addresses.cdb Addresses.cdb.bak
ln -s /Users/"user name"/Library/Mobile\ Documents/com~apple~CloudDocs/Addresses.cdb Addresses.cdb

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 9:39 am
by normis
Great that you found a workaround, because on our side it has been concluded that Import problem is Catalina + Wine64 issue. We can't fix it.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 9:59 am
by tarikin
Anyone else having issues resizing windows? Every time I try to resize any windows on Catalina the app crashes. Am I doing something wrong or is this a real issue.
No issues, all good!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 10:30 am
by Radek9112
Hello,
could someone answer the question what is the problem with making a Winbox application on MacOS?
There are several million developers in the world. Why do you have a problem making an application? Please give one logical example...

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 11:01 am
by tarikin
There are still another issues still unsolved:

1) can not paste commands to any gui or terminal window
2) can not copy nothing from gui or terminal window
* 1,2 ) but copy-paste inside the winbox app works
3) can not upload nothing via Upload button, but can Download (why?)

... Launching back my vmware vm.

p.s. Wine64 version 4.02 (via brew install wine)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 11:16 am
by normis
Hello,
could someone answer the question what is the problem with making a Winbox application on MacOS?
There are several million developers in the world. Why do you have a problem making an application? Please give one logical example...
You can do it too, Winbox has an API.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 11:16 am
by normis
Tarikin, how did you manage to install wine64 with brew?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 11:53 am
by tarikin
Tarikin, how did you manage to install wine64 with brew?
brew install wine
/usr/local/Cellar/wine/4.0.2/bin/wine64 ~/Downloads/winbox64.exe
Downloading and installing Wine Staging now, let's try 4.17.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 12:12 pm
by tarikin
Tarikin, how did you manage to install wine64 with brew?
Carefully followed your guide, removed wine 4.02 and installed Wine Staging (4.17)
filled the ~/.zprofile
launched winbox64 ~/Downloads/winbox64.exe

copy-paste seems to be working now (woohoo!!)
the rest is the Upload button (freezes)
[quote]0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem?
0009:err:virtual:virtual_map_section mapping 0xe20000 1000 000000000 failed[/quote]

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 2:01 pm
by parham
In advance, I'll apologised for anyone find this comment defensive or rude, I just ty be honest.
I never thought that one day as a Mikrotik fans I will post this, but so disappointed after over 10 years been used Mikrotiks, they did disappoint me to just relay on wine developers, they are using macOS, they are presenting MUM with macOS, every time I asked when we are going to have Native macOS winbox no answer. the time is now, guys you are the software developer also you are a vender, why in the earth you are relaying on Wines software to run winbox, just develop your own, I know there is SSH, WebFig but honestly everyone use winbox because it’s easy to use, powerful and very visible to config and troubleshoot, I have over 50 clients with over 200 Mikrotik and can't use winbox anymore. tired of using wine wrapper and wine software.

The main issue is us as a Mikrotik users trying to show off by finding the workaround, Please guys stop doing this you are all capable to finding the workaround but not realizing that every time you are finding the workaround, Mikrotik will use that to not developing the native macOS or Linux version of winbox.

Hope we see native macOS and Linux WinBox soon.

Thanks

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 2:53 pm
by normis
You already have native Web interface. What's wrong with it? Many macOS native app will not be much different, just no browser.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 4:02 pm
by TimurA
You already have native Web interface. What's wrong with it? Many macOS native app will not be much different, just no browser.
everything suits me, thanks again. CrossOver will release a new version soon, we will live even better.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 4:10 pm
by mkx
You already have native Web interface. What's wrong with it?

For me two things:
  • with WebFig it's not possible to have more sub-windows open at the same time ... only jumping between sections. When debugging something it is very useful to have possibility to check more aspects of same problem instantaneously ...
  • and more important: GUI over MAC connectivity. I'm not aware of any alternative ... but please, enlighten me if there is one.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 4:55 pm
by parham
You already have native Web interface. What's wrong with it? Many macOS native app will not be much different, just no browser.
It is nothing wrong with it, as I have mentioned, just for troubleshooting its not and never be as useful as WinBox.

With WinBox you can have lots of windows open and have see everything but with WebFig you don't have it.

I appreciate your comment and all nice job you are all doing, but after over 10 years can we have a native WinBox for macOS and Linux, Please.

Thanks
Parham

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 5:00 pm
by parham
You already have native Web interface. What's wrong with it? Many macOS native app will not be much different, just no browser.
Is there any technical limitation for Mikrotik to create a native WinBox for macOS and Linux? If yes, then I will delete my comment, and if there is no limitation to develop the native WinBox, can we please have it.

Thanks
Parham

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 10:31 pm
by TerminalAddict
1)hold "control" click on winbox64.exe, click "open", this will add exception to your security settings
https://support.apple.com/en-us/HT202491
2)it works
this works with mac apps, not with windows executables (see screenshot)
Screen Shot 2019-10-17 at 8.26.55 AM.png
Also, you can turn off this warning in the "System preferences" of the computer, go into "Security" section. You will have the option to allow apps from any developer, and override Winbox.
You can't do this anymore in Catalina, there is no "allow any apps" anymore.

On the plus side, I had security setting opened when I tried opening winbox, and look what magically pops up :)
Screen Shot 2019-10-17 at 8.28.21 AM.png
so that my warning box solved .. now to figure out my automator script.
currently have an alias in shell environ
alias winbox='/Applications/Wine\ Staging.app/Contents/Resources/wine/bin/wine64 /Applications/winbox64.exe'

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 10:41 pm
by norg
i had this problem on macbook where I didnt have “the unarchiver” which takes exe as its file
Popup open with warning that it isnt mac os file but after that start by automator was without warrning

In automator I have exactly the same as Normis and it is working
Only problem is when you close winbox and dont wait for automator to end and start it again, it wouldnt

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 10:59 pm
by TerminalAddict
I have automator running with the following:
Screen Shot 2019-10-17 at 8.57.56 AM.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 16, 2019 11:04 pm
by TerminalAddict
phew, finally back to where I was 3 weeks ago :)
Screen Shot 2019-10-17 at 9.03.34 AM.png

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 2:09 pm
by mandrade
An "easier" method to run winbox on Catalina:

- Install Mac Brew by following the single step instruction found at: https://brew.sh/index_en
- Install wine from Mac Brew: brew install wine
- In your Mac home create a folder called winbox and put winbox64.exe there
- Test if everything works by opening a terminal and running: cd ~/winbox; wine64 ./winbox64.exe
- After that, create an Automator like the print screen below in the folder /Applications (give all the authorizations it requests on first run).
- Additionally, take your windows Addresses.CDB file and copy it like this: cp Addresses.CDB ~/.wine/drive_c/users/myuser/Application\ Data/Mikrotik/Winbox/
- Remember to change in cp command, "myuser" for your username in wine

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 2:35 pm
by parham
WOW, Congratulation to everyone that find the workaround and spent lots of time, you all know what, there is a very easy way once for all, to Mikrotik release the native WinBox. have you guys had a sec to think about that too.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 3:18 pm
by Campano
Tks a Lot Guys!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 3:46 pm
by normis
mandrade, your version is not "easier" :)

same steps: 1. install wine 2. make automator action

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 4:32 pm
by mandrade
mandrade, your version is not "easier" :)

same steps: 1. install wine 2. make automator action

I disagree,

Installation via brew not require change default X11 server ( install XQUARTZ required by wine ) and Mac brew opens a lot of new possibilities to Mac 8)

BR

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 4:36 pm
by normis
Xquarz no longer required by Wine. Simple installer with Next->Next.
Homebrew install doesn't add wine64 to environment, you must guess where the binary is. Can't install latest Wine.

Nothing against hombrew.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 6:51 pm
by norg
Xquarz no longer required by Wine. Simple installer with Next->Next.
On my MacBook installation of Wine asked for Xquarz (at least 2.7.7.)and wasn't able to continue

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 17, 2019 10:59 pm
by mohamads
Use this for your app icon: download/file.php?id=10814

To get address list from your windows winbox (cdb stored address list)

copy the Addresses.cdb from C:\Documents and Settings\%USERNAME%\Application Data\Mikrotik\Winbox\

Then from mac copy to : cd ~/.wine/drive_c/users/user/Application\ Data/Mikrotik/Winbox/

Change user marked in red to your actual user. Quickest way to unhide or hide files in mac use key ( CMD + SHIFT + . )

Or just move them through terminal.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 1:12 am
by TerminalAddict
Xquarz no longer required by Wine. Simple installer with Next->Next.
Homebrew install doesn't add wine64 to environment, you must guess where the binary is. Can't install latest Wine.

Nothing against hombrew.
you are correct, no xquartz required in wine staging.
Also I'd recommend this "wine staging, automator script" as not everyone has brew setup, and brew can be daunting for some.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 3:20 am
by dschulz
For those interested, there's Platypus, a free application for macOS that allows you to build native application bundles from scripts. Once you get your Wine Staging playing nicely with winbox64.exe, you can build an app bundle with a custom icon and place it in your Applications folder.

Image
Image

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 4:34 am
by zochnetdave
I am also getting an error requiring xQuartz 2.7.7 after opening Wine Staging in Installer. I see that others are claiming it is not required - any tips/tricks? TIA

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 8:42 am
by normis
Make sure you have the latest wine, 4.17 staging:

https://dl.winehq.org/wine-builds/macos ... g-4.17.pkg

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 3:32 pm
by senux1988
Hi, I edit Winbox4Mac.app. Replace Winbox.exe on Winbox64 and Wine on Wine64. App required permit in security settings, because it is not signed by a certificate.
Try download: https://webshare.cz/#/file/A72or3or35

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 3:41 pm
by AndrewM
Yes, xQuartz 2.7.7 + still requed. Just tried install .pkg from normis's link

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 18, 2019 4:08 pm
by antoniojailson01
Make sure you have the latest wine, 4.17 staging:

https://dl.winehq.org/wine-builds/macos ... g-4.17.pkg
here is also giving the same error does not allow to install wine

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 19, 2019 4:43 am
by Runage7
Thanks for all your help.

When the native MacOS app will be released? I’m thinking on wait and do not upgrade to Catalina until we have this version, because all of our work depends on winbox...

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 19, 2019 4:58 am
by antoniojailson01
Make sure you have the latest wine, 4.17 staging:

https://dl.winehq.org/wine-builds/macos ... g-4.17.pkg
I had to install the brew to install wine later, because pkg did not install because I did not have XQuartz 2.7.7

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 21, 2019 6:52 pm
by IvanHC4
I need help

I get the following error when executing: brew install wine /usr/local/Cellar/wine/4.0.2/bin/wine64 winbox64.exe
Error: wine64: /usr/local/Cellar/wine/4.0.2/bin/wine64:1: invalid multibyte char (UTF-8)

Any solution?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 21, 2019 10:50 pm
by Nevon
Thanks for all your help.

When the native MacOS app will be released? I’m thinking on wait and do not upgrade to Catalina until we have this version, because all of our work depends on winbox...
I made that mistake to upgrade to Catalina...
Waiting.. for a real macOS app.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 21, 2019 10:59 pm
by victorsoares
Image

Working fine here, except for the upload/download option.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 21, 2019 11:03 pm
by hci
It would be nice if Mikrotik offered an official WineSkin, WineWrapper or somehting like that version of Winbox64. A native Mac version of Winbox would be better yet though.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 22, 2019 1:43 am
by tomasjanata
Hello,
I am on the Mac OS Catalina too and loosing of Winbox is disaster for me. I am working every day With this app and web based UI is impossible to use. Right now I have running winbox64, but Import of old addresses, upload and download is not possible. I followed full communication of this topic here but seems that nobody has solution till now. Please Mikrotik guys help us!! We need native winbox for mac OS Catalina.

Thank you so much for any help
Tomas

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 22, 2019 10:14 am
by theprojectgroup
Thx for the howto run winbox64 !

Make sure to backup "/Users/your-user-name/.wine/drive_c/users/flo/Application Data/Mikrotik" to later restore it to keep your connections...

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 23, 2019 3:47 am
by salt
Concerning Upload/Download Problem:

Seems like there is still a linked reference to the kernel32.dll in the Winbox64.
0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem?
0009:err:virtual:virtual_map_section mapping 0x1840000 1000 000000000 failed
0009:fixme:seh:RtlCaptureStackBackTrace (0, 32, 0x328e30, 0x0) stub!

ACCESS VIOLATION EXCEPTION at address: ___ 7fff68357d5d

rip=___ 7fff68357d5d eflags=__ 10206
rdi=_______________0 rsi=________ 19c9010 rbp=_________ 32a790 rsp=_________ 32a790
rax=_______________0 rbx=_______________0 rcx=_______________0 rdx=_____________ 24
 r8=__________ 100a8  r9=___________ 5342 r10=_______________0 r11=fffffffffe636ff0
r12=_______________0 r13=_____________ 44 r14=________ 19c5020 r15=__________ 701ae

winbox version: 3.20

backtrace:


stack:


linked to KERNEL32!
0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem?
0009:err:virtual:virtual_map_section mapping 0x1840000 9000 000000000 failed
0009:err:virtual:map_file_into_view failed to set PROT_EXEC on file map, noexec filesystem?
0009:err:virtual:virtual_map_section mapping 0x1840000 9000 000000000 failed
moduleFirst failed 5

code:
c5 fc 11 07 48 83 c6 20 48 83 c7 20 48 83 ea 20

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 23, 2019 10:22 pm
by martinkaplan
An "easier" method to run winbox on Catalina:

- Install Mac Brew by following the single step instruction found at: https://brew.sh/index_en
- Install wine from Mac Brew: brew install wine
- In your Mac home create a folder called winbox and put winbox64.exe there
- Test if everything works by opening a terminal and running: cd ~/winbox; wine64 ./winbox64.exe
- After that, create an Automator like the print screen below in the folder /Applications (give all the authorizations it requests on first run).
- Additionally, take your windows Addresses.CDB file and copy it like this: cp Addresses.CDB ~/.wine/drive_c/users/myuser/Application\ Data/Mikrotik/Winbox/
- Remember to change in cp command, "myuser" for your username in wine
This worked flawlessly.
Thanks a lot.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Oct 23, 2019 11:42 pm
by Boter
This actually got even simpler: https://github.com/nrlquaker/winbox-mac

If you don't want to read - just use brew.

brew cask install nrlquaker-winbox

Works flawlessly on Catalina

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 24, 2019 2:21 am
by anatod
with wine staging 4.18 work import/export options... https://dl.winehq.org/wine-builds/macosx/download.html

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 24, 2019 7:46 am
by normis
Yes, it looks like all file operations are fixed in Wine Staging 4.18

Thanks for pointing it out, Anatod!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Oct 24, 2019 9:49 am
by Nevon
This actually got even simpler: https://github.com/nrlquaker/winbox-mac

If you don't want to read - just use brew.

brew cask install nrlquaker-winbox

Works flawlessly on Catalina
How do you import addresses?... where?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 25, 2019 3:43 am
by hci
Will homebrew modify my mac os system files etc? Is it simple to remove homebrew and undo all it did? Just do not want to mess up my mac that usually 'just works'.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Oct 25, 2019 9:13 am
by normis
homebrew is a must have tool for any mac user.
that being said, you can just not use homebrew - install this and nothing else https://dl.winehq.org/wine-builds/macos ... g-4.18.pkg

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 26, 2019 10:14 am
by yag
Normis, what about netinstall64? )

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Oct 26, 2019 10:25 pm
by Nevon
Someone who can help me. Updated my own CCR1009 to V7 and could connect 3 times with my wine winbox app.. now when I try to connect the window disapper..

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Oct 28, 2019 5:46 pm
by FernandaAdhipramana
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"
Thanks dude, its working

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Oct 29, 2019 12:03 pm
by eset
homebrew is a must have tool for any mac user.
that being said, you can just not use homebrew - install this and nothing else https://dl.winehq.org/wine-builds/macos ... g-4.18.pkg
It would be great if that could work without fuckin up my CPU in Iterm2. Also previous wine was working just on 1-click on winbox.exe file. This staging won't work like that. In fact when developers will create winbox for macOS ?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Nov 03, 2019 1:23 am
by jemineye
For those interested, there's Platypus, a free application for macOS that allows you to build native application bundles from scripts. Once you get your Wine Staging playing nicely with winbox64.exe, you can build an app bundle with a custom icon and place it in your Applications folder.

dschulz, I tried Platypus with variables like what you used but it's not taking them. Are there any other settings I need to adjust? I see you're referencing the wine64 executable as the script type and the winbox64.exe as the path to the script. That's what I tried and it isn't liking it.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Nov 03, 2019 1:50 pm
by andrewlp
All I can say is thanks so much for compiling into 64bit!

Is the 64bit version full featured and stable, or are we expecting any issues?

PS. I turns out it is actually possible to run 32bit code in Catalina, just requires some nvram arguments and copying the 32bit libraries over, but this is much more elegant

http://netkas.org/?p=1491

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 05, 2019 8:41 am
by normis
64bit Winbox is just as feature full as the 32bit version. All features the same and runs with newest "Wine Staging" in macOS, also runs on other OS.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 08, 2019 12:35 pm
by eset
Xquarz no longer required by Wine. Simple installer with Next->Next.
Homebrew install doesn't add wine64 to environment, you must guess where the binary is. Can't install latest Wine.

Nothing against hombrew.
I agree. @mandrade your solution isn't accurate but I disagree that homebrew doesn't add wine64. It does.
cd /usr/local/Cellar/wine/4.0.2/bin/ && ls |grep wine64
wine64*
wine64-preloader*

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 08, 2019 1:10 pm
by eset
I have automator running with the following:
Screen Shot 2019-10-17 at 8.57.56 AM.png
I've done it differently, not using staging but just wine64 from 4.0.2 and works.
But Automator doesn't run the winbox
export PATH="/usr/local/Cellar/wine/4.0.2/bin:$PATH"
wine64 $HOME/.winbox/winbox64.exe

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Nov 11, 2019 6:26 pm
by zmckenzie
1) Thank you @Normis. This is a big help

2) For those having a tough time with Automator, there is an easier way. 1) follow the steps Normis outlined earlier in thread. 2) create a text file with the following commands, and name winbox.sh (replace directory with correct directory for your own system) 3) Right click new winbox.sh file and Open With terminal.app. If you save this as 'always open with', then you now have a shortcut that will always open up the terminal window, and winbox right after with just a click of the mouse.

#!/bin/bash
wine64 ~/Desktop/windows_apps/winbox64.exe

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Nov 14, 2019 9:52 pm
by 32768
Can somebody explain me how to install winehq-staging-4.19.pkg without XQuarz?
When i run the Installer it quits right at the start claiming the need of XQuarz.
Any hints appreciated.

// 32768

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Nov 18, 2019 12:44 pm
by eles
Just tried,

wine 4.0.2 stable with 64bit support works with Normis's procedure too (no additional XQuartz install required, just press next until it installs)

I had no luck running it with wine-staging (4.20) because of some error.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Nov 18, 2019 1:53 pm
by hbml
Hi, I edit Winbox4Mac.app. Replace Winbox.exe on Winbox64 and Wine on Wine64. App required permit in security settings, because it is not signed by a certificate.
Try download: https://webshare.cz/#/file/A72or3or35
Hello, this file show me virus in Bitdefender

Gen:Variant.Fugrafa.10146
Cesta: /Users/user/Library/Application Support/com.mikrotik.winbox_3.20.2/dosdevices/z:/Applications/Wine Staging.app/Contents/Resources/wine/lib/wine/secedit.exe


The same problem with WineHQ 4.19 and 4.20

something like this in version 4.20:

Gen:Variant.Ursu.652045
Cesta: /Users/user/.wine/dosdevices/z:/System/Volumes/Data/Users/user/.Trash/Wine Staging.app/Contents/Resources/wine/lib/wine/netsh.exe

and in version 4.19:
Gen:Variant.Ursu.652045
Way: /Applications/Wine Staging.app/Contents/Resources/wine/lib/wine/ngen.exe
Gen:Variant.Fugrafa.10148
Way: /Applications/Wine Staging.app/Contents/Resources/wine/lib/wine/rpcss.exe

Any Help?

Thank you

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Nov 18, 2019 9:59 pm
by 32768
Just tried,

wine 4.0.2 stable with 64bit support works with Normis's procedure too (no additional XQuartz install required, just press next until it installs)

I had no luck running it with wine-staging (4.20) because of some error.
Please explain what you mean with "just press next ..." - I don't have a "Next" Button ... the pkg Installer quits right after the start claiming the need of XQuarz.
So how can i skip that if the installer right quits?!?
Did i missed something?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 19, 2019 7:30 am
by Unintentional
Just tried,

wine 4.0.2 stable with 64bit support works with Normis's procedure too (no additional XQuartz install required, just press next until it installs)

I had no luck running it with wine-staging (4.20) because of some error.
I also have an issue with 4.20 Staging. 4.19 (and prior versions) run fine though. Anyone got 4.20 working?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Nov 20, 2019 1:01 pm
by WeWiNet
Isn't it ridiculous that we need to discuss in a thread how to make the basic and mandatory Mikrotik configuration
tool available for Mac users?

Imagine how much time Mikrotik resellers/users/promoters spent, which they don't spent on selling/promoting Mikrotik products!!!

There should be a sticky forum entry about building Winbox on Catalina with real step by step instructions for the dummy!!!.
Please provide a sticky thread with instructions...this should be not much effort on Mtik side as you always say its simple!
And then community can use easily...

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Nov 20, 2019 1:02 pm
by normis

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Nov 20, 2019 9:44 pm
by 32768
Why thread if there is the manual?
https://help.mikrotik.com/docs/display/ ... OSCatalina
Because the instruction doens't work.
When i start the Installer it quits right after lunch claiming the need of XQuarz 2.7.7.
And you wrote before that there is no need to install XQuarz and i don't want it on my clean catalina install.
So, please explain me how i can install it ;-)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Nov 21, 2019 8:55 am
by Minddaugas
So is Mikrotik working on MacOS native client or this https://help.mikrotik.com/docs/display/ ... OSCatalina manual is best what we can expect?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Nov 21, 2019 12:40 pm
by mankomal
I am getting this error in 4.20
msingh@MKS-Air ~ % wine64 Downloads/winbox64.exe 
wine: created the configuration directory '/Users/msingh/.wine'
0009:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:esync:do_esync eventfd not supported on this platform.
0009:err:environ:run_wineboot failed to start wineboot c00000e5
zsh: segmentation fault  wine64 Downloads/winbox64.exe
msingh@MKS-Air ~ % rm -rf ~/.cache/winetricks/
msingh@MKS-Air ~ % wine64 --version
wine-4.20 (Staging)
msingh@MKS-Air ~ %

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 22, 2019 10:35 am
by prcek
esync is just Linux thing. You can try "Catalina > Virtualbox > Linux distro > Wine > Winbox" solution. I can't understand why Mikrotik torture MacOS users so much for years.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 22, 2019 11:09 am
by pe1chl
I can't understand why Mikrotik torture MacOS users so much for years.
MacOS users are torturing themselves, aren't they?
It is their own decision to choose the non-leading desktop OS and suffer from application shortage, and they accept ridiculous decisions like "dropping 32-bit application support" from their OS supplier.
Of course the proper course would be to yell at Apple "hey Apple we need 32-bit support because we have legacy applications that we want to run", and maybe Apple would even listen.
(probably not, but then you could vote with your feet)

I really don't see why Mikrotik would have to support MacOS. It would be nice when winbox was platform-neutral, but then it should support Linux as well.
It would be best when webfig was improved to be the same in functionality as winbox, then winbox could be dropped (or not further developed) and all users could use their favorite OS as long as a modern webbrowser is available for it. Independent from the OS version, the number of bits, the availability of wine, etc.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 22, 2019 12:09 pm
by prcek
It is their own decision to choose the non-leading desktop OS...
Leading desktop OS doesnt mean the most appropriate desktop OS.
It would be nice when winbox was platform-neutral...
Sure, WasmBox (WebAssembly) + GraphQL API should be the solution for the next decade.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 22, 2019 12:40 pm
by pe1chl
It is their own decision to choose the non-leading desktop OS...
Leading desktop OS doesnt mean the most appropriate desktop OS.
I have been exclusively using Linux as my desktop OS since late 1992 (so way before a usable Windows OS even existed) and it works reasonably well for me because I do not need those Windows-specific applications, but at work where we have a need for appropriate "vertical applications" there has been barely a way around Windows. We could run MacOS but we would be constantly be confronted with "no sir, we only have a Windows version". And that is now slowly changing, but not because MacOS is now supported, but because most of those applications are moving towards a cloud-hosted solution that you access with a webbrowser. Which makes the desktop OS irrelevant.

But even in my use of Linux as my desktop OS I have sometimes seen this effect, when organizations just blindly assumed you could run their .exe for submitting data to them (e.g. filing taxes).
This has all ended because of the migration towards web-based.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Nov 22, 2019 11:01 pm
by 32768
I am also getting an error requiring xQuartz 2.7.7 after opening Wine Staging in Installer. I see that others are claiming it is not required - any tips/tricks? TIA
did u get any clue?

// 32768

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 2:58 pm
by bekax5
Tried this method but also getting some errors:
user@mac ~ % wine64 Desktop/winbox64.exe
wine: created the configuration directory '/Users/andredias/.wine'
0009:fixme:esync:do_esync eventfd not supported on this platform.
000b:fixme:esync:do_esync eventfd not supported on this platform.
0009:err:environ:run_wineboot failed to start wineboot c00000e5
zsh: segmentation fault  wine64 Desktop/winbox64.exe
Any idea how to fix?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 3:38 pm
by normis
FYI Wine 4.19 and 4.20 breaks on Catalina again.
Use Wine 4.18 https://dl.winehq.org/wine-builds/macos ... g-4.18.pkg

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 4:57 pm
by hci
FYI Wine 4.19 and 4.20 breaks on Catalina again.
Use Wine 4.18 https://dl.winehq.org/wine-builds/macos ... g-4.18.pkg

This is error I get on my macbook.

Failure
You need to install XQuartz 2.7.7 or higher first.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 4:58 pm
by normis
Paste this in macOS terminal:

xcode-select --install

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 6:36 pm
by bekax5
FYI Wine 4.19 and 4.20 breaks on Catalina again.
Use Wine 4.18 https://dl.winehq.org/wine-builds/macos ... g-4.18.pkg
Even though Wine gave lots and lots of errors... Winbox launched.
Thanks!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 7:52 pm
by rasputin83
This actually got even simpler: https://github.com/nrlquaker/winbox-mac

If you don't want to read - just use brew.

brew cask install nrlquaker-winbox

Works flawlessly on Catalina
cheers pal works great!!!!:D

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Nov 26, 2019 11:47 pm
by 32768
Paste this in macOS terminal:

xcode-select --install
i already have the command line tools installed.
and with staging-4.18 also the installer quits right after start claiming the need of xquarz :-(

// 32768

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Nov 27, 2019 6:08 pm
by w0lt
Codeweaver's "CrossOver" latest beta works great !!

-tp

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Nov 27, 2019 11:15 pm
by Nevon
Someone else who has problems sometimes to paste text in terminal thru winbox..?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Dec 02, 2019 12:41 pm
by WeWiNet
I made a fresh upgrade to Catalina yesterday and tried to follow the "according to Normis working" script from RouterOS 7 web page.
rm -rf /Applications/Wine*
rm -rf ~/.wine/
Then downloaded WINE 4.18 as given!
When installing WINE it says:
You need to install XQuartz 2.7.7 or higher first.
So I did what Normis said:
xcode-select --install

this was done successfully
But when I then again try to install WineHQ it still says Failure:
You need to install XQuartz 2.7.7 or higher first.
What do I need to do?
Could one update the Wiki that we have a clear, simple procedure to get Winbox on MAC?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Dec 02, 2019 12:47 pm
by normis
How about installing what it asks for? https://www.xquartz.org/releases/index.html
Try and see if it helps.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sat Dec 07, 2019 12:02 pm
by WeWiNet
Normis,
how about you updating your tutorial?
It does not say I need to install Quartz?

By the way I installed it, and tried... nothing happened.
No I am in deep sh... as I have only web fig to do work...

If I read that you are using internally MAC for work, its difficult to understand why you can't
update your Wiki to make a full step by step tutorial that actually works from A-Z without anything
to be added.

Come on, you will get lot's of kudos ... :-)

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Dec 12, 2019 11:43 am
by yoozieck
Does any of these solutions posted before supports drag&drop file transferring from Mac to Winbox?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Dec 12, 2019 11:45 am
by normis
Drag and drop works for me, has worked always actually.

WeWiNet - not sure. This might be an issue with your computer. Wine is not a Mikrotik app, you should google how to run Wine on your particular macOS version.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Dec 13, 2019 7:20 pm
by alexjhart
@Normis, can you have https://help.mikrotik.com/docs/display/ ... OSCatalina updated to include some of the things missing as pointed out in this threa? Such as:
  • Xquarz version and download link
  • wine staging version required and download link
Drag and drop works for me, has worked always actually.
viewtopic.php?t=152988#p758707
*) removed Drag and Drop support on 64-bit Winbox in Wine;

Why?
Yeah seems kinda weird. I guess it was breaking some thing?
It rarely worked as it was, I wish it would have been fixed rather than removed. Everything else in the Mac Winbox port worked pretty well except file transfer in and out via drag and drop.
Upgrading to latest Wine Staging 4.19 will fix these issues, new Winbox 3.21 will have drag/drop and file transfers again.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Dec 17, 2019 1:51 pm
by hafieror
Solved anybody problem with bad fonts displaying in winbox terminal?
Image

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Dec 17, 2019 11:01 pm
by Nollitik
It would really be cool to have Winbox or Macbox for the MacOS...never understood why Mikrotik hasn't made the leap. I have been using
Winbox4Mac for years now...even preferring it over webConfig but that's not the point. Having the app available through the AppStore
could bring many more home network to Mikrotik. It's like a Burger king opening across the street from a MacDonalds marketing approach.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Dec 19, 2019 11:54 am
by nghiavv
While you are waiting for the new 64bit exe file to be released soon, you can already prepare your macOS catalina systems according to these instructions:

If you have used Wine previously, we recommend you first delete the previous Wine application and the Wine settings directory in your home folder:

rm -rf /Applications/Wine*
rm -rf ~/.wine/

To run Winbox64 the following steps are required.

Install Wine Staging from WineHQ official download page https://dl.winehq.org/wine-builds/macosx/download.html
and make sure you have downloaded the winbox64.exe executable from the MikroTik download page.

During installation, you must mark "64 bit support" (by default it is not checked).
In macOS terminal, make sure your set to use ZSH as the new shell like this (and restart Terminal after this command):

chsh -s /bin/zsh

Edit your zprofile file to add environment variables, pointing the wine64 command to the correct installation path of Wine Staging:

nano ~/.zprofile

The file should look like this (make sure your paths are correct here):

export PATH="/Applications/Wine Staging.app/Contents/Resources/wine/bin:$PATH"
export FREETYPE_PROPERTIES="truetype:interpreter-version=35"
export DYLD_FALLBACK_LIBRARY_PATH="/usr/lib:/opt/X11/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Restart (quit and reopen) your macOS terminal
Launch Winbox64 with wine64 like this:

wine64 "/Applications/winbox64.exe"
I can not find .zprofile. Macos catalina default shell zsh.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Dec 19, 2019 1:09 pm
by normis
Yes, but this command creates the file, you will not have it by default:

nano ~/.zprofile

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Fri Dec 20, 2019 6:52 pm
by Kristofers
So is Mikrotik working on MacOS native client or this https://help.mikrotik.com/docs/display/ ... OSCatalina manual is best what we can expect?
iOS/MacOS developer here at MikroTik. We just started working on a revised version of the iPad app and if all goes well, will proceed with a native MacOS version straight after that.
It's too early to give any real time estimates, but we'll keep you guys updated on where it's at.

Kind regards,
Kristofers

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Sun Dec 22, 2019 10:06 am
by WeWiNet
So is Mikrotik working on MacOS native client or this https://help.mikrotik.com/docs/display/ ... OSCatalina manual is best what we can expect?
iOS/MacOS developer here at MikroTik. We just started working on a revised version of the iPad app and if all goes well, will proceed with a native MacOS version straight after that.
It's too early to give any real time estimates, but we'll keep you guys updated on where it's at.

Kind regards,
Kristofers
Great Christmas Gift! I like it, thank you!
+1

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Dec 23, 2019 12:23 am
by 32768
So is Mikrotik working on MacOS native client or this https://help.mikrotik.com/docs/display/ ... OSCatalina manual is best what we can expect?

iOS/MacOS developer here at MikroTik. We just started working on a revised version of the iPad app and if all goes well, will proceed with a native MacOS version straight after that.
It's too early to give any real time estimates, but we'll keep you guys updated on where it's at.

Kind regards,
Kristofers
+1 really great news! best news to start into 2020 :-P

// 32768

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Mon Dec 23, 2019 6:18 pm
by xh116
So is Mikrotik working on MacOS native client or this https://help.mikrotik.com/docs/display/ ... OSCatalina manual is best what we can expect?
iOS/MacOS developer here at MikroTik. We just started working on a revised version of the iPad app and if all goes well, will proceed with a native MacOS version straight after that.
It's too early to give any real time estimates, but we'll keep you guys updated on where it's at.

Kind regards,
Kristofers
It is nice to hear this! hope to use native MacOS version Winbox soon.

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Wed Dec 25, 2019 11:35 pm
by Nevon
Someone tried wine staging 5.0 rc2?

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Thu Jan 02, 2020 1:39 pm
by yoozieck
This actually got even simpler: https://github.com/nrlquaker/winbox-mac

If you don't want to read - just use brew.

brew cask install nrlquaker-winbox

Works flawlessly on Catalina
That is true, works like a charm. Thanks bro!

Re: MacOS Catalina, iOS, Catalyst, SwiftUI & Wine

Posted: Tue Jan 14, 2020 12:09 pm
by nissandata
This actually got even simpler: https://github.com/nrlquaker/winbox-mac

If you don't want to read - just use brew.

brew cask install nrlquaker-winbox

Works flawlessly on Catalina
That is true, works like a charm. Thanks bro!
Thx m8