Skip to content
Voltarum OpenWRT buyers guide

Installation

How to Install OpenWrt on a Router

Check compatibility, pick the right image in the Firmware Selector, flash it safely and do the first configuration.

By Editorial team · Published · Updated

Installing OpenWrt replaces your router's stock firmware. On well-supported routers it takes ten minutes; on others it involves a serial cable. This guide covers the steps that apply to every router. Always read your router's official device page as well: it has the model-specific details.

1. Identify the exact model and hardware revision

Turn the router over and read the label. Note the model and the hardware version (often written as Ver: 1.0, v2 or H/W: 3). Different revisions of the same model can use completely different hardware, and flashing an image for the wrong one can brick the router.

2. Check that the router is supported

Look the router up on Voltarum OpenWRT buyers guide or in the OpenWrt Table of Hardware. You want:

  • Official images in a stable release (not only snapshots) if this is your first OpenWrt router.
  • At least 128 MB of RAM and 16 MB of flash; 256 MB and 32 MB or more if you plan to add VPN, SQM or other packages.
  • An installation method you are comfortable with: “from the stock web interface” is the easiest.

3. Download the right image

Open the OpenWrt Firmware Selector, type your model and pick the latest stable release. You will usually see two images:

Image Use it when
Factory Installing OpenWrt for the first time from the stock firmware
Sysupgrade Upgrading a router that already runs OpenWrt (or when the device page says so)

Some routers are exceptions (for example, GL.iNet models install the sysupgrade image from their stock interface), which is exactly why the device page matters.

Check the SHA256 checksum shown in the Firmware Selector against the file you downloaded.

4. Flash the image

For most routers with “GUI OEM” installation:

  1. Connect your computer to a LAN port with a cable (not Wi-Fi).
  2. Open the stock web interface and find Firmware upgrade.
  3. Upload the factory image and confirm. If asked, do not keep the old settings.
  4. Wait several minutes. Do not unplug the router while it writes the flash.

Other methods (TFTP recovery, serial console, SSH) are described on each device page.

5. First login

OpenWrt release images include the LuCI web interface.

  1. Browse to http://192.168.1.1.
  2. Log in as root with an empty password.
  3. Set a password under System → Administration.
  4. Configure Wi-Fi under Network → Wireless. Wi-Fi is disabled by default after a fresh install.

If 192.168.1.1 clashes with your modem's network, change the LAN address under Network → Interfaces → LAN.

6. Install packages

OpenWrt 25.12 and later use the apk package manager; earlier releases use opkg. In System → Software LuCI handles this for you. From SSH:

# OpenWrt 25.12 and later
apk update
apk add luci-app-sqm

# OpenWrt 24.10 and earlier
opkg update
opkg install luci-app-sqm

7. Keep it updated

New releases bring security fixes. Upgrade with a sysupgrade image from the Firmware Selector (System → Backup / Flash Firmware), or install luci-app-attendedsysupgrade to build an upgrade that keeps your installed packages.

If something goes wrong

Most routers have a recovery mode (bootloader web recovery or TFTP). The method is listed on each router page under Installation difficulty and on the official device page. When in doubt, ask on the OpenWrt forum before trying again.