(Added device state polling info) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | == Wake on LAN == | ||
+ | |||
+ | |||
The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" even. To do so, it needs the MAC adress for the machine. | The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" even. To do so, it needs the MAC adress for the machine. | ||
The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" even. To do so, it needs the MAC adress for the machine.
/etc/opt/agocontrol/conf.d/wake_on_lan.conf
[wake_on_lan] debug=false polltime=300 [Computers] DCErouter name=DCErouter mac=01:14:DD:D1:B9:5D host=dcerouter Test name=test mac=00:01:02:03:04:FF host=192.168.1.1
N.B. Some wiki formatting errors here - the DCErouter and test parts should be embaced with double square brackets (i.e. two [ before and two ] after)
If a host address (name or IP#) is added, the state of the computer will be monitored and reported as a normal device state (on/off). The polltime variable in the config file controls how often a device state check will be done.