Tristan Sweeney

← Back to blog

Wake On LAN

Published on 2018-6-4 by Tristan Sweeney

I built a JS visualization tool for my CS networking class, in which we had to design a program for emulating a network bridge implementing spanning tree protocol. Having to infer from configuration files and output from the simulation where a fault lies sucks, so instead I built this tool to help myself out.

I’ve wanted to setup Wake-On-LAN (WOL) in my apartment for a while now, to turn on my desktop (which serves as an FTP/Plex/FOSWiki server) when it’s either hibernated/suspended due to inactivity or been left off for one reason or another.

I won’t rehash better sources, but the TL;DR is that I enabled WOL locally on my desktop as outlined in the Arch Wiki, then forwarded a port on my router to an unused IP address and setup an ARP rule which sends all traffic to that address to the broadcast MAC address FF:FF:FF:FF:FF:FF:FF:FF, as outlined in the DD-WRT Wiki.

WOL packets are broadcast with the intended device to wakeup in the body of the packet, so the only real ‘hack’ here is having a dedicated IP address acting as an intermediary between the port forwarding and broadcasting. It feels like an unnecissary step, but why fight a wiki’s wisdom?

So that’s it. This is less a technical post and more of a tiny-brag about my WOL setup (oh look, I can follow directions!) and an record that I do stuff for fun. Oh, and WolOn is a great Android app for hiting the WOL endpoint you setup. Check it out.

Ta ta!

Written by Tristan Sweeney

← Back to blog
  • Favicon Fun

    9/17/2024
    Favicon Fun
    photo by Astro

    I love the Astro homepage favicon effect, and replicated it on my site.

  • Ransom Note

    5/3/2020
    Ransom Note
    photo by Jamie Eckle

    Given the text for a ransom note, determine if enough letters exist in a magazine to create it.

  • Breaking down Subsum Equals K

    4/29/2020
    Breaking down Subsum Equals K
    photo by Meghan Vestal

    given an array of integers, find the number of continuous subarrays equal to `k`.

  • Revivifying the Blog

    4/11/2020
    Revivifying the Blog

    I recently had a friend come across my blog, and was promptly shamed for having a certificate more out of date than the VCR. Such an embarrassment couldn't rest, and so I cleaned up my act a bit.

  • Apt install on a Disconnected Wireless System

    6/8/2018
    Apt install on a Disconnected Wireless System
    photo by Google

    I just was installing ubuntu on a platform that only has wireless capabilities, and decided to install the server edition to minimize overhead / avoid having an X server + desktop environment to disable. Woe, the server edition of Ubuntu ships with no wireless utilities, because nobody in their right mind would run a wireless server.

  • Let's Encrypt HTTPS on DD-WRT

    6/5/2018
    Let's Encrypt HTTPS on DD-WRT
    photo by DD-WRT

    I run a DD-WRT router on a Netgear WNDR4500 router. It's been in my life since I can remember, and came along with me to college. A while back I loaded the DD-WRT firmware onto it, and it's been serving like a champ ever since.