I'm using Ubuntu 14.04.1 on an ASROCK H81M-ITX motherboard. I'm pretty sure I have the BIOS configured correctly for wake-on-lan. I read this forum post about what you need to do from the ubuntu side to make WOL work.
But I get this error when trying to enable WOL:
sudo ethtool -s eth0 wol g
Cannot get current wake-on-lan settings: Operation not supported
not setting wol
Here's the ethtool dump for eth0. (What is the meaning of the wol in the ouptut?)
$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Current message level: 0x000060e4 (24804)
link ifup rx_err tx_err hw wol
Link detected: yes
The manual for the H81M-ITX has two configuration settings that refer to waking from a lan:
Boot From Onboard LAN: Allow the system to be waked up by the onboard LAN.
PCIE Device Power On: Allow the system to be waked up by a PCIE device and enable wake on LAN.
I'm actually using the onboard LAN, but I have both enabled anyway.
When I shutdown, I'm using:
$sudo shutdown -P now
After the shutdown, the link light goes off for the LAN connection on both the motherboard, and at the hub where it's connected. It appears to have no power. Do I need to shutdown in a different way to preserve power to the ethernet port?
Here are all the BIOS configuration settings that I found that had to do with sleep states (power saving). These are their current settings which they were preset at the factory:
- CPU C States Support:
Auto
- Enhanced Halt State (C1E):
Auto
- CPU C3 State Support:
Auto
- CPU C6 State Support:
Auto
- CPU C7 State Support:
Auto
- Package C State Support:
Disabled
Each of these 6 configuration items have 3 possible settings: auto, enabled and disabled. The last item (which is the only one that's disabled) has a description, "Enable CPU, PCIe, Memory, Graphics C State Suppport for power saving." Does anything here look amiss?