Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wake_on_lan [2022/09/28 06:59] – NIC setup atariwake_on_lan [2026/06/24 12:55] (current) – Added more technical infomation for better understanding WoL in general. grandmabetty
Line 5: Line 5:
 ===== Requirements ===== ===== Requirements =====
  
-On the Batocera machine, the functionality of WoL is dependent on two components supporting it:+The functionality of WoL is dependent on three components supporting it:
   * **BIOS**: The system's BIOS must support WoL (you may have to enable WoL within your system's [[:install_batocera#bios_settings_if_batocera_fails_to_boot|BIOS settings]]).   * **BIOS**: The system's BIOS must support WoL (you may have to enable WoL within your system's [[:install_batocera#bios_settings_if_batocera_fails_to_boot|BIOS settings]]).
   * **NIC**: The system's network adapter must support WoL to stay "awake" while the system is powered off.   * **NIC**: The system's network adapter must support WoL to stay "awake" while the system is powered off.
 +  * **OS**: The OS needs to be capable to tell the according NIC to go to sleep when it shuts down. Since Batocera is based on Linux, it got you covered.
  
 WoL is designed for use with wired Ethernet connections, but there are wireless NICs which may support Wake-on-Wireless (WoW). This article assumes you are using a standard wired connection. WoL is designed for use with wired Ethernet connections, but there are wireless NICs which may support Wake-on-Wireless (WoW). This article assumes you are using a standard wired connection.
Line 27: Line 28:
 When done, save and reboot to apply. When done, save and reboot to apply.
  
-===== Setting up the NIC ===== +<WRAP center round info> 
- +You may be wondering if you also need to enable the Wake-on-LAN feature in the NIC's settings as well. You don't, Batocera will automatically take care of enabling it for you. 
-Just boot up your regular Linux distro and adjust the settings from your drivers. Just kidding, manufacturers never release their tools in usable states for Linux, you'll need Windows. +</WRAP>
- +
-Boot up Windows, then go to **Network and Sharing Center** -> **Change adapter settings** -> right-click on the adapter and go to **Properties** -> **Change** -> **Advanced** tab at the top. +
- +
-Now scroll through the drop-down list and set the following: +
- +
-  * **Shutdown Wake Up** to **Enabled** +
-  * **Wake on Pattern Match** to **Enabled** +
-  * **Wake on Magic Packet** to **Enabled** +
- +
-Next, click on the **Power Management** tab and check **Allow the computer to turn off this device to save power** and **Allow this device to wake the computer**. Leave **Only allow a magic packet to wake the computer** however you want, but if having issues with the system automatically waking up too often then check it too.+
  
 ===== Wake up your Batocera device remotely ===== ===== Wake up your Batocera device remotely =====
Line 123: Line 114:
 The most important value is ''g''. Without it being shown, the NIC does not support WoL at all. The most important value is ''g''. Without it being shown, the NIC does not support WoL at all.
  
-In order to turn on WoL, run the following:+Batocera should automatically turn on the MagicPacket(tm) feature when the connection is established. If that fails, in order to turn on WoL manually run the following:
  
 <code> <code>
Line 137: Line 128:
 ==== Machine will not wake up anymore ==== ==== Machine will not wake up anymore ====
  
-If you were successfully using WoL but suddenly it does not work anymore, a power outage of your Batocera system could be the issue. Since WoL functionality relies on a "sleeping" NIC state issued when shutting down the system, the NIC will not be in "sleeping" state anymore after power outage. Therefore you can only make WoL work again by manually booting and then shutdown the system once.+If you were successfully using WoL but suddenly it does not work anymore, a power outage of your Batocera system could be the issue. Since WoL functionality relies on a "sleeping" NIC state, issued when shutting down the system, the NIC will not be in "sleeping" state anymore after power outage. Therefore you can only make WoL work again by manually booting and then shutdown the system once.
  • wake_on_lan.1664348360.txt.gz
  • Last modified: 4 years ago
  • by atari