Mini Flashing Guide for DIR-300
If you are flashing to DD-WRT v24 RC7. Check out this flashing guide instead.
Similar models: DIR-301
If you are using DIR-400, check out Mini Flashing Guide for DIR-400 instead.
FAQ
The FAQs for Flashing DIR-300 to DD-WRT can be found here
Required
- Temporary RedBoot (ap61.ram): Download file
- ap61.rom, linux.bin from DD-WRT v24 RC4 or newer
- TFTP Server up and running, ready to serve the required files, e.g. PumpKIN
- Putty (telnet client) - Chosen because it helps you to Ctrl + C
Getting into RedBoot
- Connect the network cable to your ethernet port and the WAN port of DIR-300.
- Configure your System IP address (static) to be 192.168.20.80/255.255.255.0.
- Hold on to the reset behind the DIR-300.
- Power on the DIR-300 while holding on to the reset button. Hold the reset button for 30 seconds while it is booting.
- Release the reset button
- Telnet to 192.168.20.81 on port 9000
- You should be greeted by the RedBoot prompt. RedBoot>
Loading in the temp boot loader
RedBoot> load ap61.ram
Using default protocol (TFTP)
Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
RedBoot> go
It is normal to be disconnected from the telnet session.
Note: Do not reboot the router.
Loading a new boot loader
Before proceeding, set your system IP to 192.168.1.2/255.255.255.0 and then telnet to the new address 192.168.1.1, port 9000.
Note: You may need to connect the ethernet cable to the LAN port instead of WAN port.
After you are connected, follow the steps below
DD-WRT> fconfig -i
Initialize non-volatile configuration - continue (y/n)? y
Run script at boot: false
Use BOOTP for network configuration: true
Default server IP address:
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 - continue (y/n)? y
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
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 0×807f0000-0×80800000 at 0xbffe0000: .DD-WRT> ip_address -h 192.168.1.2
Default server: 192.168.1.23DD-WRT> load -r -b %{FREEMEMLO} ap61.rom
Using default protocol (TFTP)
Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000DD-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×80080000-0×800a8718 at 0xbfc00000: …
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×807f0000-0×80800000 at 0xbffe0000: .
DD-WRT> reset
Your DIR-300 will reset at this point. Telnet to it (192.168.1.1, port 9000) after it has finish resetting. (approximately 30+ seconds)
Configuring the Putty Client
- Right-click on PuTTY Client’s title bar
- Select “Change Settings…”
- On the “PuTTY Reconfiguration” window, change close window on exit to Never
- Click on the Apply button
Loading in the new firmware
It is important that you don’t disconnect the power or ethernet cable for this section. Those fis create commands take quite some time to complete, so do be patient and don’t interrupt the process.
DD-WRT> 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
DD-WRT> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
… Erase from 0xbfc30000-0xbffe0000: …………………………………………………..
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> load -r -b 0×80041000 linux.bin
Using default protocol (TFTP)
Raw file loaded 0×80041000-0×803cffff, assumed entry at 0×80041000
DD-WRT> fis create linux
… Erase from 0xbfc30000-0xbffbf000: …………………………………………………
… Program from 0×80041000-0×803d0000 at 0xbfc30000: …………………………………………………
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> fconfig boot_script true
boot_script: Setting to true
Update RedBoot non-volatile configuration - continue (y/n)? y
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> fconfig boot_script_timeout 3
boot_script_timeout: Setting to 3
Update RedBoot non-volatile configuration - continue (y/n)? y
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> fconfig bootp false
bootp: Setting to false
Update RedBoot non-volatile configuration - continue (y/n)? y
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> fconfig
Run script at boot: true
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Enter script, terminate with empty line
>> fis load -l linux
>> exec
>>
Boot script timeout (1000ms resolution): 3
Use BOOTP for network configuration: false
Default server IP address:
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 - continue (y/n)? y
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> reset
The default username and password are “root” and “admin” (without the quotes) respectively. Enjoy your new DIR-300!
Note: Don’t worry if you can’t get an IP from your modem (through the DIR-300 on DD-WRT). It is a bug of DD-WRT. Do the following steps to resolve it:
- Disconnect the network (ethernet) cable between your modem and DIR-300
- Reboot both the modem and DIR-300 and wait until they have fully booted up
- Connect the network (ethernet) cable between the modem and DIR-300
Note: If you need to change the value of “Run script at boot:” from false to true, use the following command before running fconfig:
fconfig boot_script true
Like to buy shadowandy a cup of Starbucks?
dd-wrt on DIR-300
Brainslayer has released DD-WRT v24 pre-RC4 and it supports another two of D-Link’s router, namely - DIR-300 and DIR-320. He’s kind to enclose this flashing guide. He flash his DIR-300 using console cable while I did mine without one. After…
Thanks for the flashing guide! It work fine for me.
linky,
You are welcome.
DIR-300 (DD-WRT) bittorrent test
I did a bittorrent test on DIR-300 on its D-LINK firmware earlier this month. Well the router seems capable of handling moderate bittorrent load then. Recently, Brainslayer released DD-WRT firmware for DIR-300. Hence it prompted me to redo the bittorre…
Flashing DIR-300 back to original firmware
Finally found a way to flash back a DIR-300 (running DD-WRT) back to D-Link firmware. It is a great thing that they have included the emergency web server in the RedBoot. DD-WRT version of RedBoot had stripped it out though….
Thanks for the flashing guide! It took me some nearly 1-2 hrs to get it right LOL.
DO u might if i make a suggestion? Like in your guide, maybe u can BOLD the text that u are supposed to type in? For example in this line: “fis create -b 0×80041000… rootfs” its very long and at first i thot it was 2 lines Haha. I’m a linux idiot and it took me some time to figure out which one u suppose to type hahaa
after i’ve done flashing my DIR-300, now i can’t connect to the internet using PPPoe….. -_-” do any of u guys hav tis problem?
Philippecr, it is a dd-wrt bug. Disconnect the network cable between your modem and DIR-300. Power cycle both devices, wait until they have finished booting. Connect your network cable between the modem and DIR-300.
ZeroEx, you are welcome. Point noted. I guess I will have to explain somewhere within the guide. Hope you are having fun with your DIR-300 now.
Just curious, what are the factors that would make you flash to a 3rd party firmware (and potentially voiding warranty)? Presence of help on firmware? Availability of methods to flash back to original firmware?
Hi shadowdandy,
I tried to flash mine. Followed your steps but I’m stuck at the part ‘Loading a new boot loader’
After I changed my comp’s IP to 192.168.1.2 and tried to telnet to my router (192.168.1.1 port 9000), i was shown the dd-wrt prompt straight away instead of the redboot prompt that was supposed to appear.
Any idea what went wrong? Thanks alot.
Ray, there is no harm trying to reload the boot loader again (ap61.rom). Do proceed from there and you would be fine.
Thanks andy, yeah everything is very smooth with the DD-wrt firmware, much much better than the old firmware.
As to your questions, primarily was that the original firmware cannot achieve wat i want to do, even normal BT got lots of problem(only 200 connection and my http traffic will get timed out, i get frequent DC or router hang, xbox live can log in/ download but cannot connect fully, ie always get server down/busy when trying to start a online game)
I have ‘documented’ my ‘progress’ on hardwarezone, in the thread titled ‘DIR-300′, using this nick.
http://forums.hardwarezone.com/showthread.php?t=1745278
In short, i was prepared to throw this router out the window out of frustration…. until NOW. It was a “what the heck, lets do this before i throw it downstairs” move.
I am sooo happy with it now, cos all the aforementioned problems are now non-existent!
I can connect to xbox live game, with BT(200-500 connections), http and downloading, wireless connection on laptop all working concurrently!
So once again…. many thanks!
P.S. U might want to add the bug notice on the main page after the instruction cos i encountered it the first time as well, and i spend an hour trying to troubleshoot it without knowing abt the bug. hahaa
Oh btw, i just remembered something, in the section labeled: “Loading a new boot loader” where u type “RedBoot> fconfig -i”, my command prompt was no longer showing “RedBoot>” after i type “go” and reconnected. Its was showing “DD-WRT>” (wonder why), but i just follow exactly and it worked.
(if that sounded stupid to u, remember i am a linux/redhat noob, completely no experience with linux cmd line so… ^_^;;)
ZeroEx, thanks for the insights. Perhaps I copied and paste the wrong codes when formatting the logs for html. As you can see I bolded the prompts and perhaps I accidentally replaced it.
Have lots of fun with your DD-WRT enabled router. If you are more technical, you should try OpenWRT kamikaze if it is available for DIR-300. It is much more customizable than DD-WRT.
Don’t forget to help your friends convert DIR-300 to DD-WRT when they need help.
3rd party firmware is all about helping one another. 
Thanks so much it worked without major problems =D
Just a question, it seems that I can only connect to the network (wireless) in B mode. When I disable B and enable Only G my laptop stops recognizing the network (my laptop is G capable). Do you know what might be happening ??
Thanks !!!!
So if I get it right, RedBoot is already on the router but to access it I need to hold the reset button for a good 30 seconds?
Atnum, yes.
I’ve used the original firmware before, no matter 1.0 or 1.02 and always facing a sudden death… V_V I flashed my DIR300 finally with DD-WRT…. A great thanks from Hong Kong
Ken, welcome! I missed Hong Kong. Hope to travel there again to get some Gundam decals.
I cannot connect to internet using PPPoe after flashing ddwrt, even I have disconnected the network cable between the modem and DIR-300. Power cycle both devices, wait until they have finished booting, and connect the network cable between the modem and DIR-300.
How to fix this problem?
You will have to rush brainslayer of ddwrt write updated f/w for the PPPoE bug(Yes, it is still buggy.)
Sorry for asking stuff again but I am a total noob on this.
After this part:
RedBoot> load ap61.ram
Using default protocol (TFTP)
Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
RedBoot> go
I do not get disconnected or anything… It just doesn’t do anything… Is this normal? Or is this because it is still loading the ram file. I waited like 15 minutes then gave up and closed the connection myself… Connecting to 192.168.1.1 wasn’t possible though, and yes I changed my system IP.
What am I doing wrong?
After the part:
RedBoot> load ap61.ram
Using default protocol (TFTP)
Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
RedBoot> go
It just sits there doing nothing… I don’t seem to get disconnected but it doesn’t go back to letting me give it commands. Is this normal? Is this the time to close the telnet window, change my IP and reconnect to the DIR-300 on 192.168.1.1?
I doubt it is loading the file, I let it sit for 10 minutes… When I TFTP the same file from another computer it only takes like 15 seconds or less maybe.
Sorry for double (now triple post) think my browser made a mistake when refreshing since it didn’t show my other post till I made the last one
Atnum, it is weird that the DIR-300 didn’t disconnect you after loading the ap61.ram. What’s your current firmware version? Perhaps you might want to do a factory reset then try again. Not sure if it will help but no harm trying.
Hi guys. I’m really a noob with this (but with some brain, hope its helps lol)
From what I understand, I need to download the requiered files (TFTP server is included) and I have to find somewere a ny telnet client…Right?
I suppose to put all those instruccions on the telnet client. .. ok?….
I don´t understand how TFTP server comes in play, Do I have to only double-click it and leave it open? Do I have to configure it in some special way?
This is what apears when I open it:
TFTP Server V1.04
=================
Usage : tftpsrv [w] [p] [dRootDirectory]
w : enable write accesses
p : protocol server actions
d??? : define a root directory
TFTP Server successful started
Thanks in advance for your help
Pablo, perhaps you wish to try a simpler tftp server. Check out PumpKIN
Autumn:
I got tat too when i tried to flash the last time. After abt 10 sec, i press “enter” again on the same screen and I got in. Weird…
Thanks. I’ve already done a sucefull upgrade to RC4
P2P working great with 1000 conections and 100 half open…(didn’t needed/tested more)
UPnP also is working lot better (Dlink original firmware didn’t forward 100% of the UPnP requests)
The only problem I found is the WLAN-LAN Speed….Used to be 2 - 3,2 MBytes/s and now is 300 K - 1000 KBytes/s
I cant find the problem…checked signal power, ACK Timing to 0, tried turning off Firewall and WPA, etc….with no improve…
Anyway….I love my DD-WRT “brand new” router!!
ah crap. i think my sister bricked the DIR-300.
i’ve flashed into DDWRT once, but it bugged out and i went to Dlink fw 1.03, but it’s ALSO bugged out (no wifi) so i tried reflashing to DDWRT. after this step
DD-WRT> fis create -b 0×80041000 -f 0xbfc30000 -l 0×002C0000 -e 0×00000000 rootfs
i went to my room to check on a few things and when i came back my sister disconnected the ethernet cable. now i can’t telnet to it even if i do it the instant the link is up. the window disappears instantly. help please? ;_;
lx,
Just remove the power and attach the power again and start from the section Loading in the new firmware. If you had flashed the ap61.rom correctly, it would accept your telnet.
thanks man, it worked. the problem now is that it seems wireless still doesn’t work! i have no idea what’s going on, but it seems like the wireless network turns itself on and off in around 10 second intervals.
same thing happens on Dlink firmware.
ohhh man, i can get WAN IP adds from the ISP, but the DIR-300 never seems to let me go online even on LAN.
even P2P doesn’t work. i’ve set the gateway and DNS to 192.168.1.1 already, and i can go to 192.168.1.1 to set things up. i just can’t access the internet. can i reflash DDWRT WHILE i’m on ddwrt or do i have to go back to dlink fw?
Hi, stupid question, but, why can’t you upload the .bin directly from the browse button of the original firmware?
Ix
Well, probably power cycle both your modem and DIR-300. If it still doesn’t work, update to the latest DD-WRT through the DD-WRT web interface.
kromak,
You can try uploading the DD-WRT firmware and check it it works. Normally they got their own unique check to ensure that the firmware is for that set. If it is not a recognized firmware, the flashing procedure wont be completed.
I’ve followed the steps and worked like a charmed. But on this line at the end (the second time) “Use BOOTP for network configuration: false” I entered true by mistake… will it have any adverse effect?
I’ve followed the steps and worked like a charm. But on this line at the end (the second time) “Use BOOTP for network configuration: false” I entered true by mistake… will it have any adverse effect?
kromak,
it would not have any adverse effect. If you wish, you can telnet in when the DIR-300 just booted up and start filling in the correct values by starting from the fconfig step.
Well… after trying RC5 for a few days, I had to flash back to the original firmware… I kept losing my IP (although if I connected directly to the modem it worked perfectly, so it was a dd-wrt problem). I’ll wait for it to be more stable before trying it again. Thanks for the guide anyway =)
i have problems with pppoe, even waiting to connect the wan wire…the second problem is the boot time…it take more than a minute to boot up
do you now why?
Leandro, from argentina.
[kromak:
I've followed the steps and worked like a charm. But on this line at the end (the second time) "Use BOOTP for network configuration: false" I entered true by mistake... will it have any adverse effect?]
……………………………………………………………
DD-WRT>fconfig bootp false
DD-WRT>fconfig
…last config
DD-WRT>reset
Hi…
Sorry for my bad english…
I flash the dir300 but I can´t change fron the web the mode or any other parameter.
Simply!!! Wen I change sommething, a blanck page result. Wen I reload de page the status show de standart configuration.
How can change this??? For console I can??
Hi shadowandy,
The guide is really great, but I’d like to flash myy DIR-300 with OpenWRT. However google returns no queries on how to do this. Can you help me here ?
jln_email,
Sorry I don’t get what you meant. Does your browser come with any javascript blocking tools?
logan,
Didn’t really have time to try the latest version. If I remember correctly, the last time round I tried, the wireless isn’t working for openwrt.
Thanks for replying shadowandy !
So you were the one who made that ticket to openwrt trac about wireless.
wireless is not important for me ; I just prefer openwrt to dd-wrt. I can wait till the wireless is fixed. Can you please great another guide on how to do it for openwrt ?
That would be awesome !
Thanks for replying shadowandy !
So you were the one who made that ticket to openwrt trac about wireless.
wireless is not important for me ; I just prefer openwrt to dd-wrt. I can wait till the wireless is fixed. Can you please great another guide on how to do it for openwrt ?
That would be awesome !
Sorry for double posting, I thought it wasn’t sent the first time
Good luck for your exams btw !
although there’s an included flashing.txt in the dd-wrt site, this is better. thanks for the simplified guide…
now my problem is how to connect my WRT54G which has also dd-wrt with the DLINK-300 via WDS. I had limited success, was able to ping both router only via wired connection, never on wireless which defeats my purpose….
have any of you tried WDS on different hardware and DD-WRT version?
kramfs.com
Unfortunately, I didn’t really try WDS on different equipment as I didn’t have the need to. I’m using a DIR-655 as the main router.
Perhaps you can upgrade the WRT54G to the same version of DD-WRT. It should work in my opinion.
Hi Guys, I’ve flashed 2 dir-300 with v24 RC5.
i had some problems with pppoe (didn’t connect) so i configured to obtain an IP from the modem (its a modem router pirelli -very popular in Argentina-) and worked for an hour and then again no internet connection. I pinged the modem a the dir-300 and obtained a response.
What can i do? I think the best way is to configure the PIRELLI modem to work just as a modem (no a router) so i can route from d-link and take advantage of the dd-wrt features.
Sorry for my English.
Thank you in advance
Hi shadowandy, after I read a lot about dd-wrt i decided to follow your guide and the procedure was successfull but in the middle I had problems because i follow this instruccions in a Vista machine. I highly recommend to everybody that use a XP machine to follow this mini guide. Thanks a lot for this guide. Question: in the list of files, it exists a file called dir300-firmware.bin but I didn’t see that the flashing procedure used it. What is this file? Apologize about my english, I’m from Colombia
Carlos,
Well that dir300-firmware.bin file is to let you upgrade to newer dd-wrt firmwares through dd-wrt web interface. In the future, you can upgrade to newer dd-wrt versions without going through all these commands.
Guillermo,
You might want to upgrade to the latest dd-wrt version for dir-300. It fixes a few bug.
Hi I am just curious about the bug that you have mentioned about not getting an IP from the modem. We have to disconnect the ethernet between modem and DIR-300, reboot both devices and then after fully booting, we have to connect those two right?
Now my question is that if are we supposed to do this everytime? Well the problem is that my aunt turns off the router and the modem every night. Do we have to do this process everytime we start the router and the modem or do we just do it the first time?
Which version do you advise me to use on DIR-300? The RC24 v5 or the RC24 v6.2?
Thanks a lot! Hope for your fast response!
Im itching to put DD-WRT on my router. I just had to clear some concerns. ^_^
Xhitman,
That bug only exists in RC24 v5. Use the latest version is recommended.
Hi thanks for the heads up! I just flashed my router successfully.. Im currently trying it out for more features.. BTW my laptop is a little far from the router and I am getting only 25% signal Quality. Is there any software setting that i could tweak inorder to increase the quality?
Ive heard the TX Power can be changed. What value should it be?
Below is my current status for the wifi
MAC Address Interface Rate Signal Noise SNR Signal Quality
xx:xx:xx:xx:xx:xx ath0 5M -79 -105 26
18%
I have a DIR-301, looking exactly identical as the DIR-300, only shipped with a wireless usb dongle in a packaged called DKP-110 i think. Could these two routers, DIR-301 and DIR-300, be in fact the same routers?
Solved! Dir-300 and Dir-301 is the same router, confirmed by Dlink.
Joksi,
Wow! Sounds like you are going to flash your router to dd-wrt after this comfirmation by D-Link.
after this:
RedBoot> load ap61.ram
Using default protocol (TFTP)
Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
RedBoot> go
lan connection resets
and
PumpKIN says:
Transmission of ap61.ram is timed out
Transfer of ap61.ram was aborted
Whats wrong? plz help
Thanks for the flashing guide. It was so much simpler and easier to understand than the one included with v24 RC5. Getting into RedBoot was the trickiest part.
thanks for the guide, but i did all right and now my dir-300 doesn`t answer.
neel,
It is normal that the lan connection resets as mentioned in the guide. You should proceed with the next step of flashing the device.
mochablob,
You are welcome. Getting into the redboot is indeed the trickiest part but this guide offers a simpler method than the one in the RC5 guide.
enrique,
Perhaps you could share what did you do. Cos if you did it right, you would be like the rest of the people - running dd-wrt on their DIR-300.
hello
im from chile and i just flashed my brand new DIR-300 but i flashed with and old realesed of dd-wrt ( v24 rc-4 ) now i want to change to a newer version. do i have to follow all the steps above?? or i can do it using the web option??? by the way the router works great but i can´t connect to internet (pppoe)
Hi zaiper,
I think it would be better to follow the steps above as there are users who had bricked their DIR-300 while changing to RC7
Hello,
I had problem to send the ap61.ram by TFTP to DIR-300 that stop at 79%, i tryied tftp by dos, tftp server softwares, etc…
Msg received:
RedBoot> load ap61.ram
Using default protocol (TFTP)
Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
can someone help me ?
fullgazz,
Try using PumpKIN. Anyway it seems to me that it has loaded the ap61.ram. You can type “go” and proceed with the guide.
hello,shadowandy! sorry for my pool english.
i hava been flashed the dd-wrt firmware.and this afternoon i update the V24 firmware with the web Interface,then it show successful. but my router did not work.the wireless is disappear (wireless light is dark).then i link to lan port ,it can not ping 192.168.1.1 (is it my router disppear?). and i link to wan port . i want to flash again.but it never can telnet my router. how can i do? can you help me?
jason,
perhap you can try resetting the router by holding on to the reset button while the router is powered on as mentioned here
Hi shadowandy, great tutorial! are you using the latest v24 stable? I installed it successfully, but PPPOE won’t reconnect after a few hours. Any similar experience? I went back to dlink firmware 1.03, and I’ll try installing v24rc7 instead. Thanks!
mark,
Upgrade to v24 rc7 using this guide as upgrading through web ui doesn’t really work.
Hello shadowandy,
I tryied the command “go”after the TFTP by PUMPKIN (back a msg of timeout), the lights of LAN turn on, but i cant telnet to 192.168.1.
Does anyone had that problem before?
add me pls. (I have others tricks to pass too.)
(Fullgazz_rj@hotmail.com)
[...] podr
hi shadowandy,
v24rc7 worked well for around a week, but now it can’t connect to PPPOE again. any similar problem? thanks!
[...] Check out the flashing guide [...]
Restart only the modem?
Hi shadowandy
Not sure if you can amend the mini guide as root.fs and vmlinux.bin.l7 is no more required and the link http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Frelease+candidates%2FDD-WRT+v24+RC4%2FD-Link+DIR300/ is no more vaild.
Thanks!
Brian,
I actually made another guide. Well I guess it is better to update this guide instead. Thanks for the advice!
It works now, I restored factory settings. When it happened again I just set the connection to DHCP and back to PPPOE. Not sure why it happens though. Thanks!
[...] podr
hi shadowandy,
I followed ur guide to flash my Dir-300, but when I came to the following part:
DD-WRT> fconfig
Run script at boot: true <—-(this part)
At “this part” I cannot change from the default “false” to true. I was trying to backspace to remove it, but it gives me funny signs to I closed the telnet session and see if I can change some keyboard setting. After that I cant log on the the router anymore with telnet…Did I bricked my Dir-300 ? Pls help thx. What can I do from here ?
Someguy,
Have you flashed the redboot? Or are you trying to flash it?
I actually came to the section “Loading in new firmware” of ur guide. I went thro the followings:
DD-WRT> 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
DD-WRT> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
… Erase from 0xbfc30000-0xbffe0000: …………………………………………………..
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> load -r -b 0×80041000 linux.bin
Using default protocol (TFTP)
Raw file loaded 0×80041000-0×803cffff, assumed entry at 0×80041000
DD-WRT> fis create linux
… Erase from 0xbfc30000-0xbffbf000: …………………………………………………
… Program from 0×80041000-0×803d0000 at 0xbfc30000: …………………………………………………
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> fconfig
Run script at boot: true ” anymore. I’ve been trying several times now and it still giving me the samething. So is there anyway I can fixed this problem? or I bricked my router ? Pls help, thx
Just ignore my last reply. This is what I’m trying to say:
I’ve flashed the Redboot. I’ve been getting DD-WRT> prompt instead of Redboot. Under the “Loading in the new firmware” section, the part of fconfig, something went wrong and I closed the telnet session. Now I’m having problem accessing the router. I cant telnet to it with ip: 192.168.1.1 port:9000. I try to ping 192.168.1.1 (which I believe should be the router new ip addr) I get no reply….so does it mean I bricked my router? Is there anyway I can find out the ip of my router? Pls help, thx.
Shadowandy,
Sorry for all the previous replies. After a few trials and error I realized, I havent bricked my router yet(Thx goodness). I just have one problem…under the “Load in new firmware” I came to the following part
DD-WRT> fconfig
Run script at boot: true <–(this part)
The default value of “Run script at boot:” is false, I tried to hit backspace to change the value, but it dont allow me to do it. How do I change it to true? I hope this is all the help I need..thx.
p/s: I know it could be just telnet setting I might need to change with my keyboard, sorry for the noob question. (I’m using putty telnet as u suggested)
Someguy,
Before you do the fconfig, issue the following:
fconfig boot_script true
Then run your fconfig
shadowandy,
First of all, thank heaps for the wonderful guide and your hasty replies. After I followed you advise on altering the boot script setting, I faced with the following 2,
Boot script timeout (1000ms resolution): 3
Use BOOTP for network configuration: false
Default setting for timeout is 0
and use BOOTP for network configuration: true
To which I decide to try out the similar command for editing the boot script u told me above….and it works!
Now my Dir-300 is up and running DD_WRT ! Yahoo !
Thx again, shadowandy, u’re a great guy.
I think I’ve really bricked my router. Can’t telnet to it anymore, both 192.168.20.81 and 192.168.1.1.
I was up to the “Loading in the new firmware” and when
DD-WRT> fconfig
Run script at boot: true <–(this part)
i got false like Someguy did, so I went away to research, but then power cutout for a second(some bastard drive into the power pole down the street).
I tried getting back into RedBoot, but i dont get the prompt, and 192.168.1.1:9000 gives me an empty window, also without prompt.
Anychances of reviving it? just brought it today to flash to DD-WRT =(.
Longweekend as well so shops wont open monday to exchange under an excuse.
Someguy,
You are welcome.
Will,
Just power cycle the DIR-300 can try to gauge the time to telnet in from the ping replies.
Do a continuous ping to the DIR-300, power it up and time how long does it takes to give you the first successful reply.
Based on that value, power cycle the DIR-300 and telnet in around that recorded amount of time and continue with your fconfig.
Which address should i telnet to? 192.168.1.1(with pc on .2) or 192.168.20.81(with pc on .80)?
Will,
The address you should try to telnet to should be 192.168.1.1
I tried multiple times having a
ping -t 192.168.1.1 running in the background.
Set Putty to 192.168.1.1:9000 telnet, and open the second i recieve a
Request Timed Out for the ping.
I just get a black/blank putty window =(
OMG, It just worked! Got back to the DD_WRT> prompt after i left the ping to run after timing out. Thought I was a gonner for a few hours, justa poor highschool buy without a job and a big intrest in tech hehe. I’ll see how i go with the fconfig and setting the pram before hand
Will,
Congrats! Make sure you follow the suggested commands! :). By the way, how much does the DIR-300 cost in Australia?
Its possible to pick one up form a regular PC retail shop for under AU$60. I brought mine on a Saturday so only one PC shop in my area was open($61 after member discount($65)).
I saw a online(reputable) online shop list them for $50.
One question, does anyone know what is the MAXIMUM Tx power for this router?
Hi,
I can`t find the firmware file =(
the link in requirement #2 doesn`t seem to be working and I want to be really sure of using the correct firmware for DIR-300. Can someone please point me to it?
Thanks a lot!!
fede,
DD-WRT refreshes their links whenever a new revision is out. You can try downloading from here
Olá amigo, gostaria de ajuda, não consigo acessar RedBoot, router não da ping depois do flash em 192.168.1.1
preciso de ajuda
__
Hello friend, I would like to help, can not access RedBoot, not the ping router after the flash in 192.168.1.1
need help
sorry
hi! After this step:
DD-WRT> reset
Your DIR-300 will reset at this point. Telnet to it (192.168.1.1, port 9000) after it has finish resetting. (approximately 30+ seconds)
I can’t connect to router by telnet.
what i must do? how i can recover my DIR-300.
Sorry 4 the bad English.
daniel -brazil- florianopolis & nick_doors,
Does the router’s led flashes or gives any visible response?
Hi there,
I just got my DIR-300 and followed the instructions above, but i ran into one problem. After i do fis create linux, I get the correct response as shown in your guide, but when i enter fconfig, I get :
Run script at boot: false
I cannot setup the srip afterwards so I am stuck.
Can you please tell me if tehre is any way to change that false into true (cant delete it, just press enter)
Thx
PT,
Before you run the fconfig, type the following command
fconfig boot_script true
Hope it helps
First of i’ll like to thank you for your guide, it helped me alot.
However currently i’m trying to increase the routers’ TX power but it can seem to go past 17dBm.Is there a solution to this?
i think i bricked my router. i followed ur steps and some of the steps dun work. now i cant get back to the “DDWRT>” prompt. pls help.
Ash,
It would be better if you could share which few steps didn’t work.
Hi shadowandy,
thank you for your guide, i got dd-wrt on my dir-300. I have a problem though, my router gets WAN ip, but I cannot get on the internet nor can I get on http server inside my modem. I remember that one thing in your guide was different in my installation and that is in the last part where you have “Use BOOTP for network configuration: false” mine was true and I couldn’t change it. Is tehre a way to do the fconfig process when I am already running dd-wrt? Thanx for your help.
[...] este router ya que se le puede instalar el firmware dd-wrt para ampliar sus funciones… siguiendo esta gu
shadowandy
only power led flashes. i return my DIR-300 in shop. i sad that router does not work and dont know what happens with it ^^
now i should to wait 9 days and thay answer to me. I bought Zyxel 330!
Hey shadowandy, awesome guide.
Quick question - is there any way to change the MAC address of the LAN, WAN and wireless interfaces, either in DDWRT, or RedBoot after the router has been flashed to DDWRT?
Can’t seem to find any instructions to do this on the web for this router, appreciate any help, thanks!
I think I bricked my router…. :/ Just wanted to let you all know how it went, because I was copying text from the telnet session. Basically, it all came down to this step:
DD-WRT> fis create -l 0×30000 -e 0xbfc00000 RedBoot
with the answer being
… Erase from 0xbfc30000-0xbfc60000: …
… Program from 0×80080000-0×800a8718 at 0xbfc30000: …
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
Notice the addresses are wrong… So I’m pretty sure the thing is not going to work again. I’d be interested in knowing why that happened, anyway… I know for a fact that I typed correctly, as I’m pasting from the capture from the telnet session, and that was pasted from the site… Repeated a couple of times, same result, now the thing is bricked (no ping reply after a dozen powercycles).
Was there anything I could have done? I mean, if I understand the command I’m asking for entry point to be one and the thing decides to start elsewhere… Maybe a heads up for someone getting into the same issue…
I was running firmware 1.03, by the way, and things were much better than the original 1.01… Still, after two days of moderate BT (max 150 connections total, 2 or 3 torrents active) the thing listed over 1200 active connections and crawled, so that meant resetting the router via web interface 3 times a week. I thought maybe i’d get better performance from DD-WRT, but it’s actually much worse now (since it died!)
Do I have any options at this point (other than getting a new router)?
Thanks for the guide and work anyway, as it seems I’m the only one having this sort of trouble…
@Juan Miguel,
Which part of your addresses are wrong? It’s is the same as ShadowAndy’s result. Seems like you didn’t proceed with the guide and declared you failed to follow correctly.
QUICK UPDATE: Well, that was interesting! :p I realised that because the original RedBoot wasn’t overwritten, I should be able to access the emergency web server described on the article on flashing back to original, so I’m reverting back to 1.03 for the moment. YES, that means I could go back to square one and redo the whole thing, but I’m not going to unless I understand what went wrong the first time….
I’m writing using my dir300 as usual, re flashing original firmware was a success…
Anyway, any ideas on why the address turned up incorrect on previous post?
(… Erase from 0xbfc30000-0xbfc60000: …
instead of
… Erase from 0xbfc00000-0xbfc30000: … , etc.)
@ Kelf
Thanks for replying, man!!
shadowandy’s is
… Erase from 0xbfc00000-0xbfc30000: …
… Program from 0×80080000-0×800a8718 at 0xbfc00000: …
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×807f0000-0×80800000 at 0xbffe0000: .
mine is shifted by 30000 on first two lines, and also different on last one:
… Erase from 0xbfc30000-0xbfc60000: …
… Program from 0×80080000-0×800a8718 at 0xbfc30000: …
… Erase from 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
the command I issued to get that result is
fis create -l 0×30000 -e 0xbfc00000 RedBoot
which is copy-pasted from here… Well, more on that below :p
Because the location is different I didn’t get the warning on overwriting a previous RedBoot as stated on the guide (makes more sense now?).
On a completely unrelated note, two more guys on the “flashing back to original firmware” topic stumbled upon a little quirk trying to copy-paste the commands because of this very line (fis create -l 0×30000 -e 0xbfc00000 RedBoot). If you check the page code, you’ll notice it’s using an escape code for the first x on 0×30000 making the command impossible to run if pasted straight into the telnet window. Just type the thing, or paste into notepad, then retype the x, then copy-paste from there… Hope that helps! Then again, I’m not such a hot model to be following right now!
Thanks again for your time, Kelf!
hey …i just finished flashing my dir 300…but something funny happend..my wireless seems to stop functioning…and the wireless only works when i plug the LAN cable to my desktop PC….please help to get my wireless router to work again..without plugin it to my destop pc
So, i’m flashing from the original dlink firmware directly to v24 RC7, should i use this guide or the other one?