Enabling the wake on lan function. Wake-on-Lan. Remotely turn on your computer

1. You ran out of the house in the morning and forgot to turn on your computer in order to maintain your Torrent rating?
2. You once again ran out of the house, and when you came to work you remembered that you had left on your home PC necessary files? or vice versa.
3. Did your power turn off and your PC, Server, etc... turned off? but do you need them in working order?
4. Any other critical incident that happened to you on the road.
This article will discuss how to help Wake On LAN, which has been present in almost all BIOS since 2002, will turn on your computer over a network or over the Internet.
From another PC or mobile device.

What you need to have

  • ATX motherboard with WOL connector;
  • Network card with WOL support;
  • BIOS with WOL support, also WOL must be enabled;
And,
Magic Packet from AMD, for Windows;
PocketLAN for Windows Mobile;
Wake On Lan for Android;
Maemowol for Nokia N800/900 Maemo;


Power On or (NetScan thanks to Tuxozaur) for iPhone/iPod Touch;

Network Card Configuration

For WOL to work, it is necessary that after turning off the PC, the network card is in the " Standby", as evidenced by the blinking lights on the network card. If everything is in order with this, you can skip further text.

If the lights do not light up, do the following:
Start - Control Panel - Network Connections, Select the active network card, go to its properties, then " Tune".
- If there is an NDIS Version item, - Select “NDIS X” (the default may be Auto), where X is the version of the Network Driver Interface corresponding to your operating system;
- Here you can also enable Wake on Magic Packet

Save the changes, restart the PC, then turn it off and check if the lights on the Network card are on.

Remote work from PC

In order to enable and work remotely from a PC, you need to know the IP and MAC address. The command line will help you with this: ipconfig.exe /all
You can also try to find the MAC from another computer if you are in local network by running the "ping" command and then displaying the ARP table (where the mappings between IP and MAC will be displayed):
ping.exe IP_address
arp.exe -a

If you are using a router redirection needs to be configured broadcast messages on any port to your computer.

WakeOnLan Broadcast
Enable: yes
IP Address: Your internal broadcast address
Protocol: UDP
Private Port: 9
Public Port: 9
Schedule: Always

If you are not using a router, then it’s enough to know your external (dedicated IP) and open port 9 in the firewall. and use WOL from any device, for example an iPhone, after specifying the details of the PC to be turned on.

UPD: Lately I don’t have a Mac at hand, and I can’t check everything myself, so for those who need information on WOL for MAC OSX, read

Wake On Lan (WOL) technology is used to remotely turn on the computer's power via a local network and is implemented in accordance with the provisions of the specification ACPI (Advanced Configuration and Power Interface). This specification is an open standard that defines how software and hardware interact to discover, configure, monitor, and manage connected equipment, power, and cooling. ACPI 1.0, released in the late 1990s, is nearly 400 pages long, while the current specifications are over 1,000 pages long. The ACPI 1.0 specification was adopted in 1996. and turned out to be a rather successful decision, which entailed further development this technology, which led to the appearance in 2000 of the ACPI 2.0 edition, which actually became the industry standard for all manufacturers computer equipment and software.

Currently, the development and support of the ACPI specification is carried out by the international organization UEFI Forum. The section on the ACPI specification contains a complete set of documentation, starting with version ACPI 1.0 and ending with the latest version accepted at the moment (as of English language).

The ACPI specification defines system states designated as Gn - global states, and Sn - sleep states, which correspond to their own level of power consumption in decreasing order. Those. condition S1 corresponds maximum consumption, A S5- minimal.

G0(Working) - normal operation.

