Enable Wake On LAN (WOL) from terminal command line
What's the command to enable this feature using terminal. I don't have GUI access to my Mac remotely and can only ssh to it remotely.
Any help is appreciated.
Thanks
MacBook Pro
What's the command to enable this feature using terminal. I don't have GUI access to my Mac remotely and can only ssh to it remotely.
Any help is appreciated.
Thanks
MacBook Pro
Hello
You may use pmset(1). Something like the following (when used locally).
#!/bin/bash # temporary change effective until restart # no need to be run as root (not writting to setting file) pmset force -a womp 1
or
#!/bin/bash # permanent change # must be run as root (writing to setting file) sudo pmset -a womp 1
Tested under OS X 10.6.8.
Good luck,
H
Hello
You may use pmset(1). Something like the following (when used locally).
#!/bin/bash # temporary change effective until restart # no need to be run as root (not writting to setting file) pmset force -a womp 1
or
#!/bin/bash # permanent change # must be run as root (writing to setting file) sudo pmset -a womp 1
Tested under OS X 10.6.8.
Good luck,
H
Enable Wake On LAN (WOL) from terminal command line