![]() Again, you can find out more about the feature here. The computer can be woken up by sending it a magic packet from another device on the network. With wake-on-LAN enabled, your computer will “listen” for a “magic packet” containing its MAC address while it is in sleep mode. Great for remotely managing a computer, so you can access a computer that might be across the room or upstairs.Energy efficiency, you will see a reduction in your utility bills since you don’t have to keep your system on all the time.On-demand access to files and resources on a network – you don’t have to keep a computer turned all the while.I can now shutdown and startup Kodi from the app.Just to give you a quick overview of why you would find this useful: If you are using the Kodi Remote Control app on the iPad or iPhone, you must supply the MAC address (or: HWaddr) of your NIC in the setup. You can then disconnect safely from the SSH session and the remote machine will suspend at the set time.Ĥ.3 Using the Kodi remote control iOS appĬommands to shutdown systems often work best when issuing them against MAC addresses. To suspend the remote machine from within an SSH session set the suspend command to run several minutes in the future: echo 'pm-suspend' | sudo at now + 3 minutes 4.2 Suspend or Hibernate from command line You will now have two new commands (aliases) available for use from the command line the first alias htpcwol simple wakes the host up remotely and the second one htpcssh also wakes it up but then creates an SSH session to the remote machine.Īliases are a huge time saver if you use the command line for remote access often and there are many examples on the internet. Save and exit, then run the following to reload it (normally loaded automatically at startup): Open the file in your preferred text editor and scroll to the bottom of the file, then add one or more of the lines below, depending on what you need to do.Īlias htpcwol="powerwake xbmc-hostname.local"Īlias htpcssh="powerwake xbmc-hostname.local ssh " ![]() bashrc file, found in your user's home directory. One way is to include aliases to it in your. You can make it even easier to run the above application from the command line or other scripts. If everything goes well, as described above, you should now be seeing the machine in the other room booting up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |