openwrt刷固件恢复原厂固件
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openwrt刷固件恢复原厂固件相关的知识,希望对你有一定的参考价值。
参考技术A There is little point in merely uninstalling OpenWrt, what you actually want to do, is to replace OpenWrt with the original firmware. You are here, because the wiki-page for your device, does not help you with that. So, first have a look at the flash.layoutTo replace OpenWrt with the original firmware, you most probably do not have to change the boot partition, or the partition containing specific information like NVRAM or ART. Even if you overwrote the bootloader when you installed OpenWrt on your device.
通过OpenWrt CLI恢复原厂
You can use the program mtd for this:
cd /tmp
wget http://www.example.org/original_firmware.bin
mtd -r write /tmp/original_firmware.bin firmware
OpenWrt has no built-in "pleasantries" to prevent you from going back to original firmware. But sometimes you need to be careful, see e.g. back.to.original.firmware.
If you get a error message on the above mtd command like "no valid command given" you are using an old version of mtd which doesn't support the -r or -e parameters.
Download a newer statically compiled version
cd /tmp
wget http://www.freewrt.org/downloads/tools/mtd-static
chmod a+x mtd.static
wget http://www.example.org/original.trx
./mtd.static -e linux -r write original.trx linux
TIP: PLEASE READ - Common mistakes thread section 2 also. It describes when you should use the
openwrt-brcm-2.4-squashfs.trx
image.
Only flash a trx, never flash a bin file?
If you only have a Linksys .bin firmware file, this is not a problem, simply cut off the header before using the commands below:
dd bs=32 skip=1 if=original.bin of=original.trx
TIP: If your replacement firmware has a web interface, remember to flush your browser cache, sessions etc. This will avoid misleading 404 errors.
通过OpenWrt的WebUI管理界面恢复原厂固件
通过 Booloader恢复原厂固件
To flash the original firmware back again via the bootloader, please follow the procedures already described in Installing OpenWrt. They are basically the same.
斐讯K3刷OpenWrt(Lede)
参考技术A 没有区别,之前有区别,现在没有了。现在只是叫法不同,我还是习惯叫OpenWrt,但是有的帖子或者教程,都叫Lede。这让我困扰了一段时间~
从低到高排列:
登陆路由—>功能设置—>手动升级 查看当前固件版本
网盘链接: http://pan.baidu.com/s/1i4DImnb 密码:root
之后就就能看到路由的固件版本了
就是在路由能正常联网的情况下,通过ssh登陆路由后,执行tb命令,能正常显示tb菜单
下图表示是不正常的,可能是网络连接有问题:
这个主要是防止刷机过程中出错,还能保证恢复
我们可以看到U盘挂在到了sda1上。
固件较大,备份过程中可能会卡住,多等会就好。### 使用tb降CFE
使用ssh登陆路由,进入tb:
我选择刷入的是xiaoshan的版本:
以上是关于openwrt刷固件恢复原厂固件的主要内容,如果未能解决你的问题,请参考以下文章
弱弱的问一句:wr703n刷了OPENWRT固件后怎么刷回官方固件?
TP-Link 703N 路由器里面刷了openwrt固件,能不能把这个固件提取出来?