Jump to content

Wake-on-lan Monterrey


mengshi
 Share

17 posts in this topic

Recommended Posts

I want to wake my hackintosh running monterey from my iPhone. 

 

I have read up and set everything up as recommended but I still can't wake it up from sleep.

 

- System preference->Energy saver-> Wake for network access

- My BIOS is correct - ErP is disabled

- My router has it correct

- My Mac address is entered into the iOS App

- I have tried port 9;0;7;4343 on the App 

 

none works.

 

My hackintosh can wake and sleep properly from the mouse/keyboard.

 

1. What did I do wrong?

2. How to find out which port is used for WOL on OSX?

 

 

  • Confused 1
Link to comment
Share on other sites

5 hours ago, eSaF said:

 

Done as above and not working. Fing is a nice app...

 

Not sure how to troubleshoot. 

 

Is it an OpenCore thing? https://dortania.github.io/OpenCore-Post-Install/universal/sleep.html#preparations

 

It advises to turn OFF WOL in the BIOS. Mine is NOT turned off and sleep still works...

 

It may be something to do with the Mieze Realtek Ethernet driver. 

Edited by mengshi
Link to comment
Share on other sites

Guest ricoc90
1 hour ago, mengshi said:

It may be something to do with the Mieze Realtek Ethernet driver. 

 

https://github.com/Mieze/LucyRTL8125Ethernet/blob/master/LucyRTL8125Ethernet/LucyRTL8125Ethernet.cpp#L89

        wolCapable = false;
        wolActive = false;

Both needs to be set to true. 

Download the source from Github, change the above and compile. 

Or wait until later today and I can do it for you. Although that still is not a guarantee that it will work, since according to Mieze WoL is untested.

Edited by ricoc90
Link to comment
Share on other sites

18 minutes ago, ricoc90 said:

 

https://github.com/Mieze/LucyRTL8125Ethernet/blob/master/LucyRTL8125Ethernet/LucyRTL8125Ethernet.cpp#L89

        wolCapable = false;
        wolActive = false;

Both needs to be set to true. 

Download the source from Github, change the above and compile. 

Or wait until later today and I can do it for you. Although that still is not a guarantee that it will work, since according to Mieze WoL is untested.

 

 

 

I am using ReaktekRTL8111 by Meize. My Z97 board goes to 1Gbit

Link to comment
Share on other sites

14 minutes ago, eSaF said:

I am already on this but apparently there is something that can be changed as below? I am not sure what the default is....

 

I am already reading on DarkWake bootarg values....may be related

 

6 hours ago, mengshi said:
wolCapable = false;
        wolActive = false;

 

Link to comment
Share on other sites

Guest ricoc90
1 hour ago, mengshi said:

Can compile for me? Thx


Sure thing. Though I don't have access to my hacks right now and I don't have xcode on my Air. Downloading it now but it's incredibly slow, so it'll take a bit

Link to comment
Share on other sites

28 minutes ago, ricoc90 said:


Sure thing. Though I don't have access to my hacks right now and I don't have xcode on my Air. Downloading it now but it's incredibly slow, so it'll take a bit

No problem. Take your time. It is not critical.

 

Link to comment
Share on other sites

10 hours ago, ricoc90 said:

@mengshi Here you go:
RealtekRTL8111.kext-WOL.zip

 

Post the output of this command if it doesn't work:

log show --predicate "processID == 0" --debug

 

 

OK. Will try out later.

 

Same problem as this link (https://www.tonymacx86.com/threads/solved-wol-got-lost-along-the-way.255198/page-2) but the mentioned method does not work. There are a few leftover created by the update process. See below.

image.png

Link to comment
Share on other sites

Guest ricoc90

In your case, where we are standing at this point is that WoL is disabled per default in your RTL8111Ethernet kext. In IntelMausi for example this can be enabled by turning "enableWakeOnAddrMatch" on in its info.plist, as demonstrated by Hervé. However, RTL8111 has no such option (or at least I couldn't find it) and thus you have to do it in code and compile the kext yourself, which I did for you. 

Or actually, I still don't have access to Xcode so I asked @Cyberdevs to compile it :lol:

Edited by ricoc90
Link to comment
Share on other sites

  • 9 months later...
 Share

×
×
  • Create New...