Wake On Lan

Posted by ALonon in Linux

With two simple application you can open your computer via lan.

Firstly (under ubuntu)

sudo apt-get install ethtool

Control your ethernet card is supporting wake on lan or not.

sudo ethtool eth0

if sth like that in output:

Supports Wake-on: pumbg

It’s ok.Than learn your mac address and write it somewhere.

ifconfig | grep HWaddr

Configure ethtool than shutdown your computer.

ethtool ­s eth0 wol g

To open your computer,  use a computer with same lan. Firstly install wakeonlan ( a simple program )

sudo apt-get install wakeonlan

And than open your comptuer

wakeonlan XX:XX:XX:XX:XX:XX

To disable it

sudo ethtool -s eth0 autoneg off

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>