WOL for Asus M5A97 built in Realtek Network Adapter

I cant get wake on lan to work for my built in network adapter. Its a ASUS M5A97 motherboard, and the network adapter is a Realtek PCIe GBE.

I have

Shutdown WakeOnLan - Enabled
Wake on Magic Packet - Enabled
Wake on Pattern Match - Enabled
WOL & Shutdown Link Speed - 10 Mbps First

I have set up a magic packet client to listen, and the packet is getting through. I have also checked these in Power Management for the network adapter.

Allow the computer to turn off this device to save power
Allow this device to wake the computer
Allow a magic packet to wake the computer.

Solution 1:

Try to do this (in your BIOS)

Go to Power section -> APM -> set "ErP ready" to "Off"

Then you will see more options

Set "Power on by PME Device" to "On"

Solution 2:

On my M5A97 R2.0:

I found it under the advanced tab, APM menu. See screenshot:

Bios Screenshot