找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5440|回复: 4

杯具了,DIR300 A1版刷挂了

[复制链接]
发表于 2010-6-21 04:35 | 显示全部楼层 |阅读模式
现在只有电源灯亮
刚到手的全新行货,应该是彻底刷挂了。
发表于 2010-6-21 06:27 | 显示全部楼层
换是最好的选择目前。
发表于 2010-6-21 15:17 | 显示全部楼层
我从原厂固件刷DD也挂过,但又救回来了,,,

说一下你怎么刷挂的(过程),到那步死的,也许我可以帮你,,,
 楼主| 发表于 2010-6-22 00:11 | 显示全部楼层
谢谢楼上朋友。

是按照一下这个教程刷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/10/flashing-dir-300-back-to-original-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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
 楼主| 发表于 2010-6-26 01:14 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-17 07:43

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

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