Download the page and inspect what you actually saved
Open a working OpenWrt Wiki page and note its full URL and the date. Append ?do=export_raw to a plain page URL or &do=export_raw if a query string already exists. Run the example on an online macOS or Linux computer in a new directory so the previous copy remains available.
dir=$(mktemp -d) || exit 1
cd "$dir" || exit 1
page='https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset'
curl -fL --retry 2 "${page}?do=export_raw" -o failsafe.wiki.txt &&
head -n 1 failsafe.wiki.txt
In this check the first line was the recovery page title surrounded by equals signs. If you get a login page, an access check or an HTML template, inspect the page and export link in your browser. HTTP 200 and a nonempty file are insufficient. In the source, [[…]] marks an internal link and {{…}} can refer to separate media. Save the model photos, wiring diagrams, filenames and procedures needed for recovery. If printing to PDF, check the images and long commands on every page.
Save a checksum list on the source computer to check the copy. On Linux use sha256sum failsafe.wiki.txt > wiki.sha256 and run sha256sum -c wiki.sha256 in the destination directory. On macOS use shasum -a 256 failsafe.wiki.txt > wiki.sha256 and shasum -a 256 -c wiki.sha256. OK means the copies match. Check separately that the instructions apply to the installed firmware.

Disconnect and try finding the recovery steps offline
Copy the directory to persistent storage. Record the source URL, model, hardware revision, applicable firmware and download date in a text file. Take the repair computer offline. Search for failsafe in a local editor, open the device page and its images, and identify the port, address and steps needed to regain access. You can rehearse finding the instructions without resetting the router.
If an essential link still points online, save its destination and required media and repeat the offline test. Raw Wiki text and a saved rendered page serve different purposes. A single export covers one page. For later updates, save a new copy first, compare firmware branches and models, and keep versions needed by older devices.
Related reading · Which home network services can you restore in ten minutes on a spare router?
Comments