I just had the problem again, that my computer doesn't respond to WOL MagicPacket™. The thing todo on Linux is as follows:
# Run ethtool on your network interface
ethtool enp3s0
Have a look for
Supports Wake-on: pumbg
Wake-on: d
whereas these flags "pumbg" mean (taken from man ethtool):
p Wake on PHY activity
u Wake on unicast messages
m Wake on multicast messages
b Wake on broadcast messages
a Wake on ARP
g Wake on MagicPacket™
s Enable SecureOn™ password for MagicPacket™
d Disable (wake on nothing). This option clears all previous
options.
Then a simple
ethtool -s enp3s0 wol g
reactivates proper WOL again.
The reason by the way in my case was that I had installed Windows 7 and it seems this disables this by default somewhere in the driver settings. I did had this problem a long while back and already had done some investigations. It drove me mad that time.