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//