Hallo everyone
I have a very strange and annoying problem.
I have setup my unRAID server to go to S3 sleep sometime after HDD spindown. This worked perfectly until know, all I had to do is sent a magic packet from my windows 7 PC to wake it up.
But now, i see a very strange behavior: my server goes to sleep and immediately wakes up. In order to locate the problem i have done the following:
1. sent the server to S3 then disconnected the ethernet cable: The server stays in S3
2. sent the server to S3 then disconnected the ethernet cable and shut down my pc. I then connected the cable and restarted the pc. I boot to my old windows xp: The server stays in S3
3. same as (2) but start my usual windows 7 64 installation:The server stays in S3 but a little before the logon screen appears, it wakes
I really dont have a clue where the problem is but it seems that somehow the ethernet adapter has started sending magic packets?
Any help is welcome
UPDATE
i found the problem but not a good solution. it's typical. i search for hours for the cause of the problem, then i post in the forum, next minute i stumble upon the problem.
The problem was that the Wake-on property of my server ethernet adapter was changed to pg instead of g. g is for waking on magic packets but p is for waking after any physical activity. i turned it off and it works ok.
the problem is that everytime the server restarts or wakes it goes back to pg. how can i force it everytime to go to p?
UPDATE 2
finally, everything solved
i found out that unmenu user script S3 Sleep was causing the problem. the last line
ethtool -s eth0 wol gp
forces wake on physical activity
just replace it with:
ethtool -s eth0 wol g