Difference between revisions of "Enabling WOL"
From Amahi Wiki
m |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | To enable Wake-On-Lan (WOL) on your | + | To enable Wake-On-Lan (WOL) on your HDA |
1. Enable WOL in the BIOS | 1. Enable WOL in the BIOS | ||
Line 9: | Line 9: | ||
The output will look similar to this: | The output will look similar to this: | ||
− | + | {{code| | |
− | [root@localhost ~]# ethtool eth0 | + | [root@localhost ~]# ethtool eth0 |
− | Settings for eth0: | + | Settings for eth0: |
− | Supported ports: [ TP MII ] | + | Supported ports: [ TP MII ] |
− | Supported link modes: 10baseT/Half 10baseT/Full | + | Supported link modes: 10baseT/Half 10baseT/Full |
− | 100baseT/Half 100baseT/Full | + | 100baseT/Half 100baseT/Full |
− | 1000baseT/Half 1000baseT/Full | + | 1000baseT/Half 1000baseT/Full |
− | Supports auto-negotiation: Yes | + | Supports auto-negotiation: Yes |
− | Advertised link modes: 10baseT/Half 10baseT/Full | + | Advertised link modes: 10baseT/Half 10baseT/Full |
− | 100baseT/Half 100baseT/Full | + | 100baseT/Half 100baseT/Full |
− | 1000baseT/Half 1000baseT/Full | + | 1000baseT/Half 1000baseT/Full |
− | Advertised auto-negotiation: Yes | + | Advertised auto-negotiation: Yes |
− | Speed: 1000Mb/s | + | Speed: 1000Mb/s |
− | Duplex: Full | + | Duplex: Full |
− | Port: MII | + | Port: MII |
− | PHYAD: 0 | + | PHYAD: 0 |
− | Transceiver: internal | + | Transceiver: internal |
− | Auto-negotiation: on | + | Auto-negotiation: on |
− | Supports Wake-on: pumbg | + | Supports Wake-on: pumbg |
− | Wake-on: g | + | Wake-on: g |
− | Current message level: 0x00000033 (51) | + | Current message level: 0x00000033 (51) |
− | Link detected: yes | + | Link detected: yes |
− | + | }} | |
4. Look for a line similar to this: | 4. Look for a line similar to this: | ||
− | + | Wake-on: g | |
+ | |||
This means that WOL by magic packets is enabled on that interface. | This means that WOL by magic packets is enabled on that interface. | ||
If the line is | If the line is | ||
− | |||
− | |||
− | If you don't find any line containing Wake-on at all, then your interface card doesn't support WOL, or the OS cannot detect it. | + | Wake-on: d |
+ | |||
+ | then WOL is disabled. Activate it by running <code>ethtool -s eth0 wol g</code> | ||
+ | |||
+ | If you don't find any line containing Wake-on at all, then your interface card doesn't support WOL, or the OS cannot detect it , or it's not enabled in the BIOS. | ||
Check the ethtool man pages for a full explanation of the Wake-on options | Check the ethtool man pages for a full explanation of the Wake-on options |
Latest revision as of 04:21, 22 October 2011
To enable Wake-On-Lan (WOL) on your HDA
1. Enable WOL in the BIOS
2. Boot Fedora. Open a terminal and execute su
to get root access
3. Assuming your LAN interface is on eth0, run ethtool eth0
The output will look similar to this:
bash code |
---|
[root@localhost ~]# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000033 (51) Link detected: yes
|
4. Look for a line similar to this:
Wake-on: g
This means that WOL by magic packets is enabled on that interface.
If the line is
Wake-on: d
then WOL is disabled. Activate it by running ethtool -s eth0 wol g
If you don't find any line containing Wake-on at all, then your interface card doesn't support WOL, or the OS cannot detect it , or it's not enabled in the BIOS.
Check the ethtool man pages for a full explanation of the Wake-on options
- Note: Some legacy drivers forget the setting during boot. Run
ethtool eth0
again if you suspect this is the case
- Reference: See this link http://www.energystar.gov/index.cfm?c=power_mgt.pr_power_mgt_wol for a general explanation of WOL.