有个网件路由器:Netgear WNDR4300,光猫改桥接后准备也顺便升级一下。
之前版本是openwrt 19,最新的21,保留配置的情况下刷入升级固件,然后发现等了很久还是无法连接状态。
用牙签按了下复位按钮,并没有什么反应,又重复了N次,依然没反应,抓头。
论坛上搜了搜,复位按钮没反应,并且电源指示灯为绿色闪烁,就是固件挂了。
拆路由器刷的能力没有,偶然看到一位大佬的博客:
Windows下安装以下软件
nmrpflash:Netgear Unbrick Utility
cmd
到nmrpflash
解压目录下:
> nmrpflash -L
列出所有网卡,发现我的有两个
net12 E2:xx:xx:xx:xx:xx
net13 00:00:00:00:00:00
按电源按钮,重启路由器,瞬间执行:
nmrpflash -i net13 -f openwrt-21.02.1-ath79-nand-netgear_wndr4300-squashfs-factory.img
Advertising NMRP server on net13 ...
Received configuration request from 00:00:00:00:00:00
Sending configuration: ip xx.xxx.xxx.xxx, mask 255.255.255.0
Received upload request: filename 'openwrt-21.02.1-ath79-nand-netgear_wndr4300-squashfs-factory.img'
Uploading openwrt-21.02.1-ath79-nand-netgear_wndr4300-squashfs-factory.img ... OK
Waiting for remote to respond.
Waiting for remote to respond.
...
Remote finished. Closing connection.
Reboot your device now.
之后路由器重启,救砖成功。
猜测本次变砖是openwrt 19升级到openwrt 21
并保留配置而来, 重新测试,依然会出现,可能是配置不兼容,有点坑了。不过去掉保留配置选项,差不多1分钟就立即成功升级而不会变砖。
参考资料: