What Is Wake-on-LAN & How To Enable It?

Wake-on-LAN (certainly abbreviated as WoL) is an industry-standard protocol for waking PCs up from a very low power mode. The definition of “low power mode” has modified a bit over time, but we can also take it to meanwhile the PC is “off” and can access to a power source. The Wake-on-LAN also allows for an additional Wake-on-Wireless-LAN ability as well.

This is useful if you plan to access your PC remotely for some reason. Also, it lets you retain access to your programs or files while keeping the computer in a low-power state to save electricity. Those who use a program such as TeamViewer or NVC. Also, it keeps a game server program or file server available, should probably have the option turned on for the sake of ease or convenience.

Wake-on-LAN on teamviewer

Wake-on-LAN totally depends on two things. The first one is your motherboard. The second one is your network card. Your motherboard is hooked up to an ATX-support power supply, like some PCs in the past decade or so are. Your wireless card or Ethernet is also compatible with this functionality. You don’t want particular software to turn it on.

Why We Prefer Wake-on-LAN

We use it for the following reasons:

  • On-demand access to resources or files on a network – you don’t keep a PC turned all the while.
  • Energy efficiency, you will then view a reduction in your utility bills as you don’t keep your PC on all the time.
  • Best for remotely managing a PC, so that you can access a PC that might be across the upstairs or room.

Working Of Wake-on-LAN:

Wake-on-LAN turned on PCs essentially wait for a “magic packet” to reach that contains the network card’s MAC address in it. However, professional software sends these magic packets. The software is design for any platform, but can also be sent by internet-based websites or routers. The ports used for Wake-on-LAN magic packets are UDP 7 and 9. Well, your PC is actively listening for a packet, some power is feeding your network card. In the end, your laptop’s battery draining quickly, so road warriors should take care to disable this when you want to eke out some additional juice.

WoL working

Well, usually Magic packets sent over the network entirety and include the network broadcast address, subnet information, and the MAC address of the target PC network card, whether wireless or Ethernet.

Requirements:

Your computer might not have all the requirements for this feature that will include the following:

  • Ethernet connection.
  • A P2P network between more than two computers.
  • The PC must be in either Hibernation mode or Sleep for this to work.

Turn On Wake-on-LAN On Your System:

Turn On Wake-on-LAN

On Windows 10:

To turn on Wake-on-LAN in your OS head over to the Start menu and input “Device Manager”. Then open the Device Manager and expand the section of “Network Adapters”. Right-tap on your network card and move to Properties, then tap on the Advanced tab.

Scroll down in the list to find “Wake on Magic Packet” and modify the value to “Enabled.” You can also leave the other “Wake on” settings alone.

Now tap the Power Management tab, and remember that the “Allow this device to wake the computer” and “Only allow a magic packet to wake the computer” boxes are turned on. Then tap OK once done.

Wake-on-LAN Configuration:

To make things quite easy, I found this easy utility i.e Wake-on-LAN which you can download here for free.

This amazing utility needs minimal setup and is really easy to configure.

You need the MAC to address the remote PC that you want to wake up. If you like to find the MAC address, check your PC is connected to your router through a wired Ethernet connection. Disconnect any wireless connections you might have been using.

Head over to the Network and Sharing Center from the Settings menu. From the top-right pane, tap on the Ethernet connection. From the Ethernet Status window, tap Details, and then you’ll view the physical MAC address.

After installing or downloading Wake-on-LAN, just launch the utility and choose File > New Host. Now from the Display Properties tab, input the name of the system and a group name if you want to.

Choose Wake Up tab and input the following information:

  • Remote machine MAC Address
  • Choose Broadcast IP
  • For broadcast leave the default.
  • Input the machine hostname for FQDN/IP – you can also find this information for the remote machine at the bottom of Windows key + X > System > Computer name:
  • Tap in the IPv4 list box and choose your physical Ethernet adapter
  • Then tap OK

Wake up a PC:

From the Wake on LAN utility, right-tap the computer and choose “Wake Up” from the list. That’s all!

In BIOS:

Most older PCs and lots of modern devices have their Wake-on-LAN settings in the BIOS. If you like to enter the BIOS, you want to hit a key whenever you boot your PC—usually, Escape, Delete, F2, or something else. After you successfully enter in, check at the bottom of Advanced Options or Power Management or something of that sort.

On this HP PC BIOS, you can found the setting near the “resume after power failure” option. Some are not so obvious: on my ASUS motherboard, the Wake on LAN option is in the menu system, under “Power on by PCIE/PCI”. It is due to the built-in network controller is behind the PCI controller.

Well, it is not really easy to check the required option, since BIOS menu systems vary so widely. If you’re having any issue, check your PC or motherboard’s manual or do an instant Google search. Make sure that most developers offer PDF models of documentation online.

In macOS

Head over to your System Preferences and choose the Energy Saver. You should the view “Wake for Network Access” or something quite identical. This turns on Wake-on-LAN.

In Linux

Ubuntu is not the good tool that can check to view if your system supports Wake-on-LAN, and can turn it on. Head over to a terminal and install ethtool using the following command:

sudo apt-get install ethtool

You can also check your compatibility after executimng:

sudo ethtool eth0

If your required interface is something else, substitute it for eth0 .

The check the “Supports Wake-on” section. When one of the letters mentioned is g , you can then use magic packets for Wake-on-LAN. To turn on this option, use the given command.

sudo ethtool -s eth0 wol g

This must take care of it. You can also execute the command to check and view if it’s turned on. Look for the “Wake on” section. You should view a g rather than d.

How to Wake Your PC with WoL Magic Packets:

if you want to send out Wake-on-LAN requests, you need the following options available.

Wake Your PC with WoL Magic Packets

Depicus provides the best series of lightweight tools to get the job done. It includes a GUI-based one for command-line-based or one for Windows and one for both macOS or Windows. Wiki.tcl.tk provides a great cross-platform script that deals with the incoming requests.

DD-WRT provides the best WoL support, so if you don’t feel like installing software to do it, you really don’t have to.

Also, lots of apps support Wake-on-LAN within them. For instance, if you want to access your PC from afar using a remote desktop program, you can then wake the sleeping PC using TeamViewer’s built-in “Wake Up” button, that uses Wake-on-LAN.

You might want to tweak other settings in that program for it to work, so head over to the program’s manual for more Wake-on-LAN info.

Wake-on-LAN only works if you send the magic packet from a PC on your existing network. If your program can’t handle the network connections for Wake-on-LAN, you want to use or set up your router to send UDP ports number 7 and 9. It is specifically for the MAC address of the computer you’re connecting to. If you’re unsure how to do this, view our article on forwarding ports from the router. You might also want to use a dynamic DNS address so you don’t want to check your remote PC IP address every time.

Conclusion:

Here’s all about ‘Wake-on-LAN’. I hope you find it helpful. If you want to ask anything more about it then let us know below!

Also Read:

Leave a Reply

Your email address will not be published. Required fields are marked *