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:
- Connect your computer to a LAN port with a cable (not Wi-Fi).
- Open the stock web interface and find Firmware upgrade.
- Upload the factory image and confirm. If asked, do not keep the old settings.
- 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.
- Browse to http://192.168.1.1.
- Log in as
rootwith an empty password. - Set a password under System → Administration.
- 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.
Routers mentioned in this guide
Related guides
- SQM· OpenWrt guide· Oct 7, 2026Fix Bufferbloat With SQM on OpenWrt
Set up Smart Queue Management with cake to keep latency low when your connection is busy.
- WireGuard· OpenWrt guide· Oct 7, 2026Set Up a WireGuard Server on OpenWrt
Reach your home network securely from anywhere by running WireGuard on your OpenWrt router.