LinuxでのWOLの設定

http://80286.blog62.fc2.com/blog-entry-37.html

BIOSメニューでNICWOL機能を有効にしておく。

ethtoolのインストール
$ sudo apt-get install ethtool

そして、OSでWOLを有効にしておく。
$ sudo ethtool -s eth0 wol g

起動時にこのコマンドを毎回実行しないといけないらしい。
そこで、以下のようにする。

/etc/network/interfaces

iface eth0 inet dhcp
        post-up ethtool -s eth0 wol g