On Friday 01 Jul 2011 16:58:33 RSCL Mumbai wrote:
How can I verify WOL feature ?
Well this thread reminded me of my long lost desire to set up WOL. So heres
what google taught me so far. First enable WOL or whatever its called in your
bios. I have an option called boot on PME
To check whether your NIC supports WOL which i found here , run
assuming eth0 is the desired interface. you may have to install ethtool using
your distributions package manager. heres what i get.
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Supports Wake-on: pumbg
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
according to the link this line "Supports Wake-on: pg" means it supports wake
up by network ring i have pumbg so i assume i do too.
the next step is run
ethtool -s eth0 wol g
this needs to be done every time you shutdown via a initscript or something
depending on your distro. You also need to prevent linux from shutting down
the network chip completely. You'll find instructions for ubuntu here .
Next you need to note down the hardware address of the NIC, And then using the
wakeonlan tool from the remote machine, try and get the desired machine to
boot. The hardware address can be found through ifconfig
wakeonlan <hardware add> (eg wakeonlan 00:16:76:12:64:97)
however i didn't have much luck myself, any pointers will be most welcome.
When the machine shuts down the corresponding light on the router is on so im
assuming the NIC is power on. however when i run wakeonlan 00:16:76:12:64:97
from another machine .. nothing happens.
- Yohan Pereira
"A man can do as he will, but not will as he will" - Schopenhauer