moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
10.34k stars 603 forks source link

IOS devices not sending WOL packet over the Broadcast IP (255.255.255.255) #1264

Open ETHREAL1 opened 5 months ago

ETHREAL1 commented 5 months ago

When using a V Switch on the host system the host system does not always respond to WOL on there host IP, But will if its over the broadcast IP.

Send the WOL magic packet over the last known Host IP as well as the broadcast IP.

Manually defining the saved IP of a host and or the IP WOL will be sent over for a host.

Hyper-V V switch breaks WOL if its not sent over the broadcast IP.

cgutman commented 5 months ago

It looks like we do already: https://github.com/moonlight-stream/moonlight-qt/blob/4aa2b8570c18a71b00da5751c10ff71b2fa5c8b1/app/backend/nvcomputer.cpp#L261

ETHREAL1 commented 5 months ago

It looks like we do already:

https://github.com/moonlight-stream/moonlight-qt/blob/4aa2b8570c18a71b00da5751c10ff71b2fa5c8b1/app/backend/nvcomputer.cpp#L261

That is odd, when I use another tool to manually send the WOL packet over the broadcast IP the system wakes every time. But it will not wake from moonlight. I will try to grab a Wireshark when I can and try to see what’s going on. With that said; Screenshot 2024-04-27 at 4 35 10 PM

ETHREAL1 commented 5 months ago

It looks like we do already:

https://github.com/moonlight-stream/moonlight-qt/blob/4aa2b8570c18a71b00da5751c10ff71b2fa5c8b1/app/backend/nvcomputer.cpp#L261

Ya using Wireshark I can see that Moonlight is not at any point sending the WOL packet over the broadcast IP as you can see here; image and here you can see my other tool that does wake the system using the broadcast IP; image

cgutman commented 5 months ago

What OS are you running? I see them here on my Linux box.

image

ETHREAL1 commented 5 months ago

What OS are you running? I see them here on my Linux box.

image

Mmmm yes, it seems to be limited to Apple IOS esk devices. Windows 10 laptop and Linux laptop both work. But iPhone, iPad, and Apple TV do not.

joetessy commented 4 months ago

I have also been experiencing the same issue, as I am able to use WOL successfully from quest 3 and macOS device, but not my iOS or iPadOS devices.