R619AC 競斗雲 2.0 刷機教程,x-wrt系統


連接串口
路由器開機過程,串口不斷輸入 f + 回車 直到進入安全模式
 
串口波特率是115200
 
啟動到10秒左右看到如下提示按 f+enter就可以進入安全模式了
[    9.614211] init: - preinit -
[   10.218280] random: mktemp: uninitialized urandom read (6 bytes read, 71 bits of entropy available)
[   10.230614] random: mktemp: uninitialized urandom read (6 bytes read, 71 bits of entropy available)
[   10.243035] random: mktemp: uninitialized urandom read (6 bytes read, 71 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
f
- failsafe -
/etc/preinit: line 1: telnetd: not found


BusyBox v1.25.1 (2018-02-17 15:42:05 CST) built-in shell (ash)

ash: can't access tty; job control turned off
     MM           NM                    MMMMMMM          M       M
   $MMMMM        MMMMM                MMMMMMMMMMM      MMM     MMM
  MMMMMMMM     MM MMMMM.              MMMMM:MMMMMM:   MMMM   MMMMM
MMMM= MMMMMM  MMM   MMMM       MMMMM   MMMM  MMMMMM   MMMM  MMMMM'
MMMM=  MMMMM MMMM    MM       MMMMM    MMMM    MMMM   MMMMNMMMMM
MMMM=   MMMM  MMMMM          MMMMM     MMMM    MMMM   MMMMMMMM
MMMM=   MMMM   MMMMMM       MMMMM      MMMM    MMMM   MMMMMMMMM
MMMM=   MMMM     MMMMM,    NMMMMMMMM   MMMM    MMMM   MMMMMMMMMMM
MMMM=   MMMM      MMMMMM   MMMMMMMM    MMMM    MMMM   MMMM  MMMMMM
MMMM=   MMMM   MM    MMMM    MMMM      MMMM    MMMM   MMMM    MMMM
MMMM$ ,MMMMM  MMMMM  MMMM    MMM       MMMM   MMMMM   MMMM    MMMM
  MMMMMMM:      MMMMMMM     M         MMMMMMMMMMMM  MMMMMMM MMMMMMM
    MMMMMM       MMMMN     M           MMMMMMMMM      MMMM    MMMM
     MMMM          M                    MMMMMMM        M       M
       M
---------------------------------------------------------------
   For those about to rock... (Chaos Calmer, unknown)
---------------------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot          reset settings to factory defaults
* mount_root     mount root-partition with config files

after mount_root:
* passwd                         change root's password
* /etc/config               directory with config files

for more help see:
http://wiki.openwrt.org/doc/howto/generic.failsafe

 

 

執行命令 掛文件系統

mount_root

 

然后執行命令 修改啟動

sed -i 's/^#ttyM/ttyM/' /etc/inittab

 

重啟

reboot

 

等待2-3分鍾重啟完成

 

回車進入控制台

 

執行兩個命令,關閉煩人的日志
 
ifconfig wifi1 down
ifconfig wifi0 down

 

電腦開啟一個簡單的http服務器,網上有很多http服務器,自己找比如  CuteHttpFileServer
把改名固件 x-wrt-nand-factory.bin 放到http服務器

 

串口下載固件,假設電腦IP是 192.168.7.100 電腦要接網線連竟斗雲lan口。
注意,wget 下載固件的地址,根據你實際情況寫,這只是給個例子參考
 
wget -O /tmp/factory.bin http://192.168.7.100:8000/x-wrt-nand-factory.bin

 

下載完成
執行命令升級刷機
 
sysupgrade -n /tmp/factory.bin

 

等待5分鍾
完成

注意,刷機用 nand-factory.bin 文件,后續升級,用 sysupgrade.bin 文件。https://dl.x-wrt.com:4443/rom//

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM