Wake on LAN Any Computer Over Wireless Network

Introduction: Wake on LAN Any Computer Over Wireless Network

This tutorial is no longer up to date due to changes in the Raspbpian image. Please follow the updated tutorial here:


WOL is present nearly on all Ethernet ports nowadays. This isn't the truth for the WIFI cards, not as common and more on the expensive side.

Using Raspberry PI, wireless adapter and Ethernet cable you can create the WOL server and wake your pc up over the network regardless of how it is hooked up to the network.


  • Raspberry PI
  • Ethernet cable
  • Wi-Fi adapter for R PI

It is a simple project and requires only a basic knowledge to follow.

Step 1: Connect Everything.

Your Raspberry should be connected via Ethernet to the PC you want to wake up, Wifi adapter should be connected to R PI as well and linked to your WIFI.

You will be asked to modify few files on the Raspberry to make this work, and set up the local connection with your pc.

Lets start with a Raspberry:

Install wakeonlan sudo apt-get install wakeonlan
Navigate to /etc/network/interfaces sudo nano /etc/network/interfaces
Add the configuration from interfaces.txt changing your WIFI information. This will assure that the RPI is using WIFI adapter for network address and Ethernet for LAN connectivity with your PC
Reboot your RPI

Step 2: On Your PC

On your PC go to networks.

You will need enable WOL, save your PC's Mac address, and configure your IPv4 settings.

Enable your WOL in power management settings on Windows, then go to the network card configuration and enable WOL support. If you are unable to see WOL settings you may want to go to BIOS to enable it.

Set your IPv4 to:

  • IP:
  • Subnet mask:
  • Default gateway:

When this is all done, reboot your PC and RPI.

Step 3: Wake Up!

To wake up your PC from sleep - you will need to send an SSH command to your RPI (you can do this in multiple ways - check my you youtube channel for issuing commands like this from mobile)

To wake up your PC use the following SSH command (replace underlined bit with your mac address):

wakeonlan -i aa:bb:cc:dd:ee:ff:gg:hh

And there you go! You have additional superpowers over your pc!

Hack Your Day Contest

Participated in the
Hack Your Day Contest

Raspberry Pi Contest 2016

Participated in the
Raspberry Pi Contest 2016

Be the First to Share


    • Back to School: Student Design Challenge

      Back to School: Student Design Challenge
    • Teach With Tinkercad Contest

      Teach With Tinkercad Contest
    • Fried Food Challenge

      Fried Food Challenge



    5 years ago

    After I changed the interfaces file in my RPI I couldn't connect to my wifi. Can you please help me?


    6 years ago

    what wireless adapter did you use , it is the mini adapter that is shown in the image if so what wifi driver does it use many mini wireless adapters are not supported by the pi's software? so what type of adapter is that ,


    Reply 6 years ago

    The adapter is this
    :Tontec 150Mbps 11n USB Wifi Dongle Adapter for Raspberry Pi/Windows /Mac OS https://www.amazon.co.uk/dp/B010AKMF3Y/ref=cm_sw_r_other_awd_DMe2wbJ9T6XDY

    This should work with ANY compatible wifi adapter.
    I think only noobs software has no wifi support enabled and the driver was installed automatically. (do update and upgrade then reboot your pi)

    Go to pi forums people often list what wifi adapter worked for them. Any of these should work great