← Tagnect AI guide · Markdown version
Installing official OpenWrt on a router (including going back from newer stock firmware)
Last verified: 2026-11-18 · Source: https://tagnect.com/ai/ · Tagnect LLC
Use this when a venue owns, or has just bought, a router from the eligible list in routers-and-equipment.md and it still runs the manufacturer's own firmware ("stock firmware"). Flashing replaces the firmware. It can brick the device if a wrong file is used. Be calm, go one step at a time, and make the owner confirm each check.
The procedure differs for every model. The only authority is the model's page in the OpenWrt Table of Hardware (https://openwrt.org/toh/start), which links the exact images and the installation steps. This file gives the safe general method, the checks that prevent damage, and one example the Tagnect team has proven end to end. Do not invent commands or file names from memory.
1. Before anything: five checks (stop if one fails)
- Exact model and hardware revision. Read the label under the device (model, "Ver"/"Rev"/"H/W", sometimes a "v1/v2" on the box). A different revision can be a different chip: an image for one revision bricks another. Example: Cudy WR3000 v1 works, v2 does not.
- Find the model's page on https://openwrt.org/toh/start (search the model). Confirm that page lists that revision and says "supported" in a stable release (not only a snapshot). Read its Installation section completely, and any warnings about the stock firmware version.
- Is Tagnect eligible? Only the models in
routers-and-equipment.md. If the model is not listed, ask support@tagnect.com first. - Conditions: a computer with an Ethernet port (or a USB-Ethernet adapter) and a cable, steady power (no power-off during the flash; a small UPS helps), about 30-60 minutes, and no one using the venue's Wi-Fi meanwhile.
- The owner understands: it voids the vendor's warranty on most devices, it erases the stock settings, and going back to stock is only possible if the vendor's firmware file is kept (download it now, from the vendor's official support site, before flashing).
2. If the stock firmware is too new (the "downgrade")
Some manufacturers add protections in newer stock firmware (signed images, locked boot or flash steps) that block installing OpenWrt. The model's OpenWrt page then names a specific older stock firmware to install first, or a different method. General procedure when the page asks for it:
- Read on the OpenWrt page which stock version is required (or "up to version X").
- Download that exact version from the manufacturer's official support/download page for the exact model and hardware revision. Never download firmware from a third-party site. Keep the original file name.
- Cable the computer to a LAN port. Turn off Wi-Fi on the computer to avoid confusion.
- Open the router's own admin page (the address and login are on the label; common ones are http://192.168.0.1, http://192.168.1.1, http://192.168.8.1 or http://192.168.31.1).
- Go to the page called Firmware upgrade, System update or Administration -> Upgrade; choose the local file (the older version). Untick "keep settings" if the option exists. Wait for the router to restart on its own; never unplug during the update, even if it takes 5-10 minutes.
- When it is back, if the page says so, perform a factory reset (hold the reset button as the page describes).
- Continue with step 3 below, using the factory image the OpenWrt page lists. Do not take any other action, and do not let the router install a newer version again (turn off automatic updates in the stock page if it offers them).
If the stock page refuses the older file ("invalid firmware"), stop: that model needs the other method on the OpenWrt page (often a recovery mode or a serial/U-Boot connection). Those are advanced; offer to arrange help from Tagnect support (support@tagnect.com) or from a technician.
3. Download the OpenWrt image
- Open the firmware selector: https://firmware-selector.openwrt.org. Type the exact model and choose the revision shown on the label. Choose the latest stable release (the Tagnect team proved OpenWrt 25.12.5; the Tagnect installer accepts current official releases and OpenWrt 22.03 or newer).
- You will see two kinds of files: - FACTORY (
...-factory.binor similar): used for the first install, from stock firmware or recovery mode. - SYSUPGRADE (...-sysupgrade.bin): used to update from OpenWrt to OpenWrt later. Use the one the model's page tells you for the first install (some models use sysupgrade even from stock). - Optional, recommended: in the selector open Customize installed packages and/or first boot script and use this package list so the router is ready for Tagnect without extra downloads:
-wpad-basic-mbedtls -dnsmasq wpad-openssl hostapd-utils dnsmasq-full
(If the selector's default package names differ, keep its defaults and add wpad-openssl hostapd-utils dnsmasq-full.) If this is skipped, the Tagnect installer fetches the full wpad and hostapd-utils itself (the WAN port must be connected to the internet).
- Download the file. Check its checksum (SHA-256) against the value on the download page if the page shows one. Save the file with a plain name in a folder like
C:\openwrt\.
4. Flash the router (the general ways)
The model's page names the method. The three common ones:
a) From the stock firmware's web page. Stock admin page -> Firmware upgrade -> choose the factory image -> untick "keep settings" -> upgrade. Wait 3-5 minutes. Some stock versions refuse images that are not the vendor's: then use (b) or the downgrade above.
b) Recovery mode (U-Boot web page). Many routers serve a small recovery page when powered on while holding the reset button. The computer needs a fixed address 192.168.1.100 (mask 255.255.255.0, no gateway), cabled to a LAN port. Turn the router off, hold Reset, power it on, keep holding 5-10 seconds until the LED blinks in a different pattern, release, and open http://192.168.1.1 in the browser. Choose the factory image and upload. Wait 1-3 minutes; do not power off. The button timing, the address and the LED pattern depend on the model: use the model's page.
c) TFTP or serial/U-Boot (advanced). Used by a few models. Do this only with a technician.
Proven example: Cudy WR3000 v1 (MediaTek MT7981). This is the one the Tagnect team flashed and tested, with OpenWrt 25.12.5 and the recovery method (b). Confirm v1 on the label; take the factory image for "Cudy WR3000 v1" from the firmware selector; fix the computer's address at 192.168.1.100; router off, hold Reset, power on, keep holding 5-10 s, open http://192.168.1.1, upload the image, wait 1-3 minutes. (If the recovery page does not open, try the stock page's firmware upgrade with the factory image.) Cross-check the file name and the method against the model's OpenWrt page before flashing.
5. First access to the new OpenWrt
- Give the computer back automatic addressing (DHCP), cable on a LAN port.
- Browse to http://192.168.1.1 (the LuCI page) or
ssh root@192.168.1.1. The first access has no password**. - Set a root password (LuCI: System -> Administration; or
passwdover SSH). Choose a strong one. - Connect the WAN port to the venue's internet (the modem or the ISP box). In LuCI, Network -> Interfaces shows WAN getting an address.
- Confirm it is OpenWrt:
cat /etc/openwrt_release. Write down the version. - If a Wi-Fi radio is off (new OpenWrt starts with radios disabled): LuCI -> Network -> Wireless -> Enable each radio and set the country to the venue's country. (The Tagnect installer also detects the radios.)
- Continue with
install-openwrt.md(generate the line in the console and paste it).
6. If something goes wrong
| Symptom | What to do |
|---|---|
| The router does not boot, LEDs stuck, no 192.168.1.1 | Wait 5 minutes. Then try recovery mode (b) with the factory image from the model page. Do not repeat flashes at random. |
| It boots into stock again | The flash did not apply: the image or method was wrong. Re-read the model page; check the revision. |
| LuCI says "no packages" or cannot update | The WAN is not connected to the internet. Fix WAN, then continue. |
| The device is dead (a "brick") | Some models can be recovered through serial/U-Boot; it is a technician's job. Tell the owner honestly and contact support@tagnect.com. Never promise that a flash is risk-free. |
7. What the assistant must not do
- Do not give a flash procedure for a model whose OpenWrt page you have not read at the time of the question.
- Do not tell the owner to use a file for another model or revision "because it is similar".
- Do not suggest disabling security features on the venue's operations network.
- If the user is uneasy, propose buying a model that arrives ready (a MikroTik with Wi-Fi, see
routers-and-equipment.md), or ask support@tagnect.com about assisted setup (included free on the launch annual plan).