wakey
v2.0.2
Published
wakes up computer(s) on LAN, keeps a list of computers handy
Downloads
10
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 ...