Community discussions

MikroTik App
 
User avatar
thanpolas
just joined
Topic Author
Posts: 13
Joined: Wed May 11, 2022 9:22 pm
Location: Greece
Contact:

winbox stopped working on my Mac

Wed Apr 26, 2023 12:13 pm

I had been running winbox using wine for years on my macbook pro, it's only recently that it stopped working and I am trying to find out why...

* I have upgraded wine to the latest stable v8.0
* I have downloaded a fresh new copy of winbox.exe v3.37
* Made sure permissions from macos are allowed via the "Privacy & Security" tab of settings
* MacOS Ventura v13.3.1, M1 chip

This is my iMac that has the problem... I can still run winbox on my macbook pro, which uses wine 6.0.2 and the same MacOS version (13.3.1), so I am guessing this is a problem particular to my iMac...

When I run winbox from the command line via wine, I get the error bellow:
$ wine64 winbox64.exe
0074:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:err:dnsapi:DllMain No libresolv support, expect problems
0024:err:module:LdrInitializeThunk "ws2_32.dll" failed to initialize, aborting
0024:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\Users\\thanpolas\\Documents\\winbox\\winbox64.exe" failed, status c0000142
I've run out of ideas, any tips / help?
 
BRCnet
just joined
Posts: 4
Joined: Mon Jul 22, 2013 12:13 pm

Re: winbox stopped working on my Mac

Fri Apr 28, 2023 8:58 pm

Another one affected with the same problem.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 12979
Joined: Thu Mar 03, 2016 10:23 pm

Re: winbox stopped working on my Mac

Fri Apr 28, 2023 9:55 pm

To me it looks like wine upgrade broke things ...
 
User avatar
marsbeetle
newbie
Posts: 48
Joined: Sun Feb 19, 2023 9:57 am

Re: winbox stopped working on my Mac

Mon May 01, 2023 10:29 am

Did you try the 32bit version of winbox ?
 
walkingwithlee
just joined
Posts: 6
Joined: Thu Dec 27, 2018 5:37 pm

Re: winbox stopped working on my Mac

Tue May 02, 2023 7:30 pm

Please Mikrotik come up with a solution here to have Winbox natively on MacOS (Apple Silicon) rather than on the mercy of Wine.

32 bit and 64 bit Winbox not working MacOS 13.3.1 for weeks now!

This dependancy is killing me
 
User avatar
kehrlein
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Tue Jul 09, 2019 1:35 am

Re: winbox stopped working on my Mac

Wed May 03, 2023 7:19 pm

Please Mikrotik come up with a solution here to have Winbox natively on MacOS (Apple Silicon) rather than on the mercy of Wine.

+1
 
vidhayakji79
just joined
Posts: 1
Joined: Thu May 04, 2023 7:38 am

Re: winbox stopped working on my Mac

Thu May 04, 2023 7:40 am

I don't know which interfaces you're using or what is your exact set-up. But if you use it as a router with dhcp server, then yes better not change anything and just allow winbox on input of the firewall, or use vpn if its on a public network.
 
walkingwithlee
just joined
Posts: 6
Joined: Thu Dec 27, 2018 5:37 pm

Re: winbox stopped working on my Mac

Wed May 10, 2023 11:25 am

I don't know which interfaces you're using or what is your exact set-up. But if you use it as a router with dhcp server, then yes better not change anything and just allow winbox on input of the firewall, or use vpn if its on a public network.
Sorry but this is irrelevant to the thread. Winbox doesnt work, ie. it doesnt start/open....
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: winbox stopped working on my Mac

Wed May 10, 2023 1:48 pm

winbox64.exe works fine with wine64 on macOS 13.3 and 13.4

Reinstall wine64 https://github.com/Gcenx/macOS_Wine_bui ... x86.tar.xz
Open "Wine devel"
Screenshot 2023-05-10 at 13.48.43.png
You do not have the required permissions to view the files attached to this post.
 
walkingwithlee
just joined
Posts: 6
Joined: Thu Dec 27, 2018 5:37 pm

Re: winbox stopped working on my Mac

Wed May 10, 2023 5:08 pm

winbox64.exe works fine with wine64 on macOS 13.3 and 13.4

