I know this question has been asked several times, but I seem to have a special problem at hand. First, I will explain my setup and my needs. Second, I will try to give an overview of what I have tried so far.
Setup and Network
I have three computers (Win7, all) on my network, one of which is the computer (actually a media server) and the only one facing this issue. One computer and the media server are directly connected to a router (AVM Fritz!Box 7170 with newest firmware), the third computer is connected via PowerLAN<->router. I also have a RasPi directly connected to the router, and two mobile devices which are integrated via WLAN. I used to have my smartphone as the server's remote control (Unified Remote app), but switched to a new wireless mouse/keyboard for convenience during troubleshooting.
I asked several friends for advice after so many things have failed. First of all, the problem is definitely related to the NIC: I went to the Device Manager, turned "Device can turn on computer" off and the server never woke up on his own again. Good thing is: I know it's the NIC. Bad thing is: I want the NIC to wake up the server.
So I unplugged everything and turned on my network devices bit by bit:
- Attached server to PowerLAN (at this stage, it still was connected to it)
- Then turned on the router but w/o internet
- Plugged in the internet
- Turned on my computer with a fresh reboot and connected the computer to the router
- Restarted the Raspberry Pi and connected it to the router
Then, the server went back on. I thought this couldn't be possible as it was a fresh install of Rasbian, unplugged it, powered the server down and it went back on immediately (we are talking of 1-10 secs). So I thought it might be a delay and my computer was responsible, turned that off too, powered the server down again, and it went back on. It then came to my mind that the PowerLAN might be responsible, so I unplugged the connection and put the server directly into the router, with positive result. I turned on all my devices, had the server running a few minutes, then put it down to sleep mode, had a walk, came back and it was still off. Retried, again successfully. So I figured the PowerLAN was responsible. I unplugged all cables, put the server back into the living room, started, put it to sleep mode, and it started again.
Out of despair, I blamed the smartphone remote that might send magic packets to keep it's connection alive, so I bought the wireless keyboard/mouse today. I had a look at powercfg -devicesomethingcommand wake_armed, saw that mouse and keyboard were able to wake the server, disabled that in the Device Manager, put the server to sleep mode, and it went back online immediately.
I've also had a look at the event manager but couldn't find anything suspicious, at least as far as I could tell. powercfg -lastwake returns no useful information, again as far as I can tell, something about an "activation device ".
The problem about google'ing the issue is that most people give the advice to disable the NIC's power-up ability, which I can't accept because that's what I want. Furthermore, I know that WOL works with magic packets as I've tested this with my self-written program sending the packet from my notebook (tested with server and computer, worked both times).
I shall be happy for any recommendations, hints, web sites. Please feel free to tell me what to do even if I have done it already and you feel like I did something wrong or should try more often (about network configuration, turning machines off and on again). Maybe we can find a solution together or find a pattern.