To flash the custom CFE route, please follow this steps:
1. the router has to be accessible via SSH/telnet
2. make a backup of your stock CFE:
备份原有CFE,然后取回本地
dd if=/dev/mtd0 of=stock-cfe.bin
3. modify the custom CFE by CFEEdit to reflect your router's MAC addresses and WPS pin:
ETH MAC Address = LAN_MAC_Address (路由器底部标签)
WL1 MAC Address = ETH MAC Address (按一下=)
WL2 MAC Address = ETH MAC Address + 4 (按一下=,按4下+)
secret_code=12345670 (WPS配对密码)
4. move the "custom CFE, flash-cfe.sh and mtd-write" to "/tmp/home/root".
flash-cfe.sh is a script. take a look at its content making sure the name of your custom CFE
is the same as the one used in this script. Or do it manually in two steps:
把mtd-write和改好的CFE上传到路由器某个目录下,然后执行
chmod +x ./mtd-write
./mtd-write -i mtd0-cfe-1.0.21modified.bin -d boot
new-cfe.bin is the name of your custom CFE.
5. reboot and clear NVRAM to factory defaults.
重启,记得重置清除NVRAM