POPPUR爱换

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

搜索
查看: 9770|回复: 5
打印 上一主题 下一主题

送内存求救 路由器悲剧了 D-LINK DIR-300 刷 DD-WRT 失败了 有何方法可以修复

[复制链接]
跳转到指定楼层
1#
发表于 2010-7-10 20:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 nikeilk 于 2010-7-10 20:42 编辑

看了 http://tw.network01.net/modules/ ... topic_id=73&forum=2
小黑的刷机教程  一步步来刷  最后几个步骤没反应、然后断电了
再刷了好几次才完成所有步骤。 现在应该是刷不成功了

现在192.168.20.80 也不能用telnet接入  192.168.1.1也进入不了

现在只求能刷回DIR-300 ROM

哪位高手能帮我解决好 小弟送个闲置的DDR 400  512M内存  邮费算我的
2#
发表于 2010-7-10 21:05 | 只看该作者
有个东西叫不baidu
回复 支持 反对

使用道具 举报

3#
发表于 2010-7-10 21:27 | 只看该作者
如果还能ping通的话~~~~tftp刷个mini的dd-wrt~~~~
回复 支持 反对

使用道具 举报

4#
发表于 2010-7-10 21:49 | 只看该作者
A2就是DIR-600是刷不死的
LZ那个是A1,应该也和A2类似自恢复模块,没那么容易死的,最多TTL
回复 支持 反对

使用道具 举报

5#
发表于 2010-7-10 21:53 | 只看该作者
本帖最后由 sonicxz 于 2010-7-10 21:55 编辑

帮LZ转些

http://www.right.com.cn/forum/vi ... xtra=page%3D1%26amp;orderby%3Ddateline


谢谢楼上朋友。

是按照一下这个教程刷DD-WRT:

Windows flashing instruction for the D-Link DIR-300 to DD-WRT (by Brainslayer, modified by Sash)

configure your local ip to 192.168.20.80
connect your lan cable to the WAN port of the router.
plugoff the power cord and replug it.
now enter the redboot using telnet and ip 192.168.20.81 and port 9000.
you might need several tries since its only available for 1 second after aprox. 5 sec. of booting
(in the appendix is a windows instruction for easy connecting to redboot)

DIR-300 Info:
IP: 192.168.20.81/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.20.80

now start a local tftp server on your computer and place ap61.ram as well as ap61.rom in the root dir of this server

back to the redboot enter:
load ap61.ram
go

now a new temporarily bootloader should start. (on serial console it will display some warning. but you dont need to care about)
lug you lan cable to the lan port of the dir-300.
reconfigure your ip to 192.168.1.2 and connect via telnet to 192.168.1.1 and port 9000.

important: while doing the following steps. never plugoff the lan cable or the power cord

fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x807f0000-0x80800000 at 0xbffe0000: .

ip_address -h 192.168.1.2
IP: 192.168.1.1/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.2

load -r -b %{FREEMEMLO} ap61.rom
Using default protocol (TFTP)
Raw file loaded 0x80080000-0x800a8717, assumed entry at 0x80080000

fis create -l 0x30000 -e 0xbfc00000 RedBoot
An image named 'RedBoot' exists - continue (y/n)? y
... Erase from 0xbfc00000-0xbfc30000: ...
... Program from 0x80080000-0x800a8718 at 0xbfc00000: ...
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x807f0000-0x80800000 at 0xbffe0000: .

reset

now the unit will reboot and the new bootloader will be executed and is waiting for your connection.
this wil take 30+ sec.

connect to the bootloader with telnet on port 9000 and ip 192.168.1.1

now do the following: (consider that fis create operations are taking sometimes several minutes to finish)

ip_address -h 192.168.1.2
load -r -b 0x80041000 linux.bin
fis create linux

fconfig boot_script true
fconfig boot_script_timeout 4

now type fconfig again and configure the bootscript to
fis load -l linux
exec


刷到这步后结束刷机,进不到192.168.1.1,又采取恢复原版固件




now type reset again. the unit should now boot dd-wrt and work as known from other atheros based platforms

-------------------------------------------------------------------------------------------------------------------
Appendix:
download putty.exe to c:
create a file an c: called redboot.bat with the following content:

rem echo off
:start
rem ------------------------------------------------
ping 192.168.20.81 -n 1 -w 1 > NULL
IF ERRORLEVEL 1 goto start

rem putty
rem ------------------------------------------------
break
putty.exe telnet://192.168.20.81:9000 -m redboot.txt
exit


create a file on c: called redboot.txt with the following content:

^C


start the bat file and power on the router.....here comes redboot



恢复原版固件参考这个教程:http://www.shadowandy.net/2007/1 ... iginal-firmware.htm

将网线插入LAN口,执行完以下步骤,只有电源灯再亮,挂了。

DD-WRT> ip_address -h 192.168.1.2
Default server: 192.168.1.2
DD-WRT> fis init
About to initialize [format] FLASH image system – continue (y/n)? y
*** Initialize FLASH Image System
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0x80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> load -r -b %{FREEMEMLO} dir300redboot.rom
Using default protocol (TFTP)
Raw file loaded 0×80040800-0x800607ff, assumed entry at 0×80040800
DD-WRT> fis create -l 0×30000 -e 0xbfc00000 RedBoot
An image named ‘RedBoot’ exists – continue (y/n)? y
… Erase from 0xbfc00000-0xbfc30000: …
… Program from 0×80040800-0×80060800 at 0xbfc00000: ..
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0x80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> reset
1.jpg (18.65 KB)

刷DD-WRT所用文件

2.jpg (15.67 KB)

恢复原厂固件使用文件

http://www.right.com.cn/forum/vi ... =1&extra=#pid256789

dir-300 Jtag接法
第一根是ntrst第二根是gnd第三根是tdi第五根是tdo第七根是tms
第九根是tck第十四根是vcc
回复 支持 反对

使用道具 举报

6#
 楼主| 发表于 2010-7-10 23:58 | 只看该作者
谢谢楼上各位朋友 明早我拿路由器再试试这些方法
今晚回来很晚了 本来DIR-300也算可以的 很稳定  手痒搞到刷错了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

广告投放或合作|网站地图|处罚通告|

GMT+8, 2025-2-25 00:08

Powered by Discuz! X3.4

© 2001-2017 POPPUR.

快速回复 返回顶部 返回列表