|
本帖最后由 baobolz 于 2018-5-30 20:49 编辑
RoutAck.exe 192.168.199.140
telnet 192.168.199.140
BusyBox v1.22.1 (2017-10-20 18:23:49 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
___ __ _______________ __ _____ ___ ________ ___
/ _ \/ // / _/ ___/ __ \/ |/ / |/ / / __/ __ \/ _ \
/ ___/ _ // // /__/ /_/ / /|_/ / /|_/ / _\ \/ /_/ / ___/
/_/ /_//_/___/\___/\____/_/ /_/_/ /_/ /___/\____/_/
----------------------------------------------------------
Barrier Breaker, unknown
----------------------------------------------------------
PID=E1
BUILD_TYPE=release
BUILD_NUMBER=102
BUILD_TIME=20171020-175300
----------------------------------------------------------
MTK OpenWrt SDK V3.4
revision : 6414397e
benchmark : APSoC SDK 5.0.1.0
kernel : 144992
----------------------------------------------------------
root@E1:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 00050000 00010000 "permanent_config"
mtd5: 00760000 00010000 "firmware"
mtd6: 0062a93b 00010000 "rootfs"
mtd7: 00100000 00010000 "rootfs_data"
root@E1:/# dd if=/dev/mtd1 of=/tmp/Bootloader.bin
root@E1:/# cd /www
root@E1:/www# touch Bootloader.bin
root@E1:/www# mount --bind /tmp/Bootloader.bin /www/Bootloader.bin
电脑端浏览器访问 http://192.168.199.140/Bootloader.bin 取出文件。
root@E1:/www# dd if=/dev/mtd2 of=/tmp/Config.bin
touch Config.bin
mount --bind /tmp/Config.bin /www/Config.bin
http://192.168.199.140/Config.bin
root@E1:/# dd if=/dev/mtd3 of=/tmp/Factory.bin
root@E1:/# cd /www
root@E1:/www# touch Factory.bin
root@E1:/www# mount --bind /tmp/Factory.bin /www/Factory.bin
http://192.168.199.140/Factory.bin
root@E1:/www# dd if=/dev/mtd4 of=/tmp/permanent_config.bin
touch permanent_config.bin
mount --bind /tmp/permanent_config.bin /www/permanent_config.bin
http://192.168.199.140/permanent_config.bin
root@E1:/www# dd if=/dev/mtd5 of=/tmp/firmware.bin
touch firmware.bin
mount --bind /tmp/firmware.bin /www/firmware.bin
http://192.168.199.140/firmware.bin
root@E1:/www# dd if=/dev/mtd6 of=/tmp/rootfs.bin
touch rootfs.bin
mount --bind /tmp/rootfs.bin /www/rootfs.bin
http://192.168.199.140/rootfs.bin
root@E1:/www# dd if=/dev/mtd7 of=/tmp/rootfs_data.bin
touch rootfs_data.bin
mount --bind /tmp/rootfs_data.bin /www/rootfs_data.bin
http://192.168.199.140/rootfs_data.bin
reboot
固件备份后建议重启一下路由器或“rm -f /tmp/*.bin”删除备份固件,否则会占用内存。
重启后可以用“rm -f /www/*.bin”删除多余文件。
|
|