wake on lan

LinuxでWakeup on lan
とりあえずdebianで検索

# apt-cache  search wake
emacs-goodies-el - Miscellaneous add-ons for Emacs
etherwake - A little tool to send magic Wake-on-LAN packets
idswakeup - A tool for testing network intrusion detection systems.
xmms-alarm - Xmms General plugin for using xmms as an alarm clock.
libmcrypt-dev - De-/Encryption Library development files
libmcrypt4 - De-/Encryption Library

なんとなくetherwakeを使ってみる

# ether-wake -u
usage: ether-wake [-i ] [-p aa:bb:cc:dd[:ee:ff]] 00:11:22:33:44:55

        This program generates and transmits a Wake-On-LAN (WOL) "Magic Packet",
        used for restarting machines that have been soft-powered-down
        (ACPI D3-warm state).  It currently generates the standard AMD Magic Packet
        format, with an optional password appended.

        The single required parameter is the Ethernet MAC (station) address
        of the machine to wake.  This is typically retrieved with the 'arp'
        program while the target machine is awake.

        Options:
                -b      Send wake-up packet to the broadcast address.
                -D      Increase the debug level.
                -i ifname       Use interface IFNAME instead of the default 'eth0'.
                -p          Append the four or six byte password PW to the packet.
                                        A password is only required for a few adapter types.
                                        The password may be specified in ethernet hex format
                                        or dotted decimal (Internet address)
                -p 00:22:44:66:88:aa
                -p 192.168.1.1

ほう簡単そうだ

#/usr/sbin/ether-wake -i eth1 00:02:B3:XX:XX:XX

動いた(^ρ^)


Windowsからはこちら
http://www.forest.impress.co.jp/article/2003/04/23/okiniiri.html