Mini Flashing Guide for DIR-300 (293)


    September 23rd, 2007 | Tags: , ,

    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

    Note: It seems like x will not be represented as alphabet “x” after copy and pasting. Do take note of this.

    Required

    1. Temporary RedBoot (ap61.ram): Download file
    2. ap61.rom, linux.bin from DD-WRT v24 RC4 or newer
    3. TFTP Server up and running, ready to serve the required files, e.g. PumpKIN
    4. Putty (telnet client) – Chosen because it helps you to Ctrl + C

    Getting into RedBoot

    1. Connect the network cable to your ethernet port and the WAN port of DIR-300.
    2. Configure your System IP address (static) to be 192.168.20.80/255.255.255.0.
    3. Hold on to the reset behind the DIR-300.
    4. Power on the DIR-300 while holding on to the reset button. Hold the reset button for 30 seconds while it is booting.
    5. Release the reset button
    6. Telnet to 192.168.20.81 on port 9000
    7. 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 to the LAN port instead of the WAN port on the DIR-300

    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.23

    DD-WRT> load -r -b %{FREEMEMLO} ap61.rom
    Using default protocol (TFTP)
    Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000

    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×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)

    Note: You may need to connect to the LAN port instead of the WAN port on the DIR-300

    Configuring the Putty Client

    1. Right-click on PuTTY Client’s title bar
    2. Select “Change Settings…”
    3. On the “PuTTY Reconfiguration” window, change close window on exit to Never
    4. 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 4
    boot_script_timeout: Setting to 4
    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): 4
    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> fconfig bootp_my_ip 192.168.1.1
    DD-WRT> fconfig bootp_my_ip_mask 255.255.255.0
    DD-WRT> fconfig bootp_my_gateway_ip 0.0.0.0
    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:

    1. Disconnect the network (ethernet) cable between your modem and DIR-300
    2. Reboot both the modem and DIR-300 and wait until they have fully booted up
    3. 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 for his work?


    Share it on del.icio.us




    293 responses

    1. 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…

       
    2. Thanks for the flashing guide! It work fine for me.

       
    3. linky,

      You are welcome. :)

       
    4. 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…

       
    5. 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….

       
    6. 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

       
    7. 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?

       
    8. 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.

       
    9. 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?

       
    10. 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.

       
    11. Ray, there is no harm trying to reload the boot loader again (ap61.rom). Do proceed from there and you would be fine.

       
    12. 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

       
    13. 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… ^_^;;)

       
    14. 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. :P

       
    15. 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 !!!!

       
    16. 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?

       
    17. Atnum, yes.

       
    18. 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 :)

       
    19. Ken, welcome! I missed Hong Kong. Hope to travel there again to get some Gundam decals.

       
    20. 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?

       
    21. You will have to rush brainslayer of ddwrt write updated f/w for the PPPoE bug(Yes, it is still buggy.)

       
    22. 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?

       
    23. 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.

       
    24. 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

       
    25. 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.

       
    26. 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

       
    27. Pablo, perhaps you wish to try a simpler tftp server. Check out PumpKIN

       
    28. 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…

       
    29. 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!!

       
    30. 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? ;_;

       
    31. 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.

       
    32. 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.

       
    33. 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?

       
    34. Hi, stupid question, but, why can’t you upload the .bin directly from the browse button of the original firmware?

       
    35. 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.

       
    36. 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.

       
    37. 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?

       
    38. 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?

       
    39. 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.

       
    40. 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 =)

       
    41. 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.

       
    42. [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

       
    43. 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??

       
    44. 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 ?

       
    45. jln_email,

      Sorry I don’t get what you meant. Does your browser come with any javascript blocking tools?

       
    46. 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.

       
    47. 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 !

       
    48. 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 !

       
    49. Sorry for double posting, I thought it wasn’t sent the first time ;-)

      Good luck for your exams btw !

       
    50. 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?

       
    51. 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.

       
    52. 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

       
    53. 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

       
    54. 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. :)

       
    55. Guillermo,

      You might want to upgrade to the latest dd-wrt version for dir-300. It fixes a few bug. :)

       
    56. 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. ^_^

       
    57. Xhitman,

      That bug only exists in RC24 v5. Use the latest version is recommended. :)

       
    58. 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%

       
    59. 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?

       
    60. Solved! Dir-300 and Dir-301 is the same router, confirmed by Dlink.

       
    61. Joksi,

      Wow! Sounds like you are going to flash your router to dd-wrt after this comfirmation by D-Link.

       
    62. 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

       
    63. 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.

       
    64. thanks for the guide, but i did all right and now my dir-300 doesn`t answer.

       
    65. 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.

       
    66. 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.

       
    67. 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.

       
    68. 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)

       
    69. 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

       
    70. 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 ?

       
    71. 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. :)

       
    72. 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?

       
    73. jason,

      perhap you can try resetting the router by holding on to the reset button while the router is powered on as mentioned here

       
    74. 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!

       
    75. mark,

      Upgrade to v24 rc7 using this guide as upgrading through web ui doesn’t really work.

       
    76. 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)

       
    77. hi shadowandy,
      v24rc7 worked well for around a week, but now it can’t connect to PPPOE again. any similar problem? thanks!

       
    78. Restart only the modem?

       
    79. 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!

       
    80. Brian,

      I actually made another guide. Well I guess it is better to update this guide instead. Thanks for the advice!

       
    81. 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!

       
    82. 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 ?

       
    83. Someguy,

      Have you flashed the redboot? Or are you trying to flash it?

       
    84. 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

       
    85. 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.

       
    86. 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)

       
    87. Someguy,

      Before you do the fconfig, issue the following:

      fconfig boot_script true

      Then run your fconfig

       
    88. 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.

       
    89. 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.

       
    90. Someguy,

      You are welcome. :)

       
    91. 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.

       
    92. Which address should i telnet to? 192.168.1.1(with pc on .2) or 192.168.20.81(with pc on .80)?

       
    93. Will,

      The address you should try to telnet to should be 192.168.1.1

       
    94. 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 =(

       
    95. 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

       
    96. Will,

      Congrats! Make sure you follow the suggested commands! :) . By the way, how much does the DIR-300 cost in Australia?

       
    97. 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.

       
    98. One question, does anyone know what is the MAXIMUM Tx power for this router?

       
    99. 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!!

       
    100. fede,

      DD-WRT refreshes their links whenever a new revision is out. You can try downloading from here

       
    101. 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 ;)

       
      daniel -brazil- florianopolis June 10th, 2008 at 11:15 am
    102. 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.

       
    103. daniel -brazil- florianopolis & nick_doors,

      Does the router’s led flashes or gives any visible response?

       
    104. 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

       
    105. PT,

      Before you run the fconfig, type the following command

      fconfig boot_script true

      Hope it helps

       
    106. 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?

       
    107. 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.

       
    108. Ash,

      It would be better if you could share which few steps didn’t work.

       
    109. 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.

       
    110. [...] este router ya que se le puede instalar el firmware dd-wrt para ampliar sus funciones… siguiendo esta gu

       
    111. 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!

       
    112. 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!

       
    113. 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!) :P

      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…

       
    114. @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.

       
    115. 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.)

       
    116. @ 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!

       
    117. 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

       
    118. So, i’m flashing from the original dlink firmware directly to v24 RC7, should i use this guide or the other one?

       
    119. Juan Miguel,

      Care to post the results of your “fis list”?

      rizzo,

      Do a reset on your DIR-300 (by holding the reset button) and see if it helps.

      Reepicheep,

      This guide is fine as well. Had updated it sometime back.

       
    120. Hey, shadowandy, thanks for your reply & taking the time to help us all. :)

      This is what I did. I added some blank lines, to make it look a little less ugly on such restricted space as a comment box. After doing this, I power cycled and everything is OK. I was about to try flashing again, but I figured I might as well wait for you first. :) Maybe things look good now? I have dlink’s 1.03 firmware right now, that I reflashed last night through the emergency webserver.

      RedBoot> load ap61.ram
      Using default protocol (TFTP)
      Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
      RedBoot>

      DD-WRT> fis list
      Name FLASH addr Mem addr Length Entry point
      RGCFG1 0×00000038 0×00000039 0×00000895 0×0004574E

      0×30BE6405 0xA76E391B 0×70CC360F 0xCBD5A3F9

      0×51FF0088 0×0E47511E 0×1ABD33DB 0×89201B83

      0×5AE8BF6D 0×233DF46C 0xD228326D 0×94C91F97

      0×6BE9981D 0×98F270CD 0xDA7C3ACB 0xF3BAE11E

      0×757D284C 0×4FE89B4B 0xDF5CFA2F 0×76E9133F

      0×84B7A723 0×7011D7BB 0×8AE8FF02 0×6164F97D

      0×8D19BB87 0xDFEB8F87 0xFF0DCD6E 0×881B552C

      0×961C932E 0xDCB48D3A 0×109A3DB2 0xB9FC8CCD

      RedBoot 0xBFC30000 0×80080000 0×00030000 0xBFC00000

      0xD627C65A 0×69DFF792 0×87CC6788 0×79341085

      0xDD8B9A8A 0xDC51EF94 0xDCD73B87 0×9CE1BD24

      0xDF6F6FD9 0×7FE3891D 0×8561A936 0xD84A2836

      DD-WRT>

      Thanks!

       
    121. hey thnx for replying shadowandy…

      no difference :( ((( and my wireless light on the router doesnt blink at all…sighz…dunno whats wrong..i flashed correctly…my wireless should work rite?? but it only works when i plug in my ethernet to the desktop PC…

      and 1 more thing…will WDS work after i flashed??

       
    122. rizzo,

      if your wireless lan led didn’t flash at all or isn’t lighted up. I would need you to telnet back into the RedBoot and do the fconfig once again. I suspect that it didn’t load the software on bootup.

       
    123. Anyone have any experience with the Netgear WGR614v7. I’ve read other places that it should act the same as a DIR-300, based on it’s ar2317 chip. Haven’t had any luck with finding redboot via telnet. I know the default address is 192.168.1.1…so I tried that first. For giggles, I tried the 192.168.20.80 and .81 thing, no luck. I tried the WAN port first, then just in case the LAN side…all ports, no luck.

      I timed the ping, but only saw a response on the LAN ports.

      Are we sure at all that the 614 has redboot??

       
    124. Hi, I found one issue you don’t mention, which had me confused for ages.

      After the initial ‘load ap61.ram’ / ‘go’ commands, the router changes IP and disappears. However, in my case it was not going to 192.168.1.1 as stated, but instead it was DHCPing another address (from my dhcp server) and changing to that! It took me ages to get around to peering in the dhcpd logs, spotting the mysterious request, and then BINGO, hitting port 9000 on that IP.

      All smooth sailing after that though.

       
    125. Toby, thanks for that tidbit about dhcp….one step closer. btw, was your router the netgear? or dir-300? I realize I’m posting on the semi-wrong thread.

       
    126. I am stuck.

      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: .

      and mine keeps showing this

      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: .

      Why are they different and what am I doing wrong?

       
    127. MacGuy,

      Seems like the x is not recognized correctly during copy and paste. Try typing the address manually.

      Hope it helps. :)

       
    128. [...] 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. [...]

       
    129. HELP !!!! my dir- 300 not initialize only 2 led up!! Im Sorry my inglish ! is bad

      DD-WRT> ^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 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:
      Enter script, terminate with empty line
      >> fconfig
      >> fis load -l linux
      >> exec
      >> 3
      >>
      Boot script timeout (1000ms resolution): 3
      Use BOOTP for network configuration: false
      Gateway IP address:
      Local IP address:
      Local IP address mask:
      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

       
    130. yawb,

      Telnet into the RedBoot once again and start from the fconfig. Instead of ending the whole flashing process with reset (DD-WRT> reset). End it with

      DD-WRT> fis load -l linux
      DD-WRT> exec

       
    131. whats the default user name and password??

       
    132. rizzo,

      username: root
      password: admin

       
    133. shadowandy help not ping 192.168.80.81
      how to connect the redboot?

       
    134. yabw,

      Try 192.168.1.1 port 9000. :)

       
    135. not ping 192.168.1.1 time out
      only 2 led up power and port conected
      help !!!

       
    136. yawb,

      You had only configured the boot_script wrongly so RedBoot should still be connectable. Connect your ethernet cable to the WAN port of the DIR-300. Configure your computer to 192.168.1.2 (255.255.255.0). Power on the device and try to telnet to 192.168.1.1 9000 and reconfigure the boot_script.

       
    137. Hi Shadowandy
      I flashed my dir 300 succesfully, thanks for you guide…but
      After a few days I upgraded the router with the dir300firmware.bin and now it does not work. I can’t acces the dd-wrt setup no more. Is there any chance to solve this problem.
      Any help will be just great.
      Thanks, Sebas

       
    138. Hi sebas,

      Where did you get the dir300firmware.bin? You might need to access RedBoot to solve the problem. :)

       
    139. Hi Shadowandy
      THANKS !!!!!!!
      I flashed my dir 300 succesfully, thanks for you guide

      DIR – 300 is perfect ROUTER !!!
      sorry my inglish !!! I’m from BRAZIL …

      DD-WRT> fconfig
      Run script at boot: true
      Boot script:
      .. fis load-l vmlinux.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
      Gateway IP address:
      Local IP address:
      Local IP address mask:
      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

      Succesfully !!!!!!!!!!!!!

       
      YABW (my name is CLAYTON July 12th, 2008 at 1:38 am
    140. Hi Shadowandy
      I downloaded dir300firmware.bin from here
      http://www.dd-wrt.com/dd-wrtv2down.php?path=downloads%2Fv24%2FAtheros+WiSoc%2FD-Link+DIR300/

      I’m gonna try to get into redboot again.

      Just to confirm. Do I have to Telnet to 192.168.20.81 on port 9000, don’t I?

      Thanks

       
    141. YABW,

      Congrats and have fun with your DIR-300!

      sebas,

      You should try telnet to 192.168.1.1 :)

       
    142. Hi shadowandy

      Tried to telnet but I got the same message all the time “Failed to connect to 192.168.1.1: Network error: Connection timed out”. Set my pc to 192.168.1.2 and tried both the wan and lan port of the router.
      Thanks
      Sebas

       
    143. Sebas, if you’re using Putty to telnet make sure you have selected telnet as it uses SSH by default which will not work.

      Regards
      Alec

       
    144. Hi!

      I have a D-Link DIR-301 HW A1, FW 1.02 . And I follow the flash guide (set up my pc’s ip to 192.168.20.80, hold the reset on the router, wait 30 sec, power up, etc. etc. ) – but i can’t connect whit the “Telnet to 192.168.20.81 on port 9000″.

      I ping my router with the “ping 192.168.20.81 – t” command but i can’t get answer.

      please help me!! Thanks (mek2@freemail.hu)

       
    145. Thanks Alec, I’m using Putty with telnet option selected. This week end I’ll try again.
      Bye

       
    146. I have a question on

      Getting into RedBoot

      what is mean by “Configure your System IP address (static) to be 192.168.20.80/255.255.255.0.”

      Do I need to change the my computer’s Local Area Connect in Windows or change the “Router Settings” in my DIR-300???

      Thanks a lot..

      Ken

       
    147. Ken,

      It means that you configure your computer to use that address.

       
    148. hai shadowandy, error flashing here..

      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.23 load -r -b %{FREEMEMLO} ap61.rom
      Using default protocol (TFTP)
      Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000

      assumed entry at 0×80080000<—— mine 0×80041000

      pls help me….

       
    149. DD-WRT> ip_address -h 192.168.1.2
      Default server: 192.168.1.23 <—– mine 192.168.1.2

      why not same with u… help me…

       
    150. Hi shadowandy…. it is Ken again… I got stuck after step
      =========================================
      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×80080000-0×800a8718 at 0xbfc00000: …
      … Erase from 0xbffe0000-0xbfff0000: .
      … Program from 0×807f0000-0×80800000 at 0xbffe0000: .
      DD-WRT> reset
      =========================================
      (before Loading in the new firmware)
      I can’t get in to DD-WRT> with putty to 192.168.1.1 port 9000 with Telnet with “Connection type” and I have already set my static ip address to 192.168.1.23

      What should I do now…

      Ken

       
    151. The static ip should be 192.168.1.2 not 192.168.1.23… which part should I re-do for completing the flashing…

       
    152. some more information ..

      when I ping -t 192.168.1.1 it prompts
      Request timed out.
      Request timed out.
      Request timed out.
      .
      .
      .
      it seems not yet started….

       
    153. Ken,

      Try disconnecting your ethernet cable (to the DIR-300) can switch to LAN port 1. Sometimes it works.

       
    154. I too think that I have bricked my router. I was cut and pasting and ran into the same situation with my addresses being off by 30000. I cant get back to Redboot or to DDWRT. Help!

       
    155. Hi shadowandy…. I just flashed my router successfully… Thank you so much… What I have done is just reset the static ip to 192.168.20.80/255.255.255.0 and follow the guide from the beginning…(Getting into RedBoot)….

      Brad Smith,
      Don’t worry…just follow the guide from the beginning and you will get it done in an hour…

       
    156. Ken,

      Ah I see. Glad that you solved it! Bravo!

       
    157. Hi, I want to test this firmware, is this actually better than the d-link firmware? I have some problems with the default UPNP support so I just want to know if whit dd-wrt the router will be usable.

       
    158. shadowandy

      to update pra v24sp1 is the same process ?

       
    159. yabw,

      I would need to try it out. It seems to me that it is the same process. I done it successfully for the DIR-320 though (v24 SP1)

       
    160. shadowandy

      v 24sp1 dir 300
      is the same process. and I am much more stable high speed

       
    161. shadowandy, I need some help.

      My flashing was going OK until something happened and my TELNET window closed. I don’t know for sure if the file ap61.ram got updated.

      Now, I initiate PumpKIN and when I power on the router I get this message :

      ‘COBRAART.SYS’ of type OCTET is requested from 192.168.20.81
      >> 1: file not found

      Have I bricked my dear DIR-300?

      Help me, please!

      Thanks a bunch!!

       
      Claudio de Paula August 3rd, 2008 at 2:10 pm
    162. Claudio de Paula,

      I guess you’ve just loaded up the ap61.ram? Well, it is normal for your telnet to be disconnected after you run it. Try redoing that step and carry on with the guide. :)

       
    163. shadowandy, thanks for the reply. I do not need this COBRAART.SYS? Do you know what this is?

       
      Claudio de Paula August 3rd, 2008 at 9:12 pm
    164. Claudio de Paula,

      Nope. You don’t need that. :)

       
    165. shadowandy, hi, sorry for one more question.

      I guess that my first problem is that ap61.ram can’t seem to be transferred to the router.

      I get this message from PumpKIN:

      ‘ap61.ram’ of type ‘OCTET’ is requested from 192.168.20.81
      Transmission of ‘ap61.ram’ is timed out
      Transfer of ‘ap61.ram’ is aborted

      Is this a problem? What can I do to fix it?

       
      Claudio de Paula August 5th, 2008 at 7:40 am
    166. Other thing.

      I get the message after doing this step:

      RedBoot> load ap61.ram
      Using default protocol (TFTP)
      Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
      RedBoot> go

      Thanks very much!

      Claudio

       
      Claudio de Paula August 5th, 2008 at 7:43 am
    167. hy shadowandy !
      upgrade via web v24 to v24sp1 works ok or not ?

       
    168. A million thanks for the guide to upgrade dir-300 to dd-wrt. I tried with v24 stable and v24sp1 both work fine. I have a few queries: Does dir-300 support WDS (I tried for 4 hours with another wrt54gl flashed with dd-wrt v24 stable but it did not work). I read about the problems while downgrading to the orginal firmware. Is is advisable to revert to the original firmware as i upgraded only for testing purposes? I noticed that the LAN and WLAN MAC addresses are same after upgrade dir-300 to dd-wrt. Is that fine? My WRT-54gl with dd-wrt has 3 MAC addresses.
      After upgrade dir-300 to dd-wrt v24 the MAC address sticker matches with the MAc address in the firmware. Are these MAC addresses destroyed while downgrading??? For information to others I have tested PPPoE mode StatIC mode, port forwarding and all seem to work fine. I have also tested WEP and WPA tkip that too works fine. I want to revert to the original firmware without destroying any functionality. Has any one done that correctly?

       
    169. yabw,

      Yes, upgrading from the web works from v24 to v24 sp1.

       
    170. Indeed very very funny…..I was able to start WDS between dlink dir-300 (dd-wrt v24sp1) & wrt54gl (dd-wrt v24) but only without any security. When i enable WEP security on dir-300 (interface ath0), enter 10 digit key and then apply settings, this action has no effect on the wds connectivity, the ping to the wrt54gl continues. Then i enabled WEP on wrt54gl and entered the key, I lost the connection, again reverted back to wds without security and tried to conect to ABOCOM wireless access point (RTL8186 chipset), the same phenomenon repeats, the connection works without security set, does not have any effect on wds when security is set on dir-300 but immediately cuts off when wds security is set on the ABOCOM access point. I also observed that the security setting in dir-300 only has effect only on clients that connect to it (i.e wireless lan cards and laptops,in this case the security works) But the major concern is that WDS works without security only. Any solutions to this wierd problem.

       
    171. 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!!

       
    172. aLiang,

      Did you configure your computer IP to be 192.168.20.80 (mentioned at the start of the guide)?

       
    173. Hi shadowandy,

      I have successfully flashed my DIR-300 firmware to DD-WRT as from your tutorial, seems fine for both my Vista machines. But I have problems connecting my MacBook using wireless. It seems to be connected to my router, but I’ve got this status message in my AirPort “AirPort has a self assigned IP address and may not be able to connect to the internet”

      Btw, I am using WEP wireless authentication and used Default Transmit Key 2. Would appreciate if you could help me here, thanks!

       
    174. Ok, I have tried to connect using Ethernet and it works. Just wireless I am unable to do so…

       
    175. CIRKIT,

      same as me… after all i just use filter mac address and it work… never use wep/wpa anymore… dir-300 (ap) to planex blw-54mf (repeater)

       
    176. Thought this might be helpful for others who come across it – it’s breifly mentioned above, but I’ve written up some further details for the dd-wrt forum and I thought it might be helpful to duplicate it here as this is the place people are hitting to flash a dir-300.

      I’ve been following these instructions to install dd-wrt. I couldn’t telnet back into the router after the “load ap61.ram”, “go” steps.

      Turns out it will use DHCP for it’s IP address.

      i.e. I was being “clever” I simply added a second VIP to my PC’s NIC thus:

      ifconfig eth0:20 192.168.20.80 up

      Then you see this (my home network is 192.168.10.X):

      eth0 Link encap:Ethernet HWaddr 00:15:58:81:F8:41
      inet addr:192.168.10.11 Bcast:192.168.10.255 Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:1811 errors:0 dropped:0 overruns:0 frame:0
      TX packets:1832 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:100
      RX bytes:552282 (539.3 KiB) TX bytes:662160 (646.6 KiB)
      Base address:0×2000 Memory:ee000000-ee020000

      eth0:20 Link encap:Ethernet HWaddr 00:15:58:81:F8:41
      inet addr:192.168.20.80 Bcast:192.168.20.255 Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      Base address:0×2000 Memory:ee000000-ee020000

      Then I added yet another VIP for 192.168.1.23 but I couldn’t connect to 192.168.1.1 port 9000. Either on the LAN1 or WAN port. Eventually I found that when I rebooted (with the network cable left in the WAN port), Redboot was picking up an IP address from my home network’s DHCP server.

      I just looked on the DHCP server for what IP address had been allocated*, then I was able to telnet to port 9000 on that IP address and get the “DD-WRT>” prompt.

      * NOTE: when Redboot requests an IP address, it won’t supply a hostname. For others with a similar setup, it would be worthwhile first booting the router normally (i.e. with standard firmware) with the WAN cable connected to your net. Then look on your DHCP server for the address allocated – the device will have a hostname of “DIR-300″. So it’s easy to see what IP address has been allocated. This is the firmware requesting an IP address not Redboot. Then follow the steps above. When it again requests an IP address (this time it will be Redboot making the request) it should get the same address as previously.

      I hope all this helps others who may come across this and get caught by the same trap.

       
    177. hi shadowandy

      I did set my PC ip as the guide told me to(192.168.20.80), but that doesn’t seems to help me get further.

      I also shut off the firewall for percaution.

       
    178. Hmm, please ignore my problem. Everything seems to be working fine after I restarted my router again. Thanks again.

       
    179. Fozzy,

      Thanks for the tips. After running the ap61.ram, sometimes I would just disconnect the ethernet cable and reattach again. It works. :)

       
    180. aLiang,

      What version of firmware are you running on the DIR-300?

       
    181. Hi shadow,

      I’ve been experienced very slow connections, most perseptive at xbox live. So I checked your steps and was wondering if this could solve my problem. Another thing is, this steps runs normally on windows plataform? Sorry if my questions are to much noob but I’m totally new on that stuff.
      Tks Man

      BSilent Man from Brazil

       
    182. Oh….BTW I’m running DIR-300 with the 1.03 firmware.

       
    183. Has anyone got it working on the dir-301?

       
    184. BSilent Man,

      Try updating your firmware to D-Link’s latest and see if it helps for your xbox live. :)

      Yes. The steps applies if you are using windows.

       
    185. crackr,

      If you had searched through the replies. Joksi has flashed his DIR-301 to dd-wrt.

       
    186. shadowandy.

      Joksi just confirmed that indeed it’s the same router, but my research shows that the firmware on the 301 doesn’t allow login to redboot. I’ve tried it a million times and no go…

       
    187. Tks Shadow,
      My firware is the latest (v. 1.03) but nothing changed….and I still got the lag…I’ll try this steps…one more question….I need the TFTP only for the flashing procedure or should I let the TFTP running always?

      Tks

       
    188. To: BSilent Man

      Have you tried connecting direct to the modem, and ensure that the connection to microsoft is not a cause by your ISP?

      To: crackr

      Try with an older firmware instead.
      Oh, getting a telnet/Redboot response is not always easy, if your network card is slow, you might miss the boot wait time

      To help you gauge your timing, ‘ping -t -w 10 192.168.20.81′

       
    189. I am not greeted by Redboot when telnetting with Putty, it just gives me a black screen that close down after some time, what am I doing wrong?

       
    190. To: Jakob

      Try the steps I posted for crackr, which is just above ur comment

       
    191. Well it aint my ISP as my net is working fine, also old firmware? An older version of DD-WRT or of the router? If you mean the router I can’t find any older drivers.

       
    192. KL,

      The xbox connect direct to the modem works fine!
      The problem started after the router instalation… I’ll try the flashing guide…but I have a lot of doubts…the TFTP should be installed only for the flashing procedure or I need him running always?

      Tks

       
    193. Hi shadow,

      I have finish flash my DIR300 to DD-WRT v24 sp1,
      the problem now is i cant access to the web configuration, and i cant get the ip for my computer via DHCP.

      Things weird after i connect the DIR 300 to my aztech dsl605e modem i can get the ip and i try 192.168.1.1 it is the dsl605e web manager not the DDwrt.

      i can’t on my wireless if canot go into DD-WRT web configuration.Any idea about that? thanks

       
    194. Hi shadow,

      I try to flash my DIR-300, but getting the below problem. Please help to take a look… many thanks.

      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> 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> load -r -b %{FREEMEMLO} ap61.rom
      Using default protocol (TFTP)
      Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000
      DD-WRT> fis create -l 030000 -e 0xbfc00000 RedBoot
      Image found, but length (0×28718, necessitating image size 0×7530)
      is incorrect (present image size 0×30000)
      DD-WRT>

       
    195. To: Jakob
      You’re not reading the line I need you to.

      To: BSilent Man
      Yes, TFTP needed only for transferring files to the unit.

      To: dane
      You must have copied the line wrongly.
      fis create -l 0×30000 -e 0xbfc00000 RedBoot

       
    196. yewyong,

      It seems to me that you didn’t flash correctly. The linux image wasn’t executed. Do get into the RedBoot and flash the set to dd-wrt and do the fconfig again.

       
    197. hi! i’m trying to download the file linux.bin but i cannot find it on the link you gave me. i found the other one (ap61.rom) but where do you get the linux.bin file? thanks!

       
    198. i used the vmlinux.bin.l7 file in place of the linux.bin file. is this ok?

      i’ve finished all the steps. but then when i connect my modem to my dir-300, it will work for FOR A FEW SECONDS, and then the router restarts. during this few seconds, i’ve tested my internet connection and i was able to browse, but the router just keeps restarting after every few seconds. do you know why this is happening? thanks!

       
    199. frank,

      Where did you download your vmlinux.bin.l7? From what I see from dd-wrt v24-1, only linux.bin is there.

       
    200. hi! i think i downloaded them from the release candidates folder (obsolete!). i will try this again, as i just realized i should have downloaded it from the sp1 folder.

      the file size was also different. my copy was only 768 kb, and linux.bin was 3.5 mb. i hope this works now. thanks! i’ll let you know

       
    201. i did it! thanks for the guide and the help. I’m gonna go configure this thing now. :)

       
    202. After typing in fix create linux, nothing happens and my putty times out after a while. Please help!

       
    203. sorry for the typo, I meant fis create linux

       
    204. Brian,

      Make sure you have configured putty not to exit according to the guide.

       
    205. Yup I saved it and checked that option. Tried it again and after completing that step, putty timed out before I could proceed to the next line..

       
    206. Hi,

      I’ve succesfully flashed my dir 300 with dd-wrt (phewwwh!!…i thought i have to buy another one). But after sometimes using it, the QoS doesn’t seem to work right, i cant play games while downloading P2P, before this i can do that. Now I’m planning to flash it with tomato. Do you have the miniguide for that..Mr. Shadowandy??

       
    207. dir300 no tomato, cos its written mainly for broadcom device

       
    208. Hi shadow,

      I try to flash my DIR-300, but getting the below problem. Please help to take a look… many thanks.

      ===============================================================================
      DD-WRT> ip_address -h 192.168.1.2
      Default server: 192.168.1.23

      DD-WRT> load -r -b %{FREEMEMLO} ap61.rom
      Using default protocol (TFTP)
      Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000

      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×80080000-0×800a8718 at 0xbfc00000: …
      … Erase from 0xbffe0000-0xbfff0000: .
      … Program from 0×807f0000-0×80800000 at 0xbffe0000: .
      DD-WRT> reset

      ================================================================================
      I follow these steps, but different to the below step, the other steps are same to your guide
      DD-WRT> ip_address -h 192.168.1.2
      Default server: 192.168.1.23

      my step( my pc ip address is set to 192.168.1.5)
      DD-WRT> ip_address -h 192.168.1.5
      Default server: 192.168.1.5
      ============================================
      It seems that I have successfully updated the Redboot, but after i reset the DIR-300, i can not telnet into 192.168.1.1 with port 9000.
      when I ping -t -w 1 192.168.1.1 it prompts
      Request timed out.
      Request timed out.
      Request timed out.

      when i ping -t -w 1 192.168.20.81 ,it prompts
      Request timed out.
      Request timed out.

      it is the same whether i connect to wan port or lan port 4( i has only tried lan port 4), and now, when the Dir-300 is powered on, only the power led and wan led (when i connect to wan port) are light , i tried many times and it’s alwayes the same .
      i try the first step getting into Redboot many times and always fail, did i brick Dir-300? Please help to take a look… many thanks.

      btw: i connect DIR-300 and my pc both to a router (netgear WGR614 acts as DHCP Server, and the address ranger is 192.168.3.2~ 192.168.3.50, but i configure my pc IP address (static) to be 192.168.20.80/255.255.255.0 or 192.168.1.5/255.255.255.0) , i can not finish the first step getting into RedBoot when i connet Dir-300 with my pc directly. so i want the WGR614 to act as a layer 2 swtich.

       
    209. Hello,

      you are my last hope :D , sorry for my english im from germany …
      Yesterday i have flashed (would flashed :) my DIR300 by youre documention
      but some things went diffrent:
      [...]

      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> 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> load -r -b %{FREEMEMLO} ap61.rom
      Using default protocol (TFTP)
      Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000
      DD-WRT> fis create -l 0.30000 -e 0xbfc00000 RedBoot

      [...]

      /// Than a some warnings alert:

      ** Error: invalid number ” for image length [in FLASH]
      *** invalid ‘fis’ command: invalid arguments
      Usage:
      fis create -b -l [-s ]
      [-f ] [-e ] [-r ] [-n]
      fis delete name
      fis erase -f -l
      fis free
      fis init [-f]
      fis list [-c] [-d]
      fis load [-d] [-l] [-b ] [-c] name
      fis write -f -b -l

      /// so i change my command to this:

      DD-WRT> fis create -l 0×30000 -e 0xbfc00 RedBoot

      /// and it work´s ! But on next step i get stuck argh !!!

      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

      /// so can you help me ????
      This is the third Router´s i have buy :( ….

      Thanks and greetings from germany!

       
    210. liusl,

      Since you have another DHCP server on your network. You are not following the guide so look at Fozzy or Toby Corkindale comment.

       
    211. Trying to flash a brand new DIR300. It was real cheap, only $50. Need dd-wrt as this router will be access point for some applications on my iPhone.
      Need some help on tftp tool.
      When I use putty then i get the prompt “RedBoot>”. So I was happy and used pumpkin t load the file “ap61.ram”. However no fun. Nothing happens and the action items out
      So I am stuck. Any advice

       
      Pieter Van Houwelingen September 5th, 2008 at 8:05 am
    212. Really appreciate this guide. There are not that many guides on the internet that can match this. One word – ECELLENT.
      Was successful with flashing my dir300 straight out of the box. Imagine just Singapore $50. For me the standard tftpsrv did the job. Just moved tftpsrv and flash images to the root of my c-drive. Used putty to issue the commands on the dir300. The tftp SW recommended in this guide did not work for me – not sure why but but just could not get pumpkin to work. Guess I have better luck with pumpkin soup. Now up to configure my dd-wrt router as accesspoint for my iPhone.

       
      Pieter Van Houwelingen September 6th, 2008 at 11:00 am
    213. Pieter Van Houwelingen,

      Thanks and congrats on setting it up. :) . Well, did you configure the PumpKin? You can set the location where the flash images are residing.

       
    214. shadow,
      Thank you for the information provided, I have successfully finished flashing the wireless router to DD-WRT v24 sp1 , thank you very much.

       
    215. I’ll say it too! :-D

      shadow,
      Thank you for the information provided, I have successfully finished flashing the wireless router to DD-WRT v24 sp1 , thank you very much.

      Unfortunately, I couldn’t get a lease from my cable modem – nohow, no way.
      Has anybody ever managed to get that to work? (My cable modem uses DHCP and requires a ghosted MAC address)

      I gave the correct MAC address (in the space provided), but the status page always shows the ‘default’ MAC address for the WAN. Not sure if that’s the problem, or something else… (it would be nice if there was some kind of logging for the Lease-obtaining process)

       
    216. Please Help.

      I think I bricked my DIR-300.

      after fconfig -i and fis init, i went straight to ” load -r -b %{FREEMEMLO} ap61.rom”.

      I lost connection to my router there and could not telnet back in. Any ideas/tricks that might work to enable me to connect back to my DIR-300?

      —————————-
      DD-WRT> fconfig -i
      Initialize non-volatile configuration – continue (y/n)? y
      Run script at boot: false
      Use BOOTP for network configuration: false
      Gateway IP address:
      Local IP address: 192.168.1.1
      Local IP address mask:
      Default server IP address: 192.168.1.2
      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×80ff0000-0×81000000 at 0xbffe0000: .

      DD-WRT> load -r -b %{FREEMEMLO} ap61.rom

      Connection to host lost.

      C:\>telnet 192.168.1.1 9000
      Connecting To 192.168.1.1…Could not open connection to the host, on port 9000:

      Connect failed
      —————————-

       
    217. Panicked there for a while.

      My DIR-300 is not dead after all. Just had to restart at step one of getting into redboot.

      Timing issues with the telnet portion complicates the issue and compounds the fear. hehe.

      All is well now. I was able to complete Loading in the new bootloader. I will be installing openwrt from here and then CoovaChilli.

      Thanks for the awesome documentation!

       
    218. use constantly ping will allow u to know the response window period

       
    219. Please be aware that as now the DIR-300 does NOT support the MAC clone feature trough the WEB interface of DD-WRT. I managed to change it via Telnet but even then the connection to my cable modem did not work … If anyone knows – please leave info for others

       
    220. AWESOME!!! The panel is just AWESOME!

      now i’m testing the router, but it works just fine!

      just one thing about the how-to

      “Note: You may need to connect the ethernet cable to the LAN port instead of WAN port.”

      please remove this point because it confuses a lot… the router is not able to manage any lan connection at this point so there is no any point to change cable to another port…

      sorry if i’m wrong but i’m pretty sure that i’m right

      Thanx again, great guide, great soft

      Cheerz

       
    221. Hi Shadowandy,

      I’m new on D-Link although I have some experience on Linksys WRT54G. I just got a brand new DIR-300 (H/W A1 F/W 1.03) and following your guide upgrading this new box, but have no luck and stuck at very beginning. Once I loaded the temp boot loader I got the following message:
      RedBoot> load ap61.ram
      Time out 1/15
      Using default protocol (TFTP)
      Cannot load ap61.ram Time Out 1/15

      I just sticked with the guide with cable connected to WAN port, so did I make something wrong?

      Thanks

       
    222. BigB,

      Make sure you have a tftp server running and the ap61.ram is there

       
    223. Hydrogen,

      The instructions were amended from users’ feedbacks. Some of them reported that changing to lan port or simply disconnecting and reconnecting the wan port works. So I added it as part of the troubleshooting. ;)

       
    224. Hi shadowandy,

      Thanks for the great guide – it’s helped me out many times over…

      However, this is the first time I’ve had this issue…

      I had run through the entire process without any errors, logged into the web interface and saved a new username and password.

      My house lost power at that point and now the DIR-300 keeps cycling through the boot sequence…

      I get an occassional burst of 6 packets when pinging 192.168.1.1, and when I can catch a telnet session I get the following:

      Escape character is ‘^]’.
      == Executing boot script in 2.640 seconds – enter ^C to abort
      ^CConnection closed by foreign host.

      …and no change…

      Have I really bricked this thing? Are you able to help me figure this out?

      TIA…

       
    225. Hi Shadowandy,

      Thanks and finally I got the stuff worked and moving forward until another problem on flashing new firmware with the following:

      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
      Using default protocol (TFTP)
      Time out 1/15
      Cannot load “linux.bin” : Time out 1/15

      Just following your guide but still have no luck passing through. Is there something wrong I made?

      Thanks
      BigB

       
    226. fedaykin,

      Use putty client and it will automatically do ^C for you. Once you managed to get in, start from the section “Loading in the new firmware”

       
    227. BigB,

      Make sure linux.bin is in your tftp directory

       
    228. Thanks Shadowandy,

      Finally I made it work.

      Cheers

       
    229. BigB,

      Welcome! :)

       
    230. Thank you, Shadowandy.
      It works well.
      But would you please tell me how to build these bin files from source code,or where I can find the answer?

       
    231. wenpingwen,

      I think dd-wrt source isn’t released. Or rather, I don’t know if it is open for download or not.

       
    232. [...] Q: I upgraded to DD-WRT V24 SP1 through the web interface and it doesn’t boot up again! A: There has been some changes from the shift from pre V24 SP1 to V24 SP1. Your router is not dead. Access the RedBoot and follow the section “Loading in the new firmware” in the guide Mini Flashing Guide for DIR-300 [...]

       
    233. Hi!

      I followed the steps, but I can connect to the RedBoot via Telnet. (Ethernet). I used a script to automatic connect to the RedBoot during the starup, but does nothing, still no answer from the router.

      My hardware is DIR-301.
      should I set the IP-Address of my WAN-Port on the router to 192.168.20.81/24 ?
      When yes, I did it, ping work, but no telnet on port 9000!
      I also followed the pakets send/received from/to router, and the TCP->9000 has no answer from router.

      Please help me to get connected to DIR-301->RedBoot via Ethernet.

       
    234. Hi again!

      I found another thread in the forum talking about this problem. Probably problem exists with with DIR-301.

      http://www.dd-wrt.com/phpBB2/viewtopic.php?t=33211&highlight=dir301

       
    235. 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

       
    236. [...] bien para poder dejar activado todas las funciones del dir300 y ocupa esta guia para flashear Mini Flashing Guide for DIR-300 | shadowandy – my life stories [...]

       
    237. how do i get into the settings page? i flashed successfully but dont knwo what to do next. i type in 192.168.1.1 in browser but nothing came out.

      my lan cable is plugged into the 1st LAN socket

      only LED on is power and 1st lan light.

      is my router deaD?

       
    238. despaire89,

      Is the router constantly rebooting?

       
    239. had the same problem as despair89. flash seemed to work fine till the last command, modem rebooted all leds normal – lan1 active – ips set right, triple checked everything but still no access to web-interface. it did not even answer to ping. set ip back to 192.168.1.2 – reflashed redboot, got the emergency webserver back up and reflashed with 1.04 original firmware loaded up old config file i saved. and everything works again.

      one thing i noticed was when i flashed dd-wrt v24sp1 was in the last steps it does not only ask for default ip adress (which is empty in your guide) but it also asks for gateway ip, ip mask, server ip and some more. first i left it all empty, thinking the setup would use default values like 192.168.1.1 for webinterface ip. but it didnt work. 2nd time i set it up manually but it didnt work either. no chance to get to the webinterface. dunno what i missed out :-/

      all i need is a decent QoS menu running on the dir-300.

       
    240. [...] bien para poder dejar activado todas las funciones del dir300 y ocupa esta guia para flashear Mini Flashing Guide for DIR-300 | shadowandy – my life stories ahh no funca el link directo a las descargas.. en todo caso es facil llegar: http://www.dd-wrt.com de [...]

       
    241. First time I tried it with my newly arrived DIR-300 and it worked at once. The “x” of the description are a little bit messed up due to the font but I if you figure that out the manual works. Thanks for that.

       
    242. gentlesea,

      Yeah. The x is abit messed up. :|

      Glad that it worked for you. :) Cheers!

       
    243. anybody encounter this problem? after flashing DIR-300 to DD-WRT, it does not seems to work properly. whenever i click on the save or apply buttons, the URL will change to ‘apply.cgi’ and stuck there?

      think on the first run i accidentally entered ‘Default server IP address:’ to ‘9600′, towards the end of the guide. does it matter?

      i used tftpsrv instead of pumpkin. all the files i downloaded from http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Fv24-sp1%2FConsumer%2FDlink%2FDIR-300/ . some of the addresses in my flashing process different from those in the guide.

       
    244. jc777,

      Try using a different browser to configure the router if your current one is giving your problem.

      What are the few addresses that are different?

       
    245. hi,

      i had my dir300 flashed to ddwrt v24sp1 but pptp wasn’t working so i decided to downgrade to v23 and since then router refuses any connection

      either to 192.168.1.1 either to 192.168.20.81 after powering it on with reset pressed

      is it completely bricked?

       
    246. RedBoot> load ap61.ram
      Using default protocol (TFTP)
      Entry point: 0×800410bc, address range: 0×80041000-0×800680d8
      RedBoot> go

      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
      Relocating Board Data to new location.
      Found board data at 0xbffe0000.
      Found eeprom data at 0xbffef000.
      Failed to cache eeprom
      … Erase from 0xbffe0000-0xbfff0000: .
      … Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
      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> load -r -b %{FREEMEMLO} ap61.rom
      Using default protocol (TFTP)
      Raw file loaded 0×80080000-0×800a8717, assumed entry at 0×80080000
      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×80080000-0×800a8718 at 0xbfc00000: …
      … Erase from 0xbffe0000-0xbfff0000: .
      … Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
      DD-WRT> reset

      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
      Using default protocol (TFTP)
      Raw file loaded 0×80041000-0×803bafff, assumed entry at 0×80041000
      DD-WRT> fis create linux
      … Erase from 0xbfc30000-0xbffaa000: ………………………………………………..
      … Program from 0×80041000-0×803bb000 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:
      Enter script, terminate with empty line
      >> fis load -l linux
      >> exec
      >>
      Boot script timeout (1000ms resolution): 3
      Use BOOTP for network configuration: false
      Gateway IP address:
      Local IP address:
      Local IP address mask:
      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

       
    247. above is the logs for my flashing. some of the differences in addresses are highlighted below (1st part is from yr guide, 2nd part is the actual log from my flashing). and strangely after i reflashed, my router cannot seems to boot up to dd-wrt, it keep on rebooting by itself. any solution? help.

      ——————————————————————-
      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: .

      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> 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> 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×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 0xbfc30000-0xbffe0000: …………………………………………………..
      … 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×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> load -r -b 0×80041000 linux.bin
      Using default protocol (TFTP)
      Raw file loaded 0×80041000-0×803bafff, 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> fis create linux
      … Erase from 0xbfc30000-0xbffaa000: ………………………………………………..
      … Program from 0×80041000-0×803bb000 at 0xbfc30000: ………………………………………………..
      … Erase from 0xbffe0000-0xbfff0000: .
      … Program from 0×80ff0000-0×81000000 at 0xbffe0000: .
      ——————————————————————-

       
    248. keymone,

      You should be able to get into 192.168.1.1 on port 9000. You just need to get the timing correct.

      Once you got in, change the bootscript to “fis load -l vmlinux.bin.l7″ instead.

       
    249. jc777,

      What is the hardware version of your DIR-300? You can locate the version on the sticker below the DIR-300.

       
    250. the hardware version put there “H/W Ver.: A1 F/W Ver.: 1.02″. the weird thing is i try to check the status of warranty online via the check serial number site but nothing comes up. then i email dlink they said invalid set.

      i gotten this 2nd hand one, so dunno original source.

       
    251. Hi jc777,

      my output differs in exact the same way as yours, so i think this router is a newer revision with some changes in memory allocation.
      however, it works perfect so far, no strange behavior or anything you describe. Try factory reset by holding the reset button on the back side, reflash or just rollback the original firmware[1].

      [1] http://www.shadowandy.net/2007/10/flashing-dir-300-back-to-original-firmware.htm

      @shadowandy
      Many thanks for this awesome guide and your support!!!

      my best regards,
      miami_

       
    252. hi miami, thanks for your reply. i suspected that the hardware, probably the RAM / memory allocation differs for this hardware version we are having. is your hardware version same as mine?

      i tried to reflash back to the original firmware. but the WPA is not functioning, so it would not be secured to use it. still exploring various ways. hope someone can enlighten and come up with a solution to this hardware set of ours.

       
    253. hi miami, just to check, which version of DD-WRT did you download? could you kindly provide the exact path which you download from?

       
    254. miami_,

      Thanks for sharing with us that the guide still works despite the change in hardware of the DIR-300!

       
    255. jc777,

      It is known that WPA don’t work if you flash back to original firmware.

       
    256. hi jc777,

      on sticker:

      P/N: GIR300EEU…..A1G
      H/W Vers.: A1
      F/W Vers.: v1.03DE
      S/N: P1NJ185030876

      and on router:

      FCCID: K2DIR300A1
      IC: 4216A-IR300

      My sw_version of dd-wrt is v24sp1, downloaded from here:

      http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v24%20SP1/Consumer/Dlink/DIR-300/ap61.ram
      http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v24%20SP1/Consumer/Dlink/DIR-300/ap61.rom
      http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v24%20SP1/Consumer/Dlink/DIR-300/linux.bin

      is just wpa not working? my old pci-card supports no wpa-mode, so i work in wep for now. i had to check the “rts/cts” box in “wireless->basic_sattings” to get it work.

      what i find strange is the low free memory of just ~1.5mb(12%) with only 30 active ip connections…
      here my memory table
      #########Memory###############
      Total Available – 13184 kB / 16384 kB – 80%
      Free – 1536 kB / 13184 kB – 12%
      Used – 11648 kB / 13184 kB – 88%
      Buffers – 1048 kB / 11648 kB – 9%
      Cached – 4356 kB / 11648 kB – 37%
      Active – 1069 kB / 11648 kB – 9%
      Inactive – 506 kB / 11648 kB – 4%
      #############################

      i suppose it’s normal (16mb of ram isn’t that much) – i’ll try to fullly load it with bt-connections this weekend to see how much it can handle.

      Good luck!

       
    257. Hi shadowandy,

      I use Windows and I have never touched a Linux.

      I don’t even know what to get from here:
      http://www.dd-wrt.com/dd-wrtv2/down.php?path=downloads%2Frelease+candidates%2FDD-WRT+v24+RC4%2FD-Link+DIR300/

      I just wanted to make the D-Link DIR 300 router to run on 2.3GHz frequency range.

      I am clueless now.

       
    258. 2.3GHz??
      802.11 channel 1 fL being 2401MHz leh

       
    259. A couple of typos in the otherwise very useful guide:

      The hexadecimal prefix ‘0x’ is written as ‘0×’ (octal “60\303″),
      i.e. “fis create -l 0×30000 -e 0xbfc00000 RedBoot” which should really be
      “fis create -l 0×30000 -e 0xbfc00000 RedBoot”, and

      “load -r -b 0×80041000 linux.bin” which should really be
      “load -r -b 0×80041000 linux.bin”.

      Pasting the commands with the typos into the boot loader causes an error message and seems to have no lasting effect. At least I pasted boths typo-commands into my device, and after typing in the corrected commands everything was fine.

      So thanks a lot.

       
    260. Oops, I managed the same typo in my previous post, the corrected commands should really be:

      “fis create -l 0×30000 -e 0xbfc00000 RedBoot”, and
      “load -r -b 0×80041000 linux.bin”.

       
    261. No typo was made. The problem seems to occur after the ASCII text is uploaded to the web-page. :-(

       
    262. Why my post was deleted? Did it really look like a Spam? I just put an incorrect email because I get lots of spam messages daily.

      If somebody is going to answer me here I would be very thankful,

      in Redboot, the telnet was able to access the router’s host at 192.168.20.81 on port 9000. Then when I tried to load the ap61.ram, the pumpkin tftp asked me to grant the router’s request, I granted it. But, the tftp server failed to transfer the file, I don’t know why. The .ram file is in the same folder as the tftp server.

      Did somebody have such a problem?

       
    263. Here is what is happening:

      After I get into Redboot,

      RedBoot> load ap61.ram

      pumpKIN askes me to Grant Access for the router, I grant it

      Redboot shows this:
      Using default protocol (TFTP)
      Entry point: 0×800410bc, address range: 0×80041000-0×800680d8

      and at the same time, pumpKIN shows the transfer process in numbers,
      the ACK number increases very fast until it reaches 164352 and stops,
      while tsize number is 165105, so the transfer was not able to complete.

      when 30 seconds runs out, pumpKIN times out and aborts transfer.

      I can then try again, and the same thing happens.

      I tried this on Windows XP and on Windows Vista,
      same things happened.

      Is there anything that I should change ? Please help :(

       
    264. time,

      It was deleted cos I don’t have that email account on my domain name. Simple as that.

       
    265. shadowandy,

      Yeah, I realized that. That is why I changed it, but at least I am honest about telling you that my email is invalid. Others might just put a fake email without giving you the ability to know if it is valid or even if it is for somebody else (unless you start requiring a confirmation method).

      Anyway,

      I am still stuck in my place and can’t pass the .ram step.

      I wonder why do we need to get through all this procedure, it would be much easier (I believe) if dd-wrt programmers create a patch to the .bin file of the D-Link firmware or create a .bin file that would look like as if it is a D-Link firmware so that the web based flashing would be possible.

      To Clarify what I mean, consider the following scenarios:

      1- A user decided to flash dd-wrt on his router.
      2- This user has a D-Link .bin file on his computer (or downloaded the latest update).
      3- This user goes to dd-wrt website, downloads 2 things: A patch for D-Link .bin file and linux.bin.
      4- The user uses that patcher to get a D-Link .bin file that after being flashed will allow any future .bin file to be flashed.
      5- The user now flashes the patched D-Link .bin file using the web interface.
      6- The user now, gets his linux.bin file and patches it to the router using the web interface.
      7- Done.

      Or a Simpler Scenario:
      1- A user decided to flash dd-wrt on his router.
      2- This user downloads the linux.bin file which would look like as if it is a D-Link firmware, so the web interface will not block the flashing procedure.
      3- Done.

      I know that it is easier to write the above than actually doing it, but that is why dd-wrt is there. (Also, it might be illegal with respect to D-Link, I don’t know).

      For now, I have no dd-wrt :(

       
    266. Hi! I want to get some information about DD-WRT on DIR-300 and MAC cloning … because I think it isn’t work correctly :(

       
    267. Hello.

      Just flashed my DIR-300 (HW version A1, Firmware version 1.03, FCCID KA2DIR300A1).

      I used DD-WRT v24 SP1.
      Everything went exactly as described here.

      A few offsets reported during the fis commands were slightly different, but I think its because I used v24SP1 and the guide was writted for another release.

      DD-WRT is much better than the original firmware.
      Im very happy with it.

      Thanks a lot for this great guide and for helping people on the comments!

      PS: Im from Brasil and as of now (2008-11-25) a DIR-300 costs here R$150-200 (US$ 65-90).

       
    268. Carlos,

      I’m not sure if the memory address differences were due to newer firmware or hardware revisions of DIR-300. Will look into it after my exams!

      You are welcome. :)

      Didn’t realized that DIR-300 is selling for such a high price. My side probably sells at US$35.

       
    269. As another recent brazilian DIR-300 with DD-WRT owner, prices here are higher than in the US, mostly due to import taxes and crazy, fluctuating exhange rates. I got mine this past monday for R$ 130 (around US$ 50) after an online scavenger hunt.

      At any rate, I got it yesterday, tried to flash it a few times and screwed up quite a few times (at one point, I even thought I managed to brick the thing, but I’m not that good) and ran quite a few tests during the night and it all worked so I’m VERY happy with your tutorial and DD-WRT.

       
    270. *sigh*

      I didn’t break it but I did lock myself out of the web interface – I thought that disabling remote administration (after disabling telnet and SSH access) would only lock out WAN access to it but I thought wrong and now it’s still working but I don’t get to look at the nifty interface anymore.

      Thank goodness I tweaked it to perfection but game over.

      After a quick google, it seems that nobody else did this (which makes me feel special, a stupid special, but special nonetheless).

       
    271. I am sooooooooooooo stupid.

      I did a 30-30-30 and it worked again (as read here http://www.dd-wrt.com/phpBB2/viewtopic.php?t=39529).

      Oh man, I’m a stupid special stupid special idiot (that doesn’t RTFM).

      BTW, I just noticed that Shadowandy is the same awesome dude that build MLDonkey for my DNS-323. I thought Shadowandy was awesome a while back and now I’m even more in awe of his coolness.

      Anyway, back to tinkering.

       
    272. Andre,

      Nice find on the 30-30-30 trick! Well, you did a good job of rectifying the error while I am mugging for my exams! Haha!

      I just released another compilation of the MLDonkey. ;)

      Hope you enjoy the guides I wrote so far.

       
    273. anyone know if i can install asterisk on this device as well ?

       
    274. Thanks! Work for me :D

       
    275. Hi!

      Thanks for the guide! Worked like a charm. I’d like to make a contribution here. My wireless was also not working after flashing. I changed the transmit power to 18dBm, and the channel to 6 and it started working! Try and experiment with different channels. Hope this helps all people who could not get their wireless working :)

      Once again, thanks!

       
    276. Kalpik,

      Thanks for sharing!

       
    277. I flash without a problem.. I work fine..
      Then I power off for the night.
      When I power it on again…look like everything disappear..
      I can’t access to it anymore…

      I have redo in the 2nd part again.. (192.168.1.1)
      (without load ap61.ram) .. Get it back and it work…
      and I power it off again… It lose again…

      Any reason why? pls help.

       
    278. DD-WRT> fis create -l 0×30000 -e 0xbfc00000 RedBoot
      … Erase from 0xbfc30000-0xbfc60000: …
      … Program from 0×80080000-0×80098d11 at 0xbfc30000: .V
      Can’t program region at 0xbfc40000: Unknown error

      and after this moment i stuck. can someone help me please

       
    279. Hi everybody,
      I think i’ve bricked my router after mistakenly put the DD-WRT> load -r -b %{FREEMEMLO} ap61.rom<– which i’ve replaced with ap61.ram.
      So anybody knows how to recover it back?
      One more thing, where to get the ap61.rom since I cannot see it in the download page.

      Thanks

       
    280. hkechung,

      Make sure the set has been properly flashed before rebooting/resetting the device.

       
    281. t3rmig,

      Just power off the device and start all over again.

       
    282. Thanks for the wonderful guide. I managed to get it done on my own, within 2 minutes. I had some problems, but nothing that wasn’t already resolved in other people’s queries on this page.

      ^_^

       
    283. Thanks for the guide..i upgraded from stock fw to v24 (05/20/08) – not sure rc5 or rc7..how can i upgrade to the latest version – v24 sp1 from my current dd-wrt fw? the version i’m using hangs daily…

       
    284. Hi! shadowandy, i have successfully flashed my second Dir-300 after flasing the first before 4 months. But I have one query… This time after issuing the create linux command ,Putty lost connection, I waited for some time and rebooted the router, tried to telnet to 192.168.1.1 9000 it took approx 1 min but i managed to get the DD-Wrt prompt and then i continued with the remaining steps and successfully gained access to dd-wrt v24. Earlier Brian also faced such a problem, I too had ensured that the never exit was checked in Putty. What may be the exact reason..??

       
    285. cirkit,

      I am not pretty sure of the exact problem as I do not own the latest hardware revision of the DIR-300. If you have a serial-to-ttl cable. You can attach it to the DIR-300 and monitor if any error messages have been thrown out in the console.

       
    286. Hi

      thx for the nice manuel but i have a problem :D

      i dont have an webinterface after flashing my dir-300 i can connect with putty but there is no webinterface when i go with my browser on 192.168.1.1 there is only an empty white page nothing else

      but the ps show me that:
      root@DD-WRT:~# ps
      PID USER VSZ STAT COMMAND
      1 root 2404 S /sbin/init noinitrd
      2 root 0 SW< [kthreadd]
      3 root 0 SW< [ksoftirqd/0]
      4 root 0 SW< [events/0]
      5 root 0 SW< [khelper]
      6 root 0 SW< [kblockd/0]
      7 root 0 SW [pdflush]
      8 root 0 SW [pdflush]
      9 root 0 SW< [kswapd0]
      10 root 0 SW< [aio/0]
      11 root 0 SW< [mtdblockd]
      18 root 2428 S /sbin/watchdog
      82 root 2400 S resetbutton
      158 root 1308 S /usr/sbin/telnetd
      160 root 3672 S httpd -p 80
      164 root 1088 S dnsmasq –conf-file=/tmp/dnsmasq.conf
      262 root 2424 S /sbin/wland
      265 root 976 S cron
      270 root 968 S udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc
      274 root 2364 S ttraff
      327 root 0 Z [rflow.startup]
      368 root 1324 S -sh
      370 root 1308 R ps

      what can i do to get an webinterface ?

       
    287. buddsn,

      from what I see from your ps. The web interface is already running. Make sure that your proxy settings allow local access.

       
    288. [...] dir -300 si me equivocaba podia volver el punto 1 hacer y volver al redbot y empezar todo denuevo Mini Flashing Guide for DIR-300 | shadowandy – my life stories como veia si podria volver a reflashear con el programa putty o con cmd con un ping -t ala ip [...]

       

    RSS Feeds




    Treat shadowandy!


    Like to treat shadowandy a cup of Starbucks?

    Polls


    Which is your preferred SOHO networking brand?

    • D-Link (48%, 225 Votes)
    • Linksys (27%, 126 Votes)
    • Cisco (12%, 57 Votes)
    • Netgear (7%, 34 Votes)
    • Buffalo (2%, 9 Votes)
    • TRENDnet (1%, 6 Votes)
    • PCI (1%, 5 Votes)
    • Planex (2%, 3 Votes)

    Total Voters: 465

    Loading ... Loading ...

    Recent Comments



    Friend's Blog



    Interesting Links



    Previous Postings



    Copyright © 2005 - 2010 www.shadowandy.net  98 queries. 0.529 seconds.Go back up ↑