mengshi Posted July 21, 2022 Share Posted July 21, 2022 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? 1 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/ Share on other sites More sharing options...
eSaF Posted July 21, 2022 Share Posted July 21, 2022 Try this link - https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwj5maSu9on5AhXkoVwKHSWvC0YQFnoECAcQAQ&url=https%3A%2F%2Fwww.maketecheasier.com%2Fwirelessly-wake-up-mac-using-iphone%2F&usg=AOvVaw32MRszhW5FCH9nWvPIzTIw 1 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789393 Share on other sites More sharing options...
mengshi Posted July 21, 2022 Author Share Posted July 21, 2022 (edited) 5 hours ago, eSaF said: Try this link - https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwj5maSu9on5AhXkoVwKHSWvC0YQFnoECAcQAQ&url=https%3A%2F%2Fwww.maketecheasier.com%2Fwirelessly-wake-up-mac-using-iphone%2F&usg=AOvVaw32MRszhW5FCH9nWvPIzTIw 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 July 21, 2022 by mengshi Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789409 Share on other sites More sharing options...
Guest ricoc90 Posted July 21, 2022 Share Posted July 21, 2022 (edited) 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 July 21, 2022 by ricoc90 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789417 Share on other sites More sharing options...
mengshi Posted July 21, 2022 Author Share Posted July 21, 2022 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 https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789422 Share on other sites More sharing options...
Guest ricoc90 Posted July 21, 2022 Share Posted July 21, 2022 Same deal:https://github.com/Mieze/RTL8111_driver_for_OS_X/blob/master/RealtekRTL8111/RealtekRTL8111.cpp#L91 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789423 Share on other sites More sharing options...
mengshi Posted July 22, 2022 Author Share Posted July 22, 2022 5 hours ago, ricoc90 said: Same deal:https://github.com/Mieze/RTL8111_driver_for_OS_X/blob/master/RealtekRTL8111/RealtekRTL8111.cpp#L91 Can compile for me? Thx Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789452 Share on other sites More sharing options...
eSaF Posted July 22, 2022 Share Posted July 22, 2022 36 minutes ago, mengshi said: Can compile for me? Thx Is this what you're asking for? RealtekRTL8111-V2.4.2.zip Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789454 Share on other sites More sharing options...
mengshi Posted July 22, 2022 Author Share Posted July 22, 2022 14 minutes ago, eSaF said: Is this what you're asking for? RealtekRTL8111-V2.4.2.zip 302.45 kB · 0 downloads 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 https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789455 Share on other sites More sharing options...
Guest ricoc90 Posted July 22, 2022 Share Posted July 22, 2022 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 https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789457 Share on other sites More sharing options...
mengshi Posted July 22, 2022 Author Share Posted July 22, 2022 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 https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789459 Share on other sites More sharing options...
Guest ricoc90 Posted July 22, 2022 Share Posted July 22, 2022 (edited) @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 Edited July 22, 2022 by ricoc90 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789499 Share on other sites More sharing options...
mengshi Posted July 23, 2022 Author Share Posted July 23, 2022 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. Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789540 Share on other sites More sharing options...
Guest ricoc90 Posted July 23, 2022 Share Posted July 23, 2022 (edited) 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 Edited July 23, 2022 by ricoc90 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789541 Share on other sites More sharing options...
mengshi Posted July 25, 2022 Author Share Posted July 25, 2022 Everything seems to work well now. Put my hackintosh to sleep over the weekend and it woke up with WOL. 1 Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2789726 Share on other sites More sharing options...
Rastafabi Posted May 9, 2023 Share Posted May 9, 2023 Although this is an old thread I'd like to add my insight, which might end up to be useful to some. I'm on Ventura but this shouldn't matter. You can find my observations here in this post and in the following conversation between @deeveedee and me. Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2804490 Share on other sites More sharing options...
deeveedee Posted May 10, 2023 Share Posted May 10, 2023 (edited) The WOL comments in this post may be of interest. In this post, WOL is working with Acidanthera IntelMausi.kext 1.0.7, boot-arg -mausiwol and womp 1, hibernatemode 25. Edited May 10, 2023 by deeveedee Link to comment https://www.insanelymac.com/forum/topic/352684-wake-on-lan-monterrey/#findComment-2804503 Share on other sites More sharing options...
Recommended Posts