Script to wake up a Apple computer via network
usage: wake-up-my-mac [-h|--help] [-C|--default] [-c|--configFile "<value>"]
[-m|--macAddress "<value>"] [-i|--ipAddress "<value>"]
[-H|--host "<value>"] [-p|--port <integer>] [-w|--wait
<integer>] [-d|--debug] [-v|--version]
Script to send a wake up signal to a computer ๐
Arguments:
-h --help Print help information
-C --default Use the default config file /usr/local/etc/wake/wake.conf.
Default: false
-c --configFile Configuration file to be use
-m --macAddress The MAC address of the computer, can not be use with the -c
flag
-i --ipAddress The IP address of the computer, can not be use with the -c
flag
-H --host The hostname of the computer, required with the -c flag
-p --port Computer network port to send the wake up signal. Default:
80
-w --wait How many seconds to wait for the computer to be awake.
Default: 20
-d --debug Enable some debug output. Default: false
-v --version Show version
- only for the Go version
- see an example under the example directory
- I use this with my Apple computers, but not sure is common enough that it will work with any other computer
- Support of IPv6 not tested