<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="Fonera 2100 的DD-WRT固件WEB更新失败的处理方法 ">
<p>
作者:<a href="index.php?action=showuser&amp;userid=1&amp;hash=">admin</a><br />时间:2009-10-30 08:23<br />分类:<a href="index.php?action=list&amp;cid=3&amp;hash=">电脑技术</a><br />内容:
Fonera 2100 的DD-WRT固件WEB更新失败的处理方法


做下列准备工作，将电脑有线网卡ip设置为192.168.1.100，用网线将电脑网口与Fonera2100的Wan口连接


电脑上做如下准备，开始-运行-输入ping 192.168.1.254 -t 回车，保持这个窗口不要关掉。


运行putty,再输入192.168.1.254 9000别点击，窗口留着备用。


好了，把路由器电源断开3秒再插上，这时观察ping 192.168.1.254 -t的窗口，一旦AP有了回馈。立刻点击putty 的Telnet窗口。在启动的10秒内你都有机会能Telnet进去，我是每次都成功。


这时候准备好两样东西一个是tftpd32，另一个是DD-WRT for Fon的V24 SP2版固件名称为linux.bin 。


运行tftpd32把linux.bin放进去，确保你的tftpd32工作在192.168.1.100的ip上。


回到我们刚才Telnet进去的RedBoot命令提示符窗口，继续输入：


ip_address -l 192.168.1.254/24 -h 192.168.1.100


设置好路由ip和tftp的ip后我们开始进入关键阶段了刷DD。


（系统反馈信息。）
RedBoot&gt; fis init
About to initialize [format] FLASH image system &ndash; continue (y/n)? y
*** Initialize FLASH Image System
&hellip; Erase from 0xa87e0000-0xa87f0000: .
&hellip; Program from 0&times;80ff0000-0&times;81000000 at 0xa87e0000: .
RedBoot&gt; load -r -b 0&times;80041000 linux.bin
Using default protocol (TFTP)
Raw file loaded 0&times;80041000-0&times;80662fff, assumed entry at 0&times;80041000
RedBoot&gt; fis create linux


输入完fis create linux就会发现屏幕没显示了，耐心等待吧不要断电这是刷机过程中最长的阶段需要约30-60分钟。


之后就会出现如下信息：


&hellip; Erase from 0xa8030000-0xa8652000: &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;
&hellip; Program from 0&times;80041000-0&times;80663000 at 0xa8030000: &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;
&hellip; Erase from 0xa87e0000-0xa87f0000: .
&hellip; Program from 0&times;80ff0000-0&times;81000000 at 0xa87e0000: .
看见这些你就基本大功告成了，接下来我们还要配置下RedBoot。


RedBoot&gt; fconfig
Run script at boot: true
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Enter script, terminate with empty line
&gt;&gt; fis load -l linux
&gt;&gt; exec
&gt;&gt;
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address: 192.168.1.254
Local IP address mask: 255.255.255.0
Default server IP address: &lt;blank&gt;
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration &ndash; continue (y/n)? y
&hellip; Erase from 0xa87e0000-0xa87f0000: .
&hellip; Program from 0&times;80ff0000-0&times;81000000 at 0xa87e0000: .
RedBoot&gt;reset


重启后你就可以用http://192.168.1.1访问DD-WRT了。再次提醒WEB更新FON固件，需待30分钟以上。不要关闭升级页面。
</p><p>
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
