Wrighty
Posts: 2
Joined: Fri Feb 23, 2018 11:13 am

Pi 3b Wake On LAN server not working

Fri Feb 23, 2018 11:31 am

I'm trying to use my raspberry pi 3 model B to wake my PC when it is powered off (not in sleep). For a start, is this possible or does my computer have to be in sleep?

So far, i've connected my PC and Pi via ethernet cable however both are connected to the same Wi-Fi network. I've changed the ethernet adapter settings to have three boxes ticked under power management: Allow the computer to turn off this device to save power, allow this device to wake the computer, and only allow a magic packet to wake the computer. I get the feeling the first should be unticked but doing so greys out the other two options.

I have an ASUS Z170 Pro motherboard and I've gone into the BIOS and changed the option Power on by PCI-E/PCI under APM configuration to enabled.

To test Wake On LAN, i've tried sending a command from my rpi using the etherwake terminal command to the mac address i found under the ethernet adapter settings in ipconfig on my PC. No output was returned and my computer remained in an off state.

I would use my wireless NIC to do this but when I go into the adapter settings for it, the option to allow it to wake a computer is greyed out so i assume WOL isn't supported on that.

My aim is to build a website on my web server allowing me to click a button that issues a command on my pi that turns my PC on.

Any help will be greatly appreciated.

User avatar
thagrol
Posts: 3077
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Pi 3b Wake On LAN server not working

Fri Feb 23, 2018 6:16 pm

Is it possible that etherwake is sending the magic packets out on the wrong interface? You'll likely need to make sure that some settings in the WOL monitor match those your using in etherwake. Probably protocol and port.

If the PC's ethernet port is seeing the magic packets, I guess it's going to be a config or driver issue.

Should you be unable to resolve that, have a look here: https://github.com/thagrol/fakewake It's how I got around it when I couldn't get WOL working on one of my PCs.
Arguing with strangers on the internet since 1993.

wh7qq
Posts: 1448
Joined: Thu Oct 09, 2014 2:50 am

Re: Pi 3b Wake On LAN server not working

Sat Feb 24, 2018 12:16 am

I was never able to get WOL to work for me unless and until my PC was in a sleep or suspend mode. They just don't wake up from the dead very well. Also, some BIOS's or UEFI's don't even support it at all. My router runs 23/7 and has a WOL capability (will send out the magic packet) according to a schedule and I wanted to utilize the late night free zone of my satellite ISP. My Intel D2500 board has no such feature.

User avatar
thagrol
Posts: 3077
Joined: Fri Jan 13, 2012 4:41 pm
Location: Darkest Somerset, UK
Contact: Website

Re: Pi 3b Wake On LAN server not working

Sat Feb 24, 2018 1:52 pm

wh7qq wrote:
Sat Feb 24, 2018 12:16 am
I was never able to get WOL to work for me unless and until my PC was in a sleep or suspend mode. They just don't wake up from the dead very well. Also, some BIOS's or UEFI's don't even support it at all. My router runs 23/7 and has a WOL capability (will send out the magic packet) according to a schedule and I wanted to utilize the late night free zone of my satellite ISP. My Intel D2500 board has no such feature.
Yeah, getting WOL working can be tricky. There are a lot of things that need to go right for it to work: BIOIS/UEFI settings, driver, OS settings, etc. That's why I put together the stuff I linked to above.
Arguing with strangers on the internet since 1993.

Return to “Troubleshooting”