Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:sercomm:s3 [2023/02/02 15:23] – [OpenWrt installation] shahid | inbox:toh:sercomm:s3 [2023/02/02 16:04] – [Return to Stock] shahid | ||
|---|---|---|---|
| Line 69: | Line 69: | ||
| <code bash> | <code bash> | ||
| printf 1 | dd bs=1 seek=7 count=1 of=/ | printf 1 | dd bs=1 seek=7 count=1 of=/ | ||
| + | reboot | ||
| </ | </ | ||
| Line 74: | Line 75: | ||
| + | ==== Backup ==== | ||
| + | It's recommended to make a mtd backup before you start: | ||
| + | |||
| + | 1. Set up a tftp server (e.g. tftpd64 for windows) | ||
| + | |||
| + | 2. Set your pc ip address 192.168.1.2 | ||
| + | |||
| + | 3. Connect to a router using SSH shell with SuperUser and run the following commands: | ||
| + | <code bash> | ||
| + | sh | ||
| + | cd /tmp | ||
| + | for i in 0 1 2 3 4 5 6 7 8 9 10; do nanddump -f mtd$i /dev/mtd$i; \ | ||
| + | tftp -l mtd$i -p 192.168.1.2; | ||
| + | tftp -l mtd.md5 -p 192.168.1.2 | ||
| + | </ | ||