Download Print this page

Install Redboot; Install Dd-Wrt - D-Link DIR-300 Manual

Hide thumbs Also See for DIR-300:

Advertisement

D-Link_DIR-300_rev_A
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). It will be waiting for connection at the LAN side of the router, so follow the instructions
that follow. Plug off your cable from the wan port and reconfigure your local (computer) ip to 192.168.1.2 (set
your DHCP server to serve 192.168.1.1 as the only address in the DHCP pool and the TFTP must also be
available at 192.168.1.2). Now you should be pluging on to any of the lan ports. Then connect via telnet to
192.168.1.1 (or to the ip your dhcp server served to the redboot) and port 9000. A DD-WRT> prompt should
welcome you.
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 will
take 30+ sec.

Install DD-WRT

The following will work for the initial flash AND a recovery
connect to the bootloader with telnet on port 9000 and ip 192.168.1.1 (If you have installed Micro_Redboot
read the wiki page about it first)
now do the following (consider that fis create operations are taking sometimes *several* minutes to finish, in
my particular case it took more than 5 minutes):

Install RedBoot

2

Advertisement

loading