Listen to Wake Up

Decide which desktop Mac or PC (connected to your wired local area network) that you want to remotely wake from sleep, as you will send it WOL network instructions from the Pi. You will need to know the MAC address of that Mac or PC’s Ethernet adapter port. Just like in the real world, you need to know the correct address of a recipient before you can send them a message.

To determine the MAC address of the Ethernet adapter on a Windows PC, open a Windows Command Prompt window (you can find the shortcut for the Command Prompt app in the Windows System folder on the Start menu), run the ipconfig program, and pass it the /all option:

> ipconfig /all

Doing so will list all the details of the network adapters on that PC. Look ...

Get Portable Python Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.