zoukankan      html  css  js  c++  java
  • openwrt 路由器变砖后修复方法

    https://wiki.openwrt.org/doc/howto/generic.debrick

    变砖后需根据类型进行修复,主要有以下四种:

    (1)if only something on the JFFS2 partition is broken, you are still able to → boot into OpenWrt failsafe mode

           如果仅仅是JFFS2上部分有问题,可以重启进入failsafe模式。

    (2)if the SquashFS partition or the Kernel is broken, you cannot boot into failsafe mode any longer. But you still have a functioning bootloader and so you should follow the same procedures as when you first → installed OpenWrt via bootloader.

           如果是SquashFS部分或者内核坏掉,并且进入不了failsafe模式,但是bootloader还能正常工作,你可以通过启动完boot后,进行时串口烧写。

    (3)if the bootloader is broken, there are only two options left:

           如果bootloader也坏掉了,那就只有两种方法了:

          a)access your hardware through the → JTAG Port, this should allow you to write to the flash. Restore the bootloader.

              通过JTAG口,来进行恢复bootloader。

          b)or desolder the flash chip, connect it to some device, that does give you write access to it and restore the bootloader. 

              通过短接芯片上的某些管脚,来恢复bootloader。

    ======================================================

    挂载点:

    (1)"/" 是完整的 root文件系统。它包含"/rom" 和 "/overlay"。

    (2)"/rom" 包含了所有的基本文件,如busybox,dropbear,iptable;也包含了进入failsafe模式时所需要的默认配置文件;不包含内核(kernel)文件。在此目录"/rom"下的文件都位于SqashFS partition上,因此不可以被更改或删除。因为我们使用了overalyFS文件系统,因此可以在JFFS2 partition上创建overlay-whiteout-symlinks。

    (3)"/overlay" 

  • 相关阅读:
    mtr-网络分析工具
    vpc是什么
    openstack安全组
    nginx服务器有什么作用?什么叫反向代理?为什么要使用反向代理?
    rpm 命令详解
    跟踪路由
    网卡配置bond(绑定)
    核心交换机、汇聚交换机是什么
    U盘制作Linux镜像
    11.MySQL 慢日志PT分析 可视化
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5403493.html
Copyright © 2011-2022 走看看