m (typos) |
|||
Line 3: | Line 3: | ||
− | The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" | + | The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" event. To do so, it needs the MAC address for the machine. |
=Config example= | =Config example= | ||
Line 22: | Line 22: | ||
host=192.168.1.1 | host=192.168.1.1 | ||
− | N.B. Some wiki formatting errors here - the DCErouter and test parts should be | + | N.B. Some wiki formatting errors here - the DCErouter and test parts should be embraced 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. | 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. |
The wake_on_lan device controller sends a WOL package to a computer on the local LAN when the device receives an "on" event. To do so, it needs the MAC address 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 embraced 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.