Reinstall wine64 https://github.com/Gcenx/macOS_Wine_bui ... x86.tar.xz
Open "Wine devel"

Screenshot 2023-05-10 at 13.48.43.png
Wine issues on the last few 13.x builds. had issues with wine-devel with bad battery drain.

Anyone my point is Wine is a challenge and really asking Mikrotik for a native solution for Apple Silicon here not playing cat and mouse with Wine.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: winbox stopped working on my Mac

Thu May 11, 2023 8:29 am

Like I said, Wine 8.7 64bit works fine on M1 MBP. Just had the issue like in this thread, killed all wine processes, installed Wine 8.7 and working good now.
 
quezhou
just joined
Posts: 1
Joined: Sun May 07, 2023 5:20 pm

Re: winbox stopped working on my Mac

Fri May 12, 2023 11:48 am

Strongly demand a not wine macOS version of Winbox.
 
walkingwithlee
just joined
Posts: 6
Joined: Thu Dec 27, 2018 5:37 pm

Re: winbox stopped working on my Mac

Fri May 12, 2023 4:56 pm

Like I said, Wine 8.7 64bit works fine on M1 MBP. Just had the issue like in this thread, killed all wine processes, installed Wine 8.7 and working good now.
I appreciate that it works now but a few weeks ago it didnt. It still needs Rosetta and devel version of Wine.
Had other issues with Wine Devel killing my M1 battery in a few hours.

All I am asking for is a more native solution here and remove the dependancy on Wine
 
optio
Forum Veteran
Forum Veteran
Posts: 945
Joined: Mon Dec 26, 2022 2:57 pm

Re: winbox stopped working on my Mac

Fri May 12, 2023 8:32 pm

For those who want more convenient way to run windows apps using wine directly from MacOS Finder here is AppleScript which can be added into Automator app:
on run {input, parameters}
  if (count of input) > 0 then
    set exePath to POSIX path of item 1 of input as string
    set exeDir to characters 1 thru -((offset of "/" in (reverse of items of exePath as string)) + 1) of exePath as string
    do shell script "nohup bash -lc \"cd '" & exeDir & "' && wine64 '" & exePath & "'\" >/dev/null 2>&1 &"
  end if
  return input
end run
Create Automator app, ex: winrun.app with this script above and assign that app in "Get Info->Open With" for files with .exe extension.
Commands in do shell script... needs to be in PATH env. or add full path for these binaries in script.

I'm running with this Windows applications on Mac for a long time, its great for small programs like Winbox.
 
sabirrao33
just joined
Posts: 1
Joined: Wed May 24, 2023 11:39 am

Re: winbox stopped working on my Mac

Wed May 24, 2023 11:43 am

This may be a dll error and can be solved by downloading ws2_32.dll file from the website and installing it in your system.
 
User avatar
thanpolas
just joined
Topic Author
Posts: 13
Joined: Wed May 11, 2022 9:22 pm
Location: Greece
Contact:

Re: winbox stopped working on my Mac

Wed May 24, 2023 12:56 pm

I found the solution on a reddit comment:

You’ll need to use wine-devel as macOS Ventura 13.3 increased the size of some dylibs this screwed with how preloader works, this issue was already resolved in wine-devel see Bugzilla 54420
 
optio
Forum Veteran
Forum Veteran
Posts: 945
Joined: Mon Dec 26, 2022 2:57 pm

Re: winbox stopped working on my Mac

Wed May 24, 2023 6:31 pm

I found the solution on a reddit comment:

You’ll need to use wine-devel as macOS Ventura 13.3 increased the size of some dylibs this screwed with how preloader works, this issue was already resolved in wine-devel see Bugzilla 54420
I use Codeweavers wine mod., https://github.com/Gcenx/winecx, builds from https://github.com/Gcenx/WineskinServer, never had these problems on macOS.
$ wine --version
wine-7.7 (WineskinCX 22.0.1)
Last edited by optio on Wed May 24, 2023 6:36 pm, edited 1 time in total.
 
optio
Forum Veteran
Forum Veteran
Posts: 945
Joined: Mon Dec 26, 2022 2:57 pm

Re: winbox stopped working on my Mac

Wed May 24, 2023 6:34 pm

<unable to delete>

Who is online

Users browsing this forum: anav, East2, parm, sindy and 30 guests