Upgrading to dd-wrt v24 standard
Note: This guide is for users who have “bricked” their routers while trying to upgrade to dd-wrt v24 rc7 from dd-wrt v24 rc6. For flashing to dd-wrt from the stock firmware, you can refer to the Mini Flashing Guide for DIR-300.
It seems like quite a few users have “bricked” their router while trying to upgrade to the final dd-wrt v24 from rc6. Well, the device have not really bricked, it is just that the name of the flash image has changed and hence the system cannot boot pass the redboot. Not sure if it due to the new firmware, bootp was also switched to on, causing the system to take its own sweet time to get into redboot. It took around 30 to 40 seconds before I could actually telnet in.
Required
- linux.bin from dd-wrt v24
- 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
Getting into Redboot could be a bit tricky. You can gauge the time you need to telnet to the DIR-300 by using continuous ping (ping -t -l 1 192.168.1.1) and then turning on the power to the unit. You should see mixed replies of hardware error, ping failures and a couple of successful pings. Try timing the amount of time it takes for the first successful ping from the time you turn on the power to the unit. So you should telnet to the DIR-300 at around that point of time.
- Connect the network cable to your PC’s ethernet port and the WAN port of DIR-300.
- Configure your System IP address (static) to be 192.168.1.2/255.255.255.0.
- Telnet to 192.168.1.1on port 9000
- You should be greeted by the DD-WRT prompt. DD-WRT>
== Executing boot script in 2.070 seconds - enter ^C to abort
^C
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
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
Have fun with your dd-wrt!
Wow! I almost thought my device have died from upgrading to dd-wrt v24 rc7. Thanks for the guide!
[...] you are flashing to DD-WRT v24 RC7. Check out this guide [...]
Hi I keep getting this error…
Error: invalid number ” for load address
When I try to load the linux.bin
The command I used is the ff step
DD-WRT> load -r -b 0×80041000 linux.bin
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 0xbffe0000-0xbfff0000: .
… Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
DD-WRT> load -r -b 0×80041000 linux.bin
** Error: invalid number ” for load address
Hi this is my log… I dont know why it is the problem. I was able to update into the DD-WRT firmware from the default one before and was able to use the Pumpkin.. I dont know why it wont work anymore… Any ideas?
Could you give me specific instructions on making the Pumpkin work on this one? Thanks!
Hi I have already found out the problem
it is with this one when i copy and paste it
load -r -b 0×80041000 linux.bin
the “×” written above is not the x which we will need.. Hope other people could see the idfference. hehe (× vs x)
That solved my problem… Thanks for the guide anyway!
Joey,
Oh I see! Perhaps, I should place a copy of the flashing procedures in a text file so that other users could avoid this problem!
Thanks!
Hi thanks again! was flashing from rc6 to final and didnt realize it ‘bricked’ the router, thanks for this page for helping me to solve the problem
Btw, for anyone else reading this, this command:
“DD-WRT> fis create linux ”
takes abt 5-6 mins to complete, with no progress indication whatsoever.
I actually restarted the procedure a few times when it came to that cos I thot the router hanged or something since there was no response for a few mins.
hu hu v24 final wild in my router now… thanks for your guide.
dir-300,
You are welcome. Glad that the guide did help.
Hi All:
I noticed when I try to load the ram to the router, I got such information:
RedBoot> load ap61.ram
Using default protocol (TFTP)
TFTP timed out 1/15
Can’t load ‘ap61.ram’: operation timed out
Of coz I have the tfpt server PumpKin running and have the right image in the folder,
And then I check the ip_address of the router, I noticed the Default server is pointed to the router itself, no wonder I can’t load the ram into the router.
RedBoot> ip_address -h
IP: 192.168.20.81/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.20.81
So, is there anyone have some idea about that? Thanks in advance!!
@aLiang
Have you set your computer IP to be 192.168.20.80/255.255.255.0 as mentioned in the flashing guide?
@kelf
Yes I did… but that doesn’t seems to help me get further
now I have a DIR-300 with DD-WRT v24.
How do i go about updating to v24 SP1?
at the dd-wrt download page there seems to be so many files there.
Which one to download to update a DIR-300 DD-WRT v24 to v24 SP1?
Please help.
Thank you so very much in advance.
James,
Follow this guide to upgrade to the SP1
i cant´t, PUTTY make this error ” Connection Close By Remote Host ” Pls Need help realy. … ::(((((
Help,
follow instructions for “Q: My Putty window closed while flashing the firmware! What should I do?” in DIR-300 FAQ
Dear all,
Due to the large amount of repeated questions. I’ve compiled the common problems into an FAQ.
Check out the DIR-300 FAQ
in the last step I see
” DD-WRT> fconfig Run script at boot: false”,
as a true change of false?
Thanx