|
本帖最后由 sunsuper 于 2021-5-22 21:53 编辑
参照https://openwrt.org/docs/techref/bootloader/cfe/changing.defaults
Extracting default values
Telnet/ssh to your router running your favorite firmware and type the following
备份cfe参数段(skip参数未知,count参数未知)
dd if=/dev/mtd0 bs=1 skip=1 count=12048 | strings > /tmp/cfe.txt
显示参数段
cat /tmp/cfe.txt
完整cfe备份
dd if=/dev/mtd0 of=/tmp/cfe.bin
复制
Copy both cfe.bin and cfe.txt to your linux box (this is required).
To copy files from your router to your computer, make sure the Dropbear package is installed, and type:
scp root@:/tmp/cfe.bin /directory/on/your/computer
scp root@:/tmp/cfe.txt /directory/on/your/computer
|
|