How to flash the Linksys WRT54G v8 with the DD-WRT Firmware

This tutorial will walk you every step of the way through flashing your Linksys WRT54G (version 8) router to use the DD-WRT firmware.

According to Wikipedia, the Linksys WRT54G v8.0 is “currently one of the most commonly available (routers) at US retail establishments, such as Best Buy and Target”. Due to hardware limitations, the 8.x versions (8.0, 8.1 and 8.2) are only able to run the “micro” version of the DD-WRT firmware (you can find a firmware version feature comparison chart here). Even so, the micro version of the DD-WRT firmware provides dozens of features, many of which are not available with the default Linksys firmware.

This walkthrough is based on the WRT54G v8.x tutorial on the DD-WRT wiki. The biggest difference between this one and the one on the DD-WRT wiki is that I’ve elaborated a bit, and provided screenshots for each step.

Please make sure you understand each step before you complete this tutorial. If you’re unsure of anything, please leave a comment and I’ll respond as soon as I can. It is possible to brick (render the router unusable) your device if done incorrectly.

  1. You’ll need to use a wired (not wireless) computer to flash your WRT54G with the DD-WRT firmware. Make sure that computer (doesn’t matter if it’s a Mac or PC running Windows or Linux) is plugged in to Port 1 of your router. Unplug all other devices from the router – you can leave the WAN port plugged in to your cable/DSL modem.
  2. Download the files vxworkskillerGv8-v3.bin and dd-wrt.v24_micro_generic.bin to the computer you’re going to use to flash your WRT54G (the one plugged in to Port 1 of your router).
  3. You’ll need to set your computer to use the following static IP settings:

    IP Address:
    Subnet Mask:

  4. OS X Static IP Settings

    Windows Static IP Settings

  5. Unplug the power cord from the WRT54G. Push the Reset button (see image below) while plugging the power cord back in, and hold down the button for about 20 seconds. Use a pencil or ball-point pen to push and hold the Reset button – it’s a bit recessed and very difficult to push and hold with your finger or fingernail.

  6. click to enlarge

  7. Open your browser and enter the address Use a browser other than Firefox, as issues have been reported with Firefox not being able to flash the device properly. I’ve used Safari and Internet Explorer and both had no problems.

    You’ll be presented with a Management Mode Firmware Upgrade page. Click the Choose File button.

  8. click to enlarge

  9. Navigate to the vxworkskillerGv8-v3.bin file, select it, and close Choose (or Open if you’re using IE).

  10. click to enlarge

  11. Make sure that vxworkskillerGv8-v3.bin is listed on the Management Mode Firmware Upgrade page, and click the Apply button.

  12. click to enlarge

  13. Wait for at least two minutes before you go any further. After the 2 minutes is up, if you notice a dialog asking you to reboot the router, do so by unplugging the power cord and plugging it back in again. If you don’t get a message telling you to reboot the router, wait another 3-4 minutes and then reboot the router.

  14. click to enlarge

  15. You should be able to ping (in Linux or OS X open a Terminal and type ping In Windows open a Command Prompt by clicking Start, selecting Run enter cmd and then type ping If the router doesn’t reply you probably haven’t set your network settings correctly (step #3 above).

  16. click to enlarge

  17. Now it’s time to flash the WRT54G with the DD-WRT firmware. To do so, enter the appropriate command for your Operating System:

    Windows: (note: Vista users will need to install tftp first) enter tftp -i put dd-wrt.v24_micro_generic.bin from the Command Prompt. Make sure that the dd-wrt.v24_micro_generic.bin file is in the same folder that you’re using the Command Prompt from. For example, if you downloaded dd-wrt.v24_micro_generic.bin to your Desktop, make sure the Command Prompt reads C:\Documents and Settings\your-user-name\Desktop> – where your-user-name is your Windows user name.

    Linux: enter tftp -m octet -c put dd-wrt.v24_micro_generic.bin at your shell/terminal. Note: if you get the the message error code 3 while trying to flash it, try atftp. The aftp command is: atftp –option “mode octet” –verbose -p -l dd-wrt.v24_micro_generic.bin

    OS X: enter tftp -e From the tftp> prompt enter put dd-wrt.v24_micro_generic.bin

    Make sure that the dd-wrt.v24_micro_generic.bin file is in the same folder that you’re using the Terminal from. For example, if you downloaded dd-wrt.v24_micro_generic.bin to your Downloads folder, make sure you’re using the Terminal prompt from /Users/your-user-name/Downloads – where your-user-name is your Mac user name.

  18. click to enlarge

  19. The file will be transferred and automatically installed. Once this is done, DD-WRT will automatically boot. After about a minute, you can browse DD-WRT on your router at

  20. click to enlarge

  21. If you browse away from the main page, you’ll be prompted for a user name and password. The default user name is: root and the default password is: admin. To change the user name and/or password (a very good idea!!) – select the Administration tab and then the Management tab. Enter your new user name and/or password in the spaces provided, and click the Save button at the bottom of the screen.

  22. click to enlarge

  23. When you navigate away from the Management tab, you’ll be prompted to enter your user name and password again. Enter your new user name and/or password to continue.

113 thoughts on “How to flash the Linksys WRT54G v8 with the DD-WRT Firmware”

  1. Hi,

    Thanks for the tutorial. But while executing the step #10, I get the error “Error on server : Access violation”. Do you have any clue how to overcome this? Should give my username/password for the router anywhere ??

    — Santhosh

  2. Santhosh –

    You have the exact router used in this tutorial? By the time you hit step #10 the router will be set back to factory defaults, and using tftp should not prompt you for any kind of user/pass. Which OS are you using TFTP from?

  3. you did a very good job, very apreciated :)

    congratulations, thanks to you, and your guide, now i’m running DD-WRT v24 on mi Linksys WRT54G v8.2

    Thanks master !!

  4. Oye muchas gracias, estuvo perfecto, aunque… Creo que los comandos que tienes en Linux estan malos! Ahora voy a probar de nuevo y te envio la correccion.

    Muchas gracias!

  5. Hey thank you very much, it worked perfect. Although… i believe there’s a mistake on the Linux command lines on TFTP. I’ll make some proves later on and will send you the correction

    Thanks a lot again

  6. Hi thnx for infos, but I got a problem when I started to flash my Linksys WRT54G v.8 with vxworkskillerGv8-v3.bin I had power fail after ca. 30 sek. flashing from linksys web interface , after I checked wen power come I get Online led blinking fast all time ,dmz and wlan of all time and lan 1,2,3,4 all time on.No lan connection,no ping ,no dhcp…. PC ip is set manual to but in windows network shows A network cable is unplugged. I traed hard reset with different method which I reade in the internet but no luck. can you plz tel me is any metod to get ping/lan up or I need Jtag.???? Thnx (Sory in my english.)

  7. Everything is fine until Step 10. When I enter the tftp commmand at the Command Prompt, I get the following error message – “Error on Server : Access Violation”. Using Window XP-Home. Any help on this?

  8. Can you please help me, I have a wrt54g v3.1 with a blinking power I was able to short it the router and now its replying and i already flash firmware on it via tftp but still power is blinking and cannot access the router page , already reset and power cycle router still no luck…

  9. i do not understand step 10
    in XP, does that step mean that i run cmd.exe and type in what is in bold? because when i do that, nothing happens, it just gives me a generic response. please just define that step as idiot proof as possible. thanks man!

  10. jake –

    Yes, click Start > Run, enter cmd and then click ok/hit enter. That will bring up the Windows command prompt. Then you need to change directories so that when you issue the command “dir” (without the “”) you see dd-wrt.v24_micro_generic.bin listed as one of the files. So if dd-wrt.v24_micro_generic.bin is on your desktop, type “cd Desktop”, then “dir” and make sure you see dd-wrt.v24_micro_generic.bin. THEN type tftp -i put dd-wrt.v24_micro_generic.bin

  11. I know this is off the topic, but I need some help. My linksys router has v8.2 and I always wanted to downgrade it to v3.0. I’ts new, so it doesn’t have dd-wrt. Is there a way to do this and if there is could someone explain to me how to do it?

  12. when i type put dd-wrt.v24_micro_generic.bin it gives me this message
    “dd-wrt.v24_micro_generic.bin: No such file or directory ” Can some one help?

  13. everything seemed to be working fine and after i flashed the dd-wrt firmware it said “transfer successful” but dd-wrt did not boot. anybody know what the problem could be?

  14. Nice tutorial Ross….

    I have been having unexplained issues for well over a year – maybe 2. I have a WRT54G v.3. It was suggested to me that it might not be just Comcast issues, but might also be the router.

    Does this firmware work with a v.3, or is it only for the newer models?

    Also, though the tutorial does not explicitly say it, do you undo the static IP address after the flash is complete?

  15. Hi,
    Is this firmware version compatible with WRT54G v5?
    If not, do you know a website to find the appropriate version at?
    Would the same flashing procedure work for v5?

  16. OK, I have a WRT54G and this is by far the most clear explanation I’ve seen yet (screen caps included) but my main problem is that I can’t get to the MANAMENT MODE for the router. Yes, before you ask, I’ve tried the whole “push the reset, plug in cord, wait [for however long] then try to connect via the browser. Over and ove and over again with times from 5 seconds to 2 minutes. It just keeps going back to the usual login box. Did they disable the managment mode or something?
    I even went so far as to try to tftp to put the vxworkskiller on their directly first. Seemed to proceed but no change and still no management mode screen.
    At this point I’d rather have a brick. At least that might FORCE it to get to that screen so I can proceed.
    Any ideas?
    [P.S. – for the sake of others searching as much as I did with no hope I’m going to ad this so they’ll maybe find the answer. Sort of an old fashioned meta tag thing: can’t get to management mode, no management mode, can’t see management mode]

  17. I too am stuck on Step 10. I’m on OSX and receive the message “dd-wrt.v24_micro_generic.bin: No such file or directory”

    any thoughts?

  18. Chad,
    This is what I did. Lets say you have the dd-wrt.v24.. file on your desktop.
    Then open terminal and type:

    cd /users/your-mac-username/desktop

    then you would hit enter, and then type in
    tftp -e 192.168….etc etc and just continue with step 10. This just changes the directory (cd stands for Change Directory) that terminal will be communicating with.

  19. Thanks for this tutorial, it helped immensely!! I was having difficulty getting my wrt54g v 8.2 into management mode; however, it eventually loaded.

    The TFTP client is still available and works in Windows 7 beta, just fyi. :)

  20. I followed these instructions to the letter, but now my router is bricked.

    Going to brings up the Management Module page, but when I try to load firmware the webserver crashes.

    Also when I try to TFTP the dd-wrt.v24 file I get this error:

    Error occurred during the file transfer (Error code = 0):
    Error in recfrom() call. Please check in the TFTP server is available.

    Is it hosed or is there a way to fix this?

  21. Dan,

    In terms of getting DD-WRT to work, I’m not sure what steps you could take (the error using tftp isn’t something I’ve seen, but you could try google’ing it). As for recovering your router (resetting it to factory default) – try these steps to recover from a bad flash.

  22. Buenas. consulta para antes de arrancar. Despues de realizado todo esta tarea, y si corre todo bien, le puedo poner el DD-WRT para vpn, en este modelo. Es que necesito que funcione como servidor vpn. Gracias. “H”

  23. I did the flash everything worked did what was in all the picutres, but now i cannot connect to the internet through the router… i changed all the setting back to how they were, put all my information into the router then i got to the status tab then WAN tab and click connect , but it wont connect. says connection is disable then goes back to the WAN tab screen. its driving me crazy anyone help me out?

  24. Pingback: Lynksis WRT54G cd - -

  25. عندى جهاز لينك سيس موديله wrt300n المشكله انى حاولت ان الغى باس ورد الادمن من زر ريست ولاكنه لايقبل على الرغم انى حاولت اكثر من مرة هذا الجهاز ليس لى وانماة لاحد العملاء بجاء افيدونى على الاميل وشاكر لكم والله يعطيكم العافية

  26. Ross,

    Thanks for the stepwise procedures. All of them seemed to work except the main one. :(.

    I managed to flash the router. However, after flashing it, I am able to ping it but not connect to it ( port 80 never replies). Any ideas what is going on.

    (ps: I used tftp without the -e. I have darwin, and when I typed in tftp -e, it kept saying “-e unknown host”. So, I just typed in tftp After the put command, I even received a confirmation that the send file succeeded.


  27. A few additions. firstly, the power button is not lighting up, even after rebooting the router. Using the following page

    I tried to follow the reset procedure but it did not seem to work. I then tried to reflash the wrt54g binary file (ensuring that I did it in binary mode this time by typing bin before flashing !!). I am able to flash the router since the put command goes through, the router stops pinging for a minute or so and then resumes its response to pings. However, I am still unable to get the power light or the browser connection to

    Any ideas of what is going on, or suggestions on whether anything can be done to revive the router ?


  28. I have a WRT54Gv8. I followed all the directions exactly. When I enter the tftp command, the cursor blinks indefinitely and nothing happens…the only way I can get out of the command prompt is by closing the window. I tried it several times…waiting anywhere from 15 min to 30 min with no success. I still get the Management Mode Firmware Upgrade screen when I specify

  29. Managed to get the brick working again.

    My first try (comment 46), in which I skipped the -e, probably ended up flashing the binary in ascii mode. After that, I tried reviving the brick by flashing the linksys binaries. The power light was not lighting up indicating that the firmware was not being loaded correctly. As a final try, I flashed the dd-wrt binary in binary mode with a packet timeout set as 1, timeout set as 60. This seemed to fix the problem. When the router rebooted, the power light was back on, and so was the web interface accessable.


  30. Hey ya’ll. Just a quick question. Does this version of DDWRT not support VPN? Can I use VPN on a WRT54G v.8 or is that out of the question since the DDWRT firmware is “Mini”?

  31. Buenas noches amigo, te agradezco de verdad la informacion logre realizar la actualizacion, queria comentarte que en el punto 10. la line para correr el comando y cargar el archivo dd-wrt.v24 . . . . .bin esta errado (esto para el usuario de windows xp), luego de analizar la ayuda del comando tftp pude al fin cargar el archivo. Bueno ahora el router esta funcionando pero tengo problemas con la clave que dices que se debe de coloacr para accesar, sera que me puedes ayudar??? nombre de usuario: raíz password: admin. esto no funciona. te agradeceria mucho la info.. gracias

  32. Pingback: Flashing Your Linksys WRT54G Router (V8) « The AndrTech Blog

  33. Hi, this worked great. Now, I’m able to connect to the internet through wired connections, but not through wireless. I see the wireless network and enter the WEP key, but I’m only given limited local connectivity. I’ve been through all the wireless settings, and they seem ok, but maybe I’m missing something? Any thoughts? Thanks

  34. Buenas quisiera actualizar mi dir-300 de d-link pero me da miedo que muera me puedes ayuda en los pasos.

  35. anyone having “Error on server : Access violation”. DO NOT USE FIREFOX TO TRY TO FLASH THE ROUTER IT WON’T WORK USE IE

  36. Doesn’t work. Everytime I try to apply the firmware at step 7, I click on the apply button, and IE then tells me that I am no longer connected to the internet.

    Oh well. Back to Newegg you to, worthless router!

  37. El-austriaco

    Ich habe meinen WRT54G-V8 erfolgreich mit der micro Version geflashed und alles klappt hervorragend, außer dass sich der Router mindestens einmal pro Tag aufhängt und nur mehr ein hardreset (Netzstecker ziehen) ihn wieder zum Leben erweckt. Was könnte die Ursache dafür sein und was kann man dagegen tun?

  38. El-austriaco

    oops-sorry, I did not know that I am in an English forum – here my problem again: I flashed successfully my WRT54G-V8 with the micro version and everything seems to work perfect except the router stops working at least once a day can’t be accessed through the IP address any more so I have to pull the plug for a hard reset. This sucks. Does anyone have an idea what could be wrong there? Thanks

  39. fijate que el traductor automático que usaste también tradujo los comandos del tftp:
    tftp-i poner dd-wrt.v24_micro_generic.bin

    tenés q tipear:
    tftp-i put dd-wrt.v24_micro_generic.bin

  40. This was very helpfull for me. I did it and everything is fine.
    I need to flash a motorola sb 4200.
    May you tell me please How I do that.
    Thank very much, this is the best tutorial ever.

  41. Love it, worked like a charm on my WRT54G v5

    btw: those who think they can skip the step to manually set the local computers IP address (instead of using DHCP), your wrong ;-)

  42. Pingback: dd-wt project « Dardello’s IT Blog

  43. Firefox worked for me

    I tried originally with Safari, but was getting access denial issues. I tried firefox and the steps worked perfectly. I’m now dd-wrt happy.

    Thanks for the great tutorial

  44. Wilfredo Liriano


    He tratado de flash el linksys y no he podido ya que no entiendo muy bien lo del comando para transferir el archivo, el paso numero 10. Si pudieran por favor mandármelo gráficamente a mi correo, soy usuario de Windows vista, gracias de ante manos

  45. Nice tutorial, worked perfect for me. Using the DD-WRT software for a repeater. Makes at $20 used router off ebay work like a $500 …

  46. when I put the tftp it tells me that command does no exist or no such file or directory im using a mac and a program called open terminal here cus i dont know how to open terminal from my download folder can enyone help?

  47. Tenho ligado neste aparelho WRT54G v8 dois PC via cabo e dois not via wireless, devo fazer este procedimento em todos os PC`s e Not`s?

  48. Hi! Thank you for the instructions.
    I followed the instructions and completed steps 1-13 without encountering any error, but I now cannot connect to the internet via wired or wireless. I restored the IP settings but still not working. Is there anything that I need to do after step 13? Any help will be greatly appreciated. Thanks!

  49. Pingback: [dd-wrt] « tagesuhu

  50. Excellent tutorial – clear, concise steps. Very easy to follow and great images and screenshots. DD-WRT now works great on my Linksys wireless router. Thanks!

  51. I also got the “Error on server : Access violation” at step 10, but I was able to resolve it by going back to step 4 and instead of following the reset instructions here, I followed the 30/30/30 reset instruction on the dd-wrt website to the letter.

    Resuming from there worked perfectly – even go the reboot dialog in step 8 which I didn’t get the first time.


  53. No doubt, an excellent instruction for flashing the router. Thanks to the author, but it seems, that no one who has asked a question in this forum has got any answer or reply. Should we not share experience here?

  54. por favor ayudaaaaa….tengo un probloma lo que pasa que al momento de ingresar la pagina no me entra a la pagina que me deberia entrar que es para actualizar el firmware…segui todos tus pasos….pero nose que problema tiene este router…es un wrt45g v8 pero no se que pasa…ojalas me puedan ayudar se los agreadeciria…

    eso si el turorial esta espectacular….

  55. If step 3 settings are done properly and you have already flashed the router – is there a way to go back to step 3? my router’s (WRT54G v8.2) all lights are steady ON but no connection. Any help will be greatly appreciated

  56. hola buenas noches tengo un rauter wrt54g v8 , entre pagina de linksys para actualizar firmware pero me ocaciono un problema pues no reconoce el rauter, anteriormente prendia una luz naranja donde dice cisco system la cual ya no enciende no se como volver a configurar el rauter si no me lo reconoce . necesito ayuda porfavor.
    de antemano gracias

  57. Great tutorial. I found the wikis on this subject confusing and full of info most people would never use. This worked perfect.

  58. Hi, My problem with my router is when I connect it, I see in preference systeme that it’s connected but I can’t open the page with safari.
    Can you help me?

  59. necesito de su ayuda… todo hiba muy bienj, unicamente que al momente de entrar al tftp y pasar el archiuvo me sale invalid command …

    que podra ser. doy ping y si me contesta.

    estoy utilizando mac os 10.6.2

    Que puedo hacer?

  60. THANK U!! This tutorial is awesome, got my router wrt54gv8 onto dd-wrt in less than 6 minutes. Now im using the repeater mode to “share” my neighbors internet. and my other wrt54gv5 with ddwrt installed as well for in house networking ;-) NOTE: On steps 4-7 you must do this in under 30 seconds or else the router boots up normally. BTW got my router today for $15USD on craigslist.

  61. Quando fui fazer o 2ª procedimento(Flash) deu comando “tftp-i ” não é reconhecido com um comando interno ou externo, msm entrando na pasta q se encontrava o arquivo.

  62. Hi was wondering if the micro version for wrt routers v 8.1 support serial ports…guess not since i saw the table comparision and both USB & MMC/SD are not supported those devices uses the Rx Tx in common, but who knows any toughts here?….Thanks

  63. Pingback: Help installing DD-WRT on WRT54G V8 - -

  64. is it a way i can flash my router through wireless internet? i mean the whole reason i got the wireless connection was to not have to pay for internet to begin with…my cable was cut off,bills stacking up and all i have is the wireless connection…to be honest,i just really wanna get on xboxlive..can you help me please? would be real thankful…

  65. Hi I tried to install DD-WRT as per the website, everything goes according to plan until I use tftp to put the file in the router. I get timed out every time. I ping the router no problem but get the same result. I tried from 2 different computer and still get timed out. Any idea?

  66. Hello, I flashed the router (wrt54g ver 8) with the dd-wrt firmware successfully, but it did not start automatically, and now when i try to access from IE or Chrome, I get a webpage is not available. When I ping the router, it says the destination host is unreachable. Also, the only light on the router is the plug connecting the computer to the router…

    thank you

  67. Followed your tut. the T. But when it came down to flashing using the CMDPrompt Its says timeout and failed. i tried to back to the router with IE8 and it wont show up. i’ve tried to start all over by reseting but no luck. The power light on the router doesnt turn on but the light for the in port #1 is on and blinks randomly.I assume I have somehow bricked it , is this the case?

  68. Help! All goes well until #10 “Error on server: Access Violation:. I see this same issue posted previously but I do not see fix. Also, do I resume at step #10 or start over at step #1? Thanks!

  69. need tutorial on what not to do ! hahahahahah
    need to add set 14, , undo step 3.
    go back to where it was, the PC NIC card config, usually auto DHCP.
    ok to answer the really dumb questions, sorry!
    1; disconnect WLAN,internet so you dont generate false interrupts.
    2: connect ANY PC or laptop with a WIRED, (not wireless, ) CAT5 patch cable to
    the router lan #1 port,
    there is no internet now, so forget it until done reprogramming the WRT.
    3: DO NOT SKIP steps.
    4: if using a MAC (may a deity save you) find your own tftp service, install , or turn it on.
    5: i you have other version hardware WRT do not use this procedure, Duh.
    use the DDWRT web site instructions for YOUR hardware.

    this answers most DAH questions.
    happy hunting.

  70. Hola Gracias buen tutorial con fotos. preguntas maneras de volver el linksys a condicion original Existe? linksys original firmware wrt54g v8.2 y como hacerlo o donde lo encuentro . Cuando hice todo lo que indicastes. aun no sabia que no aceptaria otro upgrade( del micro aumentarlo a generico) pense que era importatnte y ahora no me permite entrar al solo blak page, en ocaciones dice conflicto ip. yo nunca desconecte actual (router) o mi red, porque mi intencion es volver repetidor. y ahora no se si esta mal lo que hice o bien deberia volver hacer todo desde el principio. lo ultimo que hice despues de funcionar en la pantalla inicial dd-wrt fue cambiar el password las tres luces verdes estaban encendidas pero ya no logre entrar, hice ping y muestra coneccion. ahora solo una luz verde no ambar y no llega. a conectar nni cable ni wireless. luce como que estoy a mitad, y alli quede. Alguna ayuda de cualquiera de los experimentados webmasters. Y gracias thanks

  71. I had a problem with the vxworkskillerGv8-v3… for some reason after I tried to upgrade it sent me to IE page cannot be display. And that just made me mad but I didn’t give up. What i found out was that I needed to upgrade the version from 8.00.2 to 8.00.8 which i found in the Linksys website here And after i upgraded the firmware did what was said here in windows xp. And now I am happy :) very very happy. Thank you soo much Oh and for those that want to go back “I DONT KNOW WHY THE HELL YOU WOULD”. But if you want to go back read this page.

  72. I upgrade the firmware to vxworkskillerGv8-v3.bin and now my router wont come up anymore. the power light is flashing and all ethernet lights are on. i tried to reboot but still same ting. can you please help?


  73. Pingback: Linksys flash | Dinkiwinki

Leave a Comment

Your email address will not be published. Required fields are marked *