TP-LINK WR941 DD-WRT刷回OpenWRT及OpenWRT刷回原厂固件

1、DD-Wrt 刷回 OpenWrt  

A、从官网下载固件:

root@TL-DDWRT:/tmp# wget http://downloads.openwrt.org/barrier_breaker/14.07/ar7xx/generic/openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin
Connecting to downloads.openwrt.org (78.24.191.177:80)
openwrt-ar71xx-gener 100% |*******************************| 3840k 0:00:00 ETA

B、重命名固件:

root@TL-DDWRT:/tmp# mv openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin wr941.bin

C、清空内存:

root@TL-DDWRT:/tmp# mtd erase nvram
Unlocking nvram ...
Erasing nvram ...

D、刷写固件:

root@TL-DDWRT:/tmp# mtd -r write wr941.bin
Unlocking linux ...
Writing from wr941.bin to linux ... [w]

E、刷写完毕,重新登陆:

  IP:192.168.1.1
  ID:root
  PD:root

F、开启远程访问:

  Network  -->Firewall -->General Settings -->Zones -->wan[(Input|Output)accept ,(Forward)reject]

2、Openwrt刷回原厂固件:

A、开启HFS,获取下载地址:http://192.168.1.87/wr941nv4_v5.bin

B、下载固件:

root@TL-OPENWRT:/tmp# wget http://192.168.1.87/wr941nv4_v5.bin
Connecting to 192.168.1.87 (192.168.1.87:80)
wr941nv4_v5.bin 100% |*******************************| 3840k 0:00:00 ETA

C、查看路由器支持的升级命名:

root@TL-OPENWRT:/tmp# cat /proc/mtd
dev:size erasesize name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000d9ebc 00010000 "kernel"
mtd2: 002f6144 00010000 "rootfs"
mtd3: 00100000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 003d0000 00010000 "firmware"

D、清空内存:

root@TL-OPENWRT:/tmp# mtd erase nvram
Unlocking nvram ...
Erasing nvram ...

E、刷写固件:

root@TL-OPENWRT:/tmp# mtd -r write wr941nv4_v5.bin firmware
Unlocking linux ...
Writing from wr941.bin to linux ... [w]

F、刷写完毕,重新登陆:

  IP:192.168.1.1
  ID:admin
  PD:admin

  

上一篇:网络编程学习(1)—— 基于SOCKET实现简单套接字通信


下一篇:Android学习笔记之ExecutorService线程池的应用....