![]() A filename alongside the sol binary (i.e., in the same folder) and named sol.(linux only) A filename under /etc/sleep-on-lan.json (if available on disk).(linux only) A filename under /etc/sol.json (if available on disk).The filename manually configured inside the command line with the -config parameter (if available on disk).Order of priority for configuration filenames are : ConfigurationĪn optional configuration file may be used. You can then easily send any computer running Sleep-On-LAN with an HTTP request, with CURL or anything else : curl, for example.Īll other registered custom commands (per configuration) can be triggered in the same way. (all available endpoints are displayed in the logs of the process when it starts) will output the local state of a remoter server for which IP is provided will output the local state of that server, in order to remotely knows if the server is alive or not sends a wake-on-lan magic packet on the network to the provided mac address remotely sleep this computer through this URL If this HTTP listener is activated, the Sleep-On-Lan process then exposes a few REST services, for example : // index page, just shows local IP / mac Wakeonlan 35:78:7a:87:d9:c4 192.168.255.255 // reversed mac address, will trigger the UDP listener of the sleep-on-lan process and will thus remotely sleep the computer Provided you are using a wake-on-lan script like this one : wake-on-lan python script (available as a debian package for example), you may use : wakeonlan c4:d9:87:7a:78:35 192.168.255.255 // regular mac address, will wake an asleep computer ![]() Thus, the same wake-on-lan tools may be used for both wake and sleep operations (python wake-on-lan script, OpenHab WoL plugin, Android applications, and so on). Just send a regular wake-on-lan command but with a reversed MAC address. Grab the latest windows + linux release or snapshot : Sleep through UDP Written in go, the code shoud run on linux and windows platforms. Executed commands are fully customizable. Additionnaly, it can also be triggered through a REST endpoint (with something like curl). that will listen the same Wake-On-LAN port and send the computer in sleep mode when the reversed MAC address received matches a local address. Technically, you have to run a little daemon (the sleep-on-lan program on your computeri, server, NAS. It works with the exact same magic packet than for Wake-On-LAN, the only difference is that the MAC address has to be written in reverse order. This project allows a windows or linux box to be put into sleep from any other device. At this time, there is not standard to make the opposite and send a computer in sleep mode. All Rights Reserved.Wake-on-LAN is a standard low-level protocol implemented in various hardware. If your Mac sleeps or wakes unexpectedly Still need help? You can consult these articles from Apple in order to solve wake issues: The latest of Remote Desktop is available here. 2 Enable or disable the Power On By PCI-E or WOL (Wake-on-LAN) type power management setting. The solution for this is to re-install ARD, as mentioned in this thread: During boot, an on-screen prompt will often let you know which specific key to press (ex: Esc, Delete, or F1) at boot to enter BIOS or Setup. It is also a known issue that ARD may cause connection issues in some circumstances. Disable the screen saver or the password requirement.Restart the remote Mac with the following Terminal command to bypass the start-up authentication required by FileVault: sudo fdesetup authrestart. ![]() There are a couple of work-arounds available to you: For example, when you turn on FileVault, you need a password to log in when your Mac is in sleep, or after leaving the screen saver.” “To ensure security when you turn on FileVault, other security features are also turned on. Your Mac's FileVault feature could prevent you to connect to your Mac, especially if you find that a user must physically log into the Mac before Screens can connect: Some factors can prevent incoming connections to get through: FileVault and Screen Savers
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |