Skip to content

Lesson 1 of 9 · 24m

Router Hardware Is a Computer: Choose It and Flash It Like One

Evaluate CPU, flash, RAM, wireless chips, and factory install paths before turning a cheap router into an OpenWrt system.

The first router I killed was not exotic: 16 MB of flash, an almost-right image, and a bootloader that did not care how confident I felt. Routers are computers, but they are small, peculiar computers with nonstandard bootloaders and unforgiving storage. Treat installation as systems work, not as uploading a magic file.

Read the device page before buying anything

OpenWrt's Table of Hardware is a survival guide, not marketing copy. The details that matter are exact model and hardware revision, flash size, RAM, CPU architecture, wireless chipset, and installation method.

Model: TP-Link Archer C7
Version: v5 (not v2, not v4)
RAM: 128 MB
Flash: 16 MB SPI NOR
Install: factory image through vendor web UI
Recovery: TFTP using bootloader at 192.168.0.66

A v2 and v5 can share a retail name while using different wireless hardware. Flashing the wrong image is not a compatibility bug; it is an inventory failure.

Understand the image families

OpenWrt commonly publishes both factory and sysupgrade images:

factory     install from vendor firmware or bootloader recovery
sysupgrade  upgrade an existing OpenWrt system

Verify what you downloaded before you use it:

sha256sum openwrt-24.10.0-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin
grep archer-c7-v5 sha256sums

Most devices boot a small bootloader, which loads a kernel and a compressed read-only squashfs root. Your changes live in a writable overlay. That design makes clean resets possible and makes exhausted flash a first-class failure mode.

First-boot discipline

Connect one wired client, avoid depending on upstream Internet, and set a root password before anything else:

ssh root@192.168.1.1
passwd
opkg update

Do not build the real network immediately. First prove boot stability, Ethernet port numbering, wireless function, and recovery access. Record the exact image checksum and device revision.

Field notes

  • Five minutes in the device database beats an hour with a serial cable.
  • "Supported" can mean wired networking works while one wireless radio is unstable.
  • 16 MB flash is workable but constraining; 8 MB is legacy pain, not a challenge badge.
  • Some vendor interfaces reject correct images because of region or signature checks; use the documented device-specific path.
  • Keep stock firmware, factory image, sysupgrade image, and checksums in a labeled folder before starting.

Was this lesson helpful?

Sign in to rate