Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4349  / 3 Years ago, sun, october 17, 2021, 5:43:47

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:




  1. Boot From Onboard LAN: Allow the system to be waked up by the onboard LAN.


  2. 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:




  1. CPU C States Support: Auto

  2. Enhanced Halt State (C1E): Auto

  3. CPU C3 State Support: Auto

  4. CPU C6 State Support: Auto

  5. CPU C7 State Support: Auto

  6. 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?


More From » networking

 Answers
2

So a tech support representative from ASROCK was kind enough to research this and found information about this problem. Apparently wake-on-lan support was removed from the Ubuntu drivers for the on-board Qualcomm Atheros ethernet due to some related problem. I don't fully understand the root of the problem, and I'm not too excited about the prospect of trying to patch in older versions of the Atheros drivers to try to recover this functionality that apparently worked in older releases of Ubuntu. I may try to find a different motherboard that doesn't use an Atheros-based ethernet.



Some references:





I have such a bad reputation, I can only post two active links. I feel so dirty. :) Here's another useful reference :



Bug 61651 - [regression] Wake-on-LAN broken in alx (AR8161)


[#19971] Monday, October 18, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
polcomposte

Total Points: 421
Total Questions: 92
Total Answers: 109

Location: Uzbekistan
Member since Mon, Jul 20, 2020
4 Years ago
polcomposte questions
Wed, Dec 14, 22, 02:45, 1 Year ago
Sat, Apr 9, 22, 01:36, 2 Years ago
Mon, Dec 26, 22, 01:52, 1 Year ago
Fri, May 20, 22, 12:03, 2 Years ago
;