[펌글] 우분투 10.10 에서 WOL(Wake-on-Lan) 기능 사용할 수 있도록 설정하기

By | 7월 1, 2011

- 출처 : http://kuber.posterous.com/enable-wol-wake-on-lan-in-ubuntu-1010 -

Wake on LAN is useful to wake up your computer from sleep by sending a magic packet. Assuming your computer supports WOL (check you bios settings), the following steps should help you get WOL enabled in Ubuntu 10.10.

  1. Install ethtool and wol: sudo apt-get install ethtool wakeonlan
  2. Choose which network interface you want to enable wol (I believe WOL only works for wired network interfaces) on, by running: ifconfig
  3. Enable WOL (for example, on interface eth0): ethtool -s eth0 wol g
  4. To persist (across reboots) these changes you need to put the following lines in file /etc/network/interfaces. 

- Open the file for editing: gksu gedit /etc/network/interfaces

- Add the following lines to the file: 

    post-up /sbin/ethtool -s eth0 wol g
    post-down /sbin/ethtool -s eth0 wol g

    Make sure you get the path of the ethtool right. In my case it was installed in /sbin. To check your path and use that in the two lines above, run: which ethtool.

    Subscribe
    Notify of
    guest
    0 Comments
    Inline Feedbacks
    View all comments