I’ve put time into configuring routers and need to be able to quickly clone settings to new hardware. I was hoping to take a working router configuration, connect it to a PC (or device), and open a terminal session to use the following commands:
cd desktop ssh root@192.168.1.1 dd if=/dev/mtd4 of=/tmp/backup20160505.trx scp root@192.168.1.1:/tmp/backup20160505.trx . scp backup20160505.trx root@192.168.1.1:/tmp mtd -r write backup20160505.trx art
But at the final step, my router throws up an error message that includes:
Could not open mtd device: art Can't open device for writing! openwrt
If someone has a suggestion, I’m all for it. I’ll report back when I figure this out.