wol: Examples

 
 Examples
 ********
 
 `wol 00:4F:49:07:0B:5F 00:4F:50:06:12:4F'
      Sends packets addressed to 255.255.255.255:40000 and is intended
      to wake up the machines with hardware addresses 00:4F:49:07:0B:5F
      and 00:4F:50:06:12:4F.
 
 `wol --host=192.168.3.255 -p 69 00:4F:49:07:0B:5F'
      Sends packet addressed to 192.168.3.255:69 and is intended to wake
      up the NIC with hardware address 00:4F:49:07:0B:5F.
 
 `wol --passwd=09-e6-f5-f3-dc-4e 00:4F:49:07:0B:5F'
      Sends packet addressed to 255.255.255.255:40000 with SecureON
      password 09-e6-f5-f3-dc-4e.
 
 `wol --passwd beblebroox'
      Prompts you for a SecureON password and looks up your `ethers'
      file for the ethernet address of host beblebroox.
 
 `wol -f /path/to/my/ethernet/addresses'
      Read hardware addresses and corresponding IP addresses/hostnames
      from file `/path/to/my/ethernet/addresses'.
 
      File looks like:
 
           # comments
           MAC-ADDRESS  IP-ADDRESS
           MAC-ADDRESS  HOSTNAME
           MAC-ADDRESS  IP-ADDRESS:port
           # even more comments
           MAC-ADDRESS  IP-ADDRESS:port	SecureON-password
 
 `wol-dhcpdconf < /etc/dhcpd.conf | wol -'
      `wol-dhcpdconf' filters MAC addresses and corresponding IP
      addresses/hostnames from `/etc/dhcpd.conf' (config file of ISC
      dhcpd) and outputs it in macfile format (native wol format). `wol'
      sends the corresponding Magic Packets.
 
      Valid dhcp entries:
 
           host zaphod
           {
             hardware ethernet 11:ab:e3:5f:7f:8c;
             fixed-address 10.0.0.1;
           }
           
           host marvin
           {
             hardware ethernet 22:ba:3e:f5:f7:c8;
             fixed-address marvin.is.depp.at;
           }
 
      `wol-dhcpdconf' will then generate following output:
 
           11:ab:e3:5f:7f:8c 10.0.0.1
           22:ba:3e:f5:f7:c8 marvin.is.depp.at
 
 `wol-bootptab < /etc/bootptab | wol -'
      `wol-bootptab' filters MAC addresses and corresponding IP
      addresses/hostnames from `/etc/bootptab' (config file of bootpc)
      and outputs it in macfile format (native wol format). `wol' sends
      the corresponding Magic Packets.
 
      Valid bootp entries:
 
           xterm1:ha=0x00e4ff76553e:ht=ethernet:bf=vmlinuz:ip=xterm1:tc=.default:
           
           xterm2:ha=0x00e5ee6744e3:ht=ethernet:bf=vmlinuz:ip=10.0.0.25:tc=.default:
 
      `wol-bootptab' will then generate following output:
 
           00:e4:ff:76:55:3e xterm1
           00:e5:ee:67:44:e3 10.0.0.25