|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2023-01-25 (9 days ago) ||Not yet rated by the users||Total: 395 This week: 1||All time: 6,571 This week: 291|
This class can send wake on LAN packet to wake up computer.
It takes IP the MAC address of the target machine and sends a wake on LAN magic packet as a UDP broadcast packet to port 9 by default.
If the host name of is given as parameter, the class can resolve it to use the IP address.
The target machine must have the wake on LAN featured enabled in the BIOS, which is usually disabled by default in most computers.
|Wake on LAN is a protocol used to send a local network message to a computer that may have been put asleep for being inactive to save energy.
This class can send network packets to wake sleeping computers on the same network using the Wake on LAN protocol.
Wake-on-LAN (WoL) is an Ethernet computer networking standard that allows a computer to be turned on or awakened by a network message.
Example PHP usage:
/ Send WOL package
* @param string $addr - IP address
* @param string $mac - Media access control address (MAC)
* @param integer $port - Port number at which the data will be sent
* @return boolean
* boolean send ( string $addr , string $mac [, integer $port = 9 ] )
PHP_WOL::send('192.168.1.2', '01:23:45:67:89:ab', 9);
Wake On LAN is usually disabled by default in most PCs, enable it in your BIOS.
Configure router in order to work over internet
Setup port forwarding eg. 192.168.1.255 (usualy port 9 or 7), protocol UDP.
Install and configure earthquake package.
sudo aptitude install etherwake
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.