config 'etherwake' 'setup'
- # interface, defaults to 'eth0'
- # -i <ifname>
- option 'interface' ''
+ # interface to use, defaults to 'eth0'
+ #option 'interface' 'eth0'
# send wake-up packet to the broadcast address, defaults to off
- # -b
- option 'broadcast' 'off'
+ #option 'broadcast' 'off'
config 'target'
# name for the target
- option 'name' 'example'
- # mac address to wake up
- option 'mac' '11:22:33:44:55:66'
- # password in ethernet hex format
- option 'password' 'AA:BB:CC:DD:EE:FF'
+ #option 'name' 'example'
+ # mac address of the machine to wake up
+ #option 'mac' '00:11:22:33:44:55'
+ # (optional) 6-byte password in ethernet hex format
+ #option 'password' 'aa:bb:cc:dd:ee:ff'
+ # (optional) 4-byte password in dotted decimal format
+ #option 'password' '170.187.204.221'
# wake up on system start, defaults to off
- option 'wakeonboot' 'off'
-
-# To add a new target use:
-# uci add etherwake target
-# uci set etherwake.@target[-1].name=example
-# uci set etherwake.@target[-1].mac=11:22:33:44:55:66
-# uci set etherwake.@target[-1].password=AABBCCDDEEFF
-# uci set etherwake.@target[-1].wakeonboot=off
+ #option 'wakeonboot' 'off'