Wake on lan

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "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. ...")
 
m (typos)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
 
 +
== 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.
  
 
=Config example=
 
=Config example=
Line 5: Line 9:
 
  [wake_on_lan]
 
  [wake_on_lan]
 
  debug=false
 
  debug=false
 +
polltime=300
 
   
 
   
 
  [Computers]
 
  [Computers]
 
         [[DCErouter]]
 
         [[DCErouter]]
 
         name=DCErouter
 
         name=DCErouter
         mac=01:14:DD:D1:B9:5D  
+
         mac=01:14:DD:D1:B9:5D
 +
        host=dcerouter
 
   
 
   
 
         [[Test]]
 
         [[Test]]
 
         name=test
 
         name=test
 
         mac=00:01:02:03:04:FF
 
         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)
  
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.

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