Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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] shahidinbox: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=/dev/mtdblock3 printf 1 | dd bs=1 seek=7 count=1 of=/dev/mtdblock3
 +reboot
 </code> </code>
  
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; md5sum mtd$i >> mtd.md5; rm mtd$i; done
 +tftp -l mtd.md5 -p 192.168.1.2
 +</code>
  
  
  • Last modified: 2024/02/12 10:03
  • by 127.0.0.1