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

      

  • 相关阅读:
    蓝桥杯java 基础练习 完美的代价
    C# 获得手机归属地功能
    c# HttpWebRequest与HttpWebResponse(转)
    C# Winfrom小黄鸡功能调用
    Winfrom 抓取web页面内容代码
    Winform将网页生成图片
    Winform上传下载文件代码
    Jquery LigerUI框架学习(二)之Tree于Tab标签实现iframe功能
    Jquery LigerUI框架学习(一)
    C# 生成简单验证码
  • 原文地址:https://www.cnblogs.com/configure/p/4350457.html
Copyright © 2011-2022 走看看