G1(Suspend, Sleeping, Sleeping Legacy) - the machine is turned off, but the current system context is saved, operation can be continued without rebooting. For each device, the “degree of information loss” during the process of falling asleep is determined, as well as where the information should be stored and from where it will be read upon awakening, and the time to awaken from one state to another (for example, from sleep to work state). Level of electricity consumption and depth of the “sleep” state Sn are defined as follows:

  • S0 - normal operation.
  • S1 is a state in which all processor caches are reset and processors have stopped executing instructions. However, processor power and random access memory supported; devices that do not indicate that they should remain on may be disabled. The lowest degree of energy saving and the fastest transition to working condition;
  • S2 is a deeper sleep state than S1 when CPU disabled, usually not used in practice;
  • S3 (“Suspend to RAM” (STR) in BIOS, “Standby” in versions prior to Windows XP and some Linux distributions, "Sleep" in Windows Vista and Mac OS X, although the ACPI specifications are only referred to as S3 and Sleep). In the S3 state, random access memory (RAM) continues to receive power and remains virtually the only component consuming power. Since the condition operating system and all applications open documents etc. is stored in RAM, the user can resume work exactly where he left it - the state of RAM when returning from S3 is the same as before entering this mode. (The specification states that S3 is quite similar to S2, only slightly more components are disabled in S3.) S3 has two advantages over S4: the computer returns to a working state faster, and secondly, if running program(open documents, etc.) contains confidential information, then this information will not be forced to be written to disk. However, disk caches can be flushed to disk to prevent data corruption if the system does not wake up, for example due to a power failure;
  • S4 (“Hibernation” in Windows, “Safe Sleep” in Mac OS X, also known as “Suspend to disk”, although the ACPI specification only mentions the term S4) - in this state, the entire contents of RAM are stored in non-volatile memory, such as HDD: State of the operating system, all applications, open documents, etc. This means that after returning from S4, the user can resume work from where it left off, similar to S3 mode. The difference between S4 and S3, besides the additional time it takes to move the contents of RAM to disk and back, is that power outages to the computer in S3 will lead to the loss of all data in RAM, including all unsaved documents, while the computer is in S4 is not affected by this. S4 is quite different from other S states and more closely resembles S1-S3 G2 Soft Off And G3 Mechanical Off. A system in S4 state can also be placed in G3 Mechanical Off state and still remain S4, retaining information so that the operating system and all applications can be restored to state after power is applied. In practice, S4 is the main sleep mode for laptops and mobile devices.

    G2(or sleep state S5, soft-off) - soft (software) shutdown; the system is completely stopped and turned off, but part of the equipment is under standby power supply generated by an ATX standard power supply in the off (but not de-energized) state. Standby voltage from the power supply output +5VStandby (+5VSB) is supplied to that part of the devices that can be used to turn on the power supply to the entire system when certain events occur, such as when a special Ethernet frame (Magic Packet, Wake-On-Lan) is received in the network adapter buffer or a certain key combination is pressed on the keyboard .

    G3(mechanical off) - mechanical shutdown of the system; The ATX power supply is disconnected from the input voltage (220V). The power supply cannot be turned on.

    To transition from one state S1-S4 to another (S5 to S1 for example) are used power management events - PME (Power Management Events)-, most of which are caused by a hardware interrupt from a specific device.

    Principles for implementing remote power supply.

          The most common implementation of remote power supply is the technology Wake On Lan or technology Magic packet. The computer's power is turned on when the network adapter receives a specially crafted Ethernet frame, the contents of which include its hardware address (MAC address). When the computer is turned off (state S5), the network adapter is powered by the standby voltage +5VSB, and upon receiving an Ethernet frame in the data field of which a “magic” packet is detected, it generates a signal to turn on the computer.

    In other words, in order to remotely power up a computer, it must comply with the ACPI specification, in BIOS settings support for the "Wake On Lan" mode must be enabled (usually it is disabled by default) and the network adapter has received a special Ethernet frame, the data field of which contains a sequence of 6 bytes FF and its own MAC address, repeated 16 times. Below is the actual content of an Ethernet frame for remotely powering up a computer.

    The first 6 bytes of the frame contain receiver address, equal FFFFFFFFFFFF, which is commonly called a broadcast address. Then, in the next 6 bytes, the address of the source that sent this frame, in this example, equal to 0015F20016CA. The frame data area, highlighted in red, displays the contents of the magic packet, which is

    – 6 bytes with code FFFFFFFFFFFF

    MAC - address of the computer being turned on, repeated 16 times and, in this example, equal to 00046175F9DA.

    Typically used to turn on power remotely software, which provides broadcasting of a frame with a “magic packet”, received by all computers on the local network, and activation is performed only for the computer whose MAC address matches the address from the contents of the “magic” packet.

        Almost all network adapters and motherboards released after 2001 support remote power-on technology, but there are some technical features:

  • If the motherboard is very old and has a bus PCI specifications up to 2.2 (most models based on Pentium processors II and Pentium III), then it should have a 3-pin “Wake On Lan” connector and the same connector should be on network adapter. They need to be connected special cable included with the adapter. For the case of PCI-E and PCI 2.2 and older buses, such a connection has already been made directly.
  • In settings Modern BIOS motherboards the term "Wake On Lan" is practically not used. Look for a value that is similar in meaning in the settings of the power management section. Such a section may also have different name- "Power Management Setup", "ACPI Configuration", Power, etc.). The enabled parameter may be called, for example, “Wake-Up by PCI-E device”, “Power on by Ethernet Card”, etc.

    Below is an example of the settings of the "Power - APM Configuration" section of AMI BIOS v2.61:

    To enable Wake On Lan mode, you must set the item "Power On By PCI Devices" to "Enabled".

    Meaning of other options:

    Restore on AC Power Loss- behavior of the system when the primary 220V power supply is lost. The value is Power Off - the system will remain off, Power On - the computer will turn on as soon as the power supply is restored.
    Power On By RTC Alarm- turning on the power supply according to the computer’s internal clock (analogous to an alarm clock).
    Power On By External Modes- the power supply will be turned on when incoming call to an external modem connected to serial port.
    Power On By PCIE Devices- allows the computer to be turned on from devices on the PCI-E bus. If your network card uses PCI-E bus, and not PCI, then to enable Wake On Lan mode you need to set this option to “Enable”.
    Power On By PS/2 Keyboard- allows turning on power from a keyboard connected to the PS/2 connector

    Some features of power settings for modern UEFI BIOS

    The ability to turn on remote power may be affected by some other BIOS settings specific to computers manufactured later than 2016. Specifically, remote enable fails if the following options are enabled:

    ErP- mode of minimum system power consumption in the off state (the power of the standby power supply is limited to no more than 1W). This mode implemented in accordance with the recommendations of the European Commission to reduce power consumption of devices in standby mode ( E energy- r elated P products* (ErP). If in the BIOS settings, the mode ErP is enabled (Enable), then most of the possibilities for turning on power from peripheral devices are not implemented. To remotely turn on the computer's power via Wake-On-Lan, mode ErP

    EuP- completely similar ErP, but another name derived from E energy U sing P product. To remotely turn on the computer's power via Wake-On-Lan, mode EuP must be disabled.

    CEC 2019 Ready- low power consumption in standby mode and in accordance with the standards developed by the California Energy Commission (CEC 2019) for products with low power and high efficiency. When Enable is enabled, the computer's power consumption when turned off is reduced, and peripheral power-on features do not work. To remotely turn on the computer's power via Wake-On-Lan, mode CEC 2019 Ready must be disabled.

    In some cases, after changing the settings above BIOS settings, to turn on the power supply to the computer via Wake-On-Lan, you may need to completely turn off the primary power supply to the computer (220V).

    IN modern computers Wake-On-Lan technology can provide remote power on not only after software shutdown power supply (Soft-Off), but also immediately after supplying the primary voltage to the power supply (220V). The possibility of such inclusion depends on specific model motherboard.

    Software for remote power on.

    To turn on the power supply to a computer over a local network, software is required to send a Wake-On-Lan packet (Magic Packet) to the computer that is turned on remotely. Today there are a fair number of programs designed for this purpose, ranging from the simplest console utilities, and ending software modules complex industrial enterprise management complexes.

    One of the simplest utilities for remotely turning on power - (download, 32kb)
    Represents a small console program, which allows you to send WOL packets according to command line parameters. It is convenient to use in administration scripts, scheduler tasks, and batch files.

    Command line format:

    broadc.exe

    In the broadcast segment of the local network, the command line format usually looks like this:

    broadc.exe MAC address of the network card 255.255.255.255 67

        Examples of use:

    broadc.exe 0002b3d8b4e6 255.255.255.255 67- turn on the computer whose network card MAC address is 0002b3d8b4e6.

    broadc.exe 0002b3d8b4e6 192.168.65.255 67- similar to the previous example, but the broadcast address is used in the form 192.168.65.255. This address must be used in cases where the computer on which the program is running has more than one network interface and is connected to different subnets. If the broadcast address is 255.255.255.255, the WOL packet will be sent to the first network interface, detected by the program and not being a loopback.

    There is similar software for Linux - wakeonlan- (download, ~5kb)
    By default, the program uses the broadcast address and UDP port 9 (discadrd) to send Magic Packet. Therefore, inside the local network, to turn on the computer, just set the MAC address of the network card in the form 00:01:02:03:04:05
    Command line format:

    wakeonlan MAC address

    You can use the technology for remotely turning on the power supply not only on a local network, but also on the Internet, you just need to take into account the fact that the packet generated by the program must be delivered to the end device, the IP address of which is specified as a parameter, and this device must perform broadcasting WOL packet to the local network to which the remotely turned on computer belongs. To generate a Magic Packet that allows you to remotely turn on a computer on a foreign network, you can use the utility wol.exe-(download, ~5kb) . Although smaller in size than broadc.exe, the program has somewhat greater capabilities. In the command line parameters, you can specify the name of a text file containing a list of MAC addresses of computers to be turned on remotely.

    wol.exe –f=macs.txt- use the contents of the file to turn on the power remotely macs.txt

    Sample content:

    # maclist - mac addresses for wakonlan     - line starting with # is not processed - it is a comment
    00:BA:BE:FA:CE:00 PC1     - Enable by MAC address
    00:11:22:33:44:5A PC2
    195.210.128.3-01:12:23:34:45:67 SERVER.COM     - Enable by IP plus MAC
    0xC0A801F0-12:23:34:45:56:67 HOST.RU     - The same as before. case, but the IP is in hexadecimal.

    Default program wol.exe generates a UDP packet on port 60000. The port number can be changed. Examples:

  • Turn on the computer on the local network with MAC=01:02:03:04:05:06

    wol.exe 01:02:03:04:05:06:

  • Turn on the computer using IP=212.248.111.222 and MAC=00:00:00:00:00:99:

    wol.exe 212.248.111.222-00:00:00:00:00:99

  • Same thing but use port number = 4096:

    wol.exe -p=4096 212.248.111.222-00:00:00:00:00:99

    Please note that the IP address in the command line parameters is not IP - the address of the computer to be turned on, and the address of the enabled and accessible node that ensures the transmission of the packet to the final recipient, i.e. switched off computer. A turned off computer does not have network drivers loaded and its IP address cannot be linked to a MAC address (ARP protocol), and the remote startup program will fail with an IP resolution error. A fairly common reason that Wake On Lan “does not work” is the use of the IP address of the computer being turned on in the parameters of the programs to turn it on.

    Example of using the utility wol.exe to turn on your computer remotely via the Internet.

        The router through which the computer connects to the Internet is configured in such a way that the packet generated by the wol.exe utility and arriving at a specific port (for example, 4009) is sent to the local network with a broadcast MAC address. By default, the network adapter accepts only those Ethernet frames whose destination address matches its own hardware address (its MAC address) or broadcast address (the address is 0xFFFFFFFFFFFF). In the settings of the Zyxel P660RU2 ADSL modem (Network-NAT-Port Forwarding), a rule is created to redirect the received WOL packet to the broadcast address 192.168.1.255:

    Enable command:

    Wol.exe -p=4009 <IP of the ADSL modem>-<MAC address of the computer’s network card>

    For example:

    wol.exe -p=4009 85.140.21.22-00:00:A0:80:87:99

    In addition to command line utilities, there are also programs with a graphical user interface, for example, a miniature and very easy to use utility wakeup.exe-(download, ~78kb) .

    The "Get MAC" button is designed to determine the hardware address of the network adapter, which is used to remotely turn on the computer's power supply.

    The “Wake” button performs remote activation.

    More functional program for remote activation -

    The program is free software with open source source code, has support for the Russian language and, in addition to remote power switching, has a lot additional features, such as turning off computers under Windows control and Linux, monitoring and displaying the contents of WOL packets, scanning the local network and creating a database network devices. There is also a console version of the utility - WakeOnLanC.exe. And among other things, there is a customizable notification system for important events, including via email.

    Some features of the implementation of Wake On Lan by equipment manufacturers.

    Most motherboards are characterized by one feature - remote power-on does not work if the computer has been completely de-energized, for example, when the primary 220V power supply is lost. In this case, to ensure it self-start you can use the BIOS mode setting in the "Power Management Setup" section - "Power on after power fail" or similar in meaning (“After AC Power Lost” - “POWER ON” - the name depends on the version and manufacturer of the BIOS). After restoring the primary power supply to the power supply input, the computer should turn on on its own, without pressing the "Power" button.

        The practice of using Wake On Lan has revealed another point - some computers, when enabling the network switching mode in the BIOS settings, turn on the power supply on their own, without even receiving a frame with the Magic Packet. The reason for this phenomenon is that some network cards (noted by Intel, 3COM) to turn on the power supply over the local network, not only the WOL packet is used, but also other events (Wake on ARP, Wake on Link Change, etc.), and by default, several inclusion criteria are used at once. You need to remove it from the adapter settings (usually using special utility) extra conditions, and everything will work correctly.
        Example, for the Intel(R) PRO/100VE network adapter. Using the Intel(R) PROSet II utility (supplied with the adapter), uncheck all events except “Wake on Magic Packet”:

    After saving the settings, your computer will turn on only when it receives a Magic Packet.

        Sometimes allowing remote power on via local network in the BIOS settings is not enough. This is usually due to features specific type network adapter. I’ll explain using the example of a network card based on the Atheros chipset (controller AR8121/AR8113/AR8114 PCI-E Ethernet Adapter). After setting the mode Power On by PCI-E Device In the BIOS settings of the motherboard, the computer does not turn on the power remotely. In the network connection properties for this adapter there is a button Tune

    In the network adapter properties there is a tab Additionally.

        In this window you can view or change some parameters and operating modes of the selected network card. In particular, by default, modes Wake up after shutdown And Awakening Possibilities installed in No. This is why remote power-on is not possible. After configuring the Wake Mode and Frame Type settings Magic Packet, remote power-on using this network adapter will be performed when a WOL packet is received.

    Determining the MAC address of the network card.

          On LINUX, you can use the arping utility to determine the hardware address:

    Arping < IP address >
    For example:
    arping 192.168.0.1

        On Windows, you can use the arp command to display the contents of the ARP cache on the screen. To ensure that the code is relevant for the required IP address, before the command arp can be done ping, i.e. execute sequentially:

    Ping < IP >
    arp -a
     for example:
    ping 192.168.0.1
    arp -a

    By the way, the same method can be used in LINUX.

        Own The MAC address can be determined using the commands:

    IN LINUX
    ifconfig < interface >    for example - ifconfig eth0

    On Windows
    ipconfig /all

    In Windows XP and higher, you can use console command getmac.exe

  • The ability to turn on a computer over a network, even while on the other side of the world. All you need to remotely start a PC is to know the IP and MAC address (pre-configured router and enabled WOL setting in the BIOS on the computer being turned on).

    How to set up Wake-on-LAN (WOL) on your computer

    First you need to understand whether your PC's motherboard supports Wake on LAN. This can be found in the CMOS BIOS settings in the “Power” section. In AMI BIOS v2.61 firmware, WOL is included in Power settings- APM Configuration. In the item "Power On By PCI Devices" you need to select "Enabled".

    How to find out IP and MAC addresses?

    To find out the IP and MAC addresses, you need to enter command line or in the Start/Run menu, use the command ipconfig.exe /all.
    Physical address: 54-A0-50-39-2F-20 – this is the MAC;
    IPv4 address: 192.168.0.37 (primary) – this is IP;
    IN in this case IP is useless, because the Internet wire is not plugged directly into the computer, but through a router.

    Setting up Wake-on-LAN on a router (router)

    Sometimes a computer may be connected to a network using a router; you need to configure broadband message redirection to your PC. WOL with this type of Internet connection will only work with dedicated Internet access or when using custom routers (DLink, Linksys, etc.).
    In this case, the IP that you specify in the syslab program must be the one that is specified on your router in the wan settings.
    a. Example of setting up a TP-Link router:
    1. Go to the Forwarding->Virtual Servers section.
    2. add a “virtual server”, indicate its IP address and port that will be used to enable it. Typically ports 7 and 9 are used for Wake-On-LAN, but you can also specify any other port (from 1 to 65535). Set the protocol type to UDP or ALL.
    3. Go to IP & MAC Binding->Binding Settings Enable Arp Binding option.
    4.Add new entry for the computer that you will turn on remotely by specifying its IP and MAC addresses. Don't forget to also enable the Bind option for it.

    Wake on LAN technology must be supported by the BIOS and network card. Also, we will need special application, the functions of which allow you to send a WOL packet to a remote PC.

    Thanks to modern advances, you can turn on a remote PC not only from another computer, but also from your phone. It is also necessary to remember that turning on the computer remote mode assumes the activity of the network card - it must receive power in standby mode.

    Preparatory actions

    First of all, you need to configure the BIOS and network adapter to wake up. It doesn’t matter what kind of network it is - built-in or external. Opening main program I/O, let's find the section responsible for power management - Power Management, for example.

    In this section you need to find the wake-up parameters.

    These options may go by different names, including Wake on LAN, PowerOn By PCI Card, WOL from Soft-Off and so on. This option must be enabled.

    It is quite possible that you will need to enable the option in the picture below.

    To be more confident, it's best to familiarize yourself with all the wake-up options in your BIOS. After all, the computer can wake up from the TV tuner if the option to turn on via PCI-Express is enabled, and after pressing any key on the keyboard if the options related to the PS/2 port are enabled. In our case, we need a parameter associated with the PCI bus on which the built-in network controller is located.

    After setting up the BIOS, be sure to check whether the technology being discussed is supported by your Ethernet controller. We will need to enable the reception of the “magic” WOL packet so that the Ethernet controller is configured to wait for it. A WOL packet is a special Ethernet frame consisting of a sequence of bytes containing the MAC address of the network card. Having received such a frame, the Ethernet card generates a signal to wake up the PC.

    So, let's open the network control center.

    Let's open the properties of the network adapter.

    Let's move on to its settings.

    Let's turn it on WOL Package Magic and, if necessary, enable Energy Efficiant Ethernet, Termination Wakeup.

    Let's go to the power management tab, where this configuration should be.

    WakeMeOnLan

    Let's use a small program called Wakmeonlan for our purposes. This application does not require installation. After it starts, you need to scan the local network so that Wakemeonlan finds all network devices.

    It must work on a PC from which a WOL frame will be generated to turn on the remote PC. This is how Wakemeonlan scans:

    If during scanning the application does not detect a disabled this moment computer, then it is possible to add it yourself.

    Let's add another device manually.

    You just need to enter the IP address of this device and its MAC into the form.

    Let's determine the addresses we need, for which we'll launch the command line.

    Let's run ipconfig with the /all switch.

    The second way is to look at the “Adapter Status”.

    Open the Details window.

    Let's find the addresses that interest us.

    By adding required device, update the list.

    As you can see, we already have three devices.

    After adding, you can easily turn it on remotely by clicking the “Wake up Selected Computer” button.

    Let's use TeamViewer

    The preliminary setup will allow you to launch the Wake on LAN function of an application such as TeamViewer. To remotely wake up your PC, you must ensure the following:

    Cable Internet connection.

    The computer is set to one of the modes: hibernation, sleep, or soft shutdown (Start and Shutdown).

    Installed TeamViewer.

    It is very important to disable Fast Startup in operating systems such as Windows 8 and 10. Your instances of TeamViewer must be associated with a program account. In this case, all devices must belong to the same LAN.

    In the application options tab, you need to activate the Wake-on-LAN function and configure the configuration by clicking the button of the same name. By selecting the “Other applications on the same local network” option, add the TeamViewer ID of those devices that are allowed to wake up this computer. To create inclusion conditions using a public IP address, you will have to connect to dynamic DNS, which will also have to be configured on the network router. Let's consider all the steps in order.

    First of all, let's connect all computers to an existing account.

    Warning window about the need to connect to your account.

    Linking using the “Link” button.

    The established connection is displayed at the bottom.

    We will need to configure the Wake on Lan function.

    Check the box for other TeamViewer applications.

    Add the TeamViewer ID whose computer will send the WOL packet.

    You can wake up a remote PC from your account TeamViewer, where all devices linked to it are displayed. You just need to press a button in the form of a power button, which will send a WOL frame to the Ethernet card of the selected electronic device.

    Brief summary

    To turn on your PC remotely from another device, you need to configure the BIOS and Ethernet card. In the BIOS you will need to configure a policy for waking up the PC by a network signal, which is in an active state, provided by standby power. Also, you need to configure the Ethernet controller to receive WOL packets. Will need more special program to generate a WOL packet. Such a program could be, for example, Wakemeonlan or TeamViewer.

    Wake-on-LAN (WoL) is an underrated and underutilized part of the Windows 10 operating system. Unless you're a heavy user windows systems, then you probably won’t be interested in the phrase Wake-on-LAN. This function is associated with a local network connection, which in turn will be of interest to gamers and technical support. In the past, this setting was weak, but today, setting up the Wake-on-LAN feature in Windows 10 does more than it used to. So what is Wake-on-LAN? How can this be useful for ordinary users? And most importantly, how to set it up?

    What is Wake-On-LAN?

    Wake-on-LAN is network standard, allowing the computer to turn on remotely. It has an additional standard called Wake-on-Wireless-LAN (WoWLAN).

    For WoL to work, you need three things:

    • Your computer must be connected to a power source.
    • The computer's motherboard must be ATX compatible. Don't worry, most modern motherboards meet the requirements.
    • The computer's network card (Ethernet or wireless) must be enabled in WoL. WoL support is almost universal.

    Wake-on-LAN is widespread in the computer world. Since support is required at the hardware level, WoL runs on Windows, Mac and Linux computers without any problems. From a Windows perspective, your computer can start from any of the default power states, such as hibernation and sleep, as well as complete shutdown nutrition.

    How does Wake-On-LAN work?

    Wake-on-LAN uses "magic packets"; when the network card detects a packet, it tells the computer to wake itself up. This is why your computer must be connected to a power source, even if it is turned off. WoL-enabled NICs will continue to receive a small charge 24/7 while they scan for "magic packets".

    But what is happening?

    The "magic packet" is sent from the server. There can be many things on the server, for example, specialized software, routers, websites, computers, mobile devices, smart TVs. The server sends the packet throughout your network. The package itself contains important information, including subnet information, network address and most importantly the MAC address of the computer you want to enable. All this information combined into one packet is called a wakeup frame. Your network card is constantly scanning for them.

    Why is Wake-On-LAN useful?

    Now you know what Wake-on-LAN is and how it works. But why is this useful? Why should the average user care about this technology?

    Turn on your computer from anywhere

    It's hard to imagine being on a business trip without forgotten files at home that you can't access remotely. To use your desktop remotely, you will need a remote desktop application that supports Wake-On-LAN. Popular Google Chrome Remote Desktop does not work, but gives such an opportunity.

    Note: The BIOS must support Wakeup-on-PME (power management event). And then you can wake up the computer from the off state.

    How to enable Wake-On-LAN

    Enabling WoL is a two-step process. You need to configure Windows and your computer's BIOS.

    Enabling Wake-On-LAN in Windows

    • To enable Wake-on-LAN in Windows, you need to open the Device Manager application. Click Win+R and write devmgmt.msc.
    • Scroll through the list of devices until you find network adapters. Click " > ", to expand the menu. Now you need to find your network card.


    • If you don't know which one is your network card, type in search windows "System Information".

    • Go to " Components" > "Net" > "Adapter" and on the right, find the product name or type. Remember these values ​​and go back to the device manager.


    • In Device Manager, click on your network adapter right click mouse and select properties. Next, in the new window that appears, go to the tab " Additionally", scroll down the list and find Wake-On-LAN, select value Enabled(included). The name may vary between devices and some will have Wake on magic packet.


    • Next, go to the " Power management" and you should have two items checked there: Allow this device to wake the computer from standby mode And Allow the computer to wake up from standby mode only using a "magic packet". Click OK.

    Enabling Wake-On-LAN in BIOS

    Unfortunately BIOS menu varies between computers and laptops, making it impossible to provide precise instructions. Basically, you need to press a specific key while your computer is booting up. Typically, the buttons are Escape, Delete or F1. Look detailed guide, .

    • In the BIOS menu you need to find the " "Power" and find the entry Wake-on-LAN and enable (Enabled). Don't forget to save the BIOS settings.
    • The tab may also be named Power Management or you can find this function even in Advanced Settings.

    Security implications of Wake on LAN

    Magic packets are sent using the OSI-2 layer. In practice, this means that anyone on the same network as WoL can use your computer to download. In a home environment this is not a significant problem. IN public network this is more problematic. In theory, WoL only allows you to turn on computers. It will not bypass security checks, password screens, or other forms of security. This will also prevent you from turning off your computer again.

    However, there have been cases where attackers used a combination DHCP servers and PXE to boot the machine with its own boot image. This gives them access to any unprotected drives on the local network.