Compare the directory with a small file on the same server
On the router, record board_name and release.target from ubus call system board. Run the following computer-side example in a new empty directory. It checks the mediatek/filogic download path for 25.12.6. Match the exact hardware model and revision when choosing your own image.
base=https://downloads.openwrt.org/releases/25.12.6/targets/mediatek/filogic
curl -LsS -o /dev/null -w '%{http_code} %{url_effective}\n' "$base/"
curl -fLsS "$base/sha256sums" -o filogic.sha256sums

If the directory returns 502 but the checksum file opens, look for the exact image filename in the list. A working directory does not guarantee every file is available. For a persistent 404, check the release and target path. If the connection fails before any HTTP response, check DNS, time and TLS. An HTML error page is not a checksum file even if the response status is 200.
After the build finishes, check the image transfer
In the LuCI attended upgrade page, check the build status, request identifier, target profile and image name. With owut, check local help first. Versions supporting download can use owut download --verbose to build, download and verify without installing. Inspect the build log if the build failed. If the build finished but transfer stopped, record the actual custom image URL and any redirect. A standard release image checksum cannot verify a custom image.
When preparing an AVM FRITZ!Repeater 3000 to move from 25.12.1 to 25.12.2, a matching release and target alone do not establish that the client can follow an image redirect. One owut change specifically handles HTTP 301 and 302. If the browser downloads the file but the CLI fails, compare the final URLs and the installed owut version. A failed backend build requires a separate investigation.
Verify the file before deciding whether to install
For a release image, use the matching filename in the signed list for the same release and target. Check the signing key fingerprint against a trusted source, verify the list signature and then compute the image's SHA-256. For a custom image, retain the build digest associated with the original request and use a tool that can verify that request. Never substitute the hash of the file you just downloaded for its expected hash. Stop before installation if the trusted digest is missing or the model does not match.
Verify an OpenWrt image with the release signature and SHA-256 checksum
Comments