← All writing notes

WoL Magic Packet

Wake on LAN

Quick notes defining the standard magic packet used for Wake on LAN.

Packet Header

0xFF repeated, 6 times.

Packet Payload

AABBCCDDEEFF MAC Address (IEEE 802 MAC-48), repeated 16 times.

Packet Structure

type MACAddr [6]byte
type MagicPacket struct {
	header  [6]byte
	payload [16]MACAddr
}

Example from PCAP

tshark -Q --hexdump noascii -r wol.pcap

0000  ff ff ff ff ff ff 00 90 27 85 cf 01 08 42 ff ff   
0010  ff ff ff ff 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0020  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0030  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0040  56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0050  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0060  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0070  56 dc 9e 35                                       

0000  ff ff ff ff ff ff 00 90 27 85 cf 01 08 42 ff ff   
0010  ff ff ff ff 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0020  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0030  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0040  56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0050  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0060  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0070  56 dc 9e 35 c0 a8 01 01                           

0000  ff ff ff ff ff ff 00 90 27 85 cf 01 08 42 ff ff   
0010  ff ff ff ff 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0020  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0030  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0040  56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35   
0050  00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d 56 dc   
0060  9e 35 00 0d 56 dc 9e 35 00 0d 56 dc 9e 35 00 0d   
0070  56 dc 9e 35 01 23 45 67 89 ab                     

0000  ff ff ff ff ff ff 00 0d 56 dc 9e 35 08 00 45 00   
0010  00 82 8c 5f 00 00 80 11 f2 8c 9c 18 1f 67 ff ff   
0020  ff ff 09 f7 00 09 00 6e c8 23 ff ff ff ff ff ff   
0030  00 90 27 85 cf 01 00 90 27 85 cf 01 00 90 27 85   
0040  cf 01 00 90 27 85 cf 01 00 90 27 85 cf 01 00 90   
0050  27 85 cf 01 00 90 27 85 cf 01 00 90 27 85 cf 01   
0060  00 90 27 85 cf 01 00 90 27 85 cf 01 00 90 27 85   
0070  cf 01 00 90 27 85 cf 01 00 90 27 85 cf 01 00 90   
0080  27 85 cf 01 00 90 27 85 cf 01 00 90 27 85 cf 01   

How to Install Fedora 42 with Full Disk Encryption, Snapshot, and Rollback Support

This is an archived copy - I DID NOT write this This is a direct copy of this excellent write up by Madhu Desai that I saved for my own personal reference while using this as a baseline install guide. Please refer to the linked write up for any updates and to see the comment discussion Fedora Linux 42 is here! Fedor

May 9, 2025 · 20 min read

Unlocking the FM350-GL

Is this legal? If you are using a US based mobile provider with a US based SIM card, this might not be legal. Lenovo's own unlock tool continues to block any US based carrier SIM cards. If you do the unlock yourself, you can get around the region restriction, but you may enter a legal gray area in doing so. This i

May 9, 2025 · 4 min read

Gameboy (DMG-01) PPU Notes

Incomplete and a WIP These handwritten notes are a WIP and are some things I scribbled down as I was going through the implementation of the PPU for my Gameboy emulator project (ferrum). Download PDF: GameBoy+PPU_230822_162133.pdf

Aug 22, 2023 · 1 min read

Anonymous, Allegedly: Reverse-Engineering the 2022 YikYak Relaunch

A responsible-disclosure writeup of privacy and data-leakage flaws in the relaunched YikYak Android app — where 'anonymous' turned out to be a UI decision, not a backend guarantee.

Jun 30, 2026 · 14 min read

Webmentions

Please Note This was written back when this blog was using Hugo for static site generation. I recently moved to Obsidian Publish - I am not sure if using Webmentions is possible or not. If I manage to figure something out, I will write an updated post about it :) I've been looking at adopting more and more IndieW

Dec 3, 2021 · 3 min read