Package Exports
- wakey
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wakey) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
command line utility to wake up computer(s) on LAN from sleep. It keeps a list of computers so you don't have to remember the MAC addresses.
Usage
npm install -g wakey to install wakey and make 'wakey' available as a command line tool:
wakey help- displays helpwakey list- list all computer entries saved in the wakey database, which is a JSON file stored at ~/wakey.jsonwakey add <name> <MAC>- adds an entry to the databasewakey delete <name>- deletes an entry from the databasewakey <name>- wakes up a computer
Note
The target computer(s) need to be configured to enable the Wake on LAN feature. This StackExchange page provides some information on how to configure it. https://superuser.com/questions/696894/rdp-wake-on-lan-in-lan-environment
Example
Assume the computer you want to wake up has MAC address of 12:34:56:78:AB:CD, and is already configured to wake on LAN.
# install wakey
npm install -g wakey
# add the target to wakey database
wakey add my-comp1 12:34:56:78:AB:CD
# wake up the target
wakey my-comp1
... wakey sends the wake packet to wake up the computer ...