zoukankan      html  css  js  c++  java
  • 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

      

  • 相关阅读:
    python 协程
    python 进程池的使用
    python 多进程数据交互及共享
    python 多进程
    技术博客与技术日记
    理解闭包
    jWriter一个基于jQuery的阅读写作网站的效果库
    ubuntu下phpmyadmin配置问题解决
    避免明文保存用户密码
    如何用css实现类似简书的纵向导航/竖排导航
  • 原文地址:https://www.cnblogs.com/configure/p/4350457.html
Copyright © 2011-2022 走看看