Wake on lan

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
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" 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" 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 embaced with double square brackets (i.e. two [ before and two ] after)
+
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.

Latest revision as of 03:08, 24 February 2015

[edit] 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" event. To do so, it needs the MAC address for the machine.

[edit] Config example

/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.

Personal tools