Linksys EA6400

From DD-WRT Wiki

Revision as of 19:41, 1 October 2018 by S2s2 (Talk | contribs)
Jump to: navigation, search

Hardware Specifications

EA6300 shown, models are identical.

CPU Broadcom BCM47081A0 800 MHz
Flash ROM Spansion S34ML01G100TF100 128 MB
RAM Hynix H5PS1G63JFR-S6C 128 MB
2.4 Ghz Radio Broadcom BCM43217 2x2 802.11b/g/n IEEE 802.11b (up to 11Mb/s)

g (up to 54Mb/s)/n (up to 300 Mb/s)

5 Ghz Radio Broadcom BCM4352 2x2 802.11a/b/g/n/ac

& two 5 GHz amplifiers

IEEE 802.11a(up to 54Mb/s)

n (up to 300 Mb/s)

Antenna Location Internal 3
Switch BCM47081A0 (Gigabit) 4x GbE + 1 WAN
USB 1x USB 3.0


Hardware is apparently identical to the Linksys EA6300v1

Useful links, downloads: Start here: and here and here

On the 1st, the DD-WRT forum link, page down about halfway to user 'butterworth' 's post.

I have successfully flashed several different types of routers that required pin-reset (to put it in a mode to receive new firmware), tftp flashing (flashing right after booting the router), etc. The tricky part - if there is one, is getting the initial flash over to DD-WRT. As you can see from this thread, you previously used to be able to simply web-flash the EA6400 directly, that is: get a dd-wrt image and use the Linksys default firmware update function. Disregard that because all newer versions require TFTP flashing (and more, beyond 'just' the initial TFTP flash, as it includes modifying the CFE and flashing the DD-WRT to 2 different locations on the router).

TFTP is typically a way to get around these webflash firmware checks (introduced by Linksys in current versions of the router firmware, what you will likely have).

This router has two (2) storage locations for the firmware, as a kind of recovery in case one is corrupted. TFTP only writes in one location, so it is temporary.


  • 1. Grab all the files from the above guides (while you are online), and Get the router ready
    • 1a. You can upgrade the router to the latest Linksys firmware. It shouldn't matter technically, although I did upgrade it before continuing.
    • 1b. Set your computer's LAN ethernet to, subnet of, no Gateway and no DNS (in Windows, just type in for the IP and press OK. This is in the Network Properties of the Ethernet Adapter, modifying the TCPv4 settings. Don't fill out any other details).
    • 1c. Connect an ethernet cable directly from your laptop to one of 4x LAN ports on the EA6400 router.
    • 1d. With the router power on already (already booted up in the OEM Linksys firmware), make sure 'ping' returns 4x quick pings. If it doesn't, fix this basic problem first (wiring, other issue).
    • 1e. Finally, while running 'ping -t', pull the power cable out of the router, wait a few seconds, power it back up, and observe the ping responses to get familiar with how it is supposed to look while the router starts up.
  • 2. Flash over the DD-WRT temporary image with TFTP.
    • 2a. Open the TFTP(2).exe Windows program.
    • 2b. Put in as the server, and click the '...', and point it to the temporary DD-WRT .bin image. (Here I am using 'linksys_ea6400_ddwrt.bin' from the linksysinfo guide above (3rd link)). Don't specify a password, although one guide above says use 'admin' as the password, just leave it blank.
    • 2c. Power down the router. Get ready with your mouse on the Upload button.
    • 2d. Power up the router. On the fourth flash of the single green power LED on top, press TFTP 'Upload'.
    • 2e. You will see a bar graph fill as the TFTP application uploads the image to the router.
    • 2f. Wait a few minutes.
    • 2g. If the flash was successful, it may still boot into the Linksys OEM Firmware.
    • 2h. If the router boots into Linksys OEM firmware, it's using it's second internal firmware image, the location is stored at 'linux2'. Go to Troubleshooting in the Linksys webadmin, and there is an option to 'restore earlier firmware' (boot internally from the 'linux' image). Use that and it should now boot into DD-WRT (stored at 'linux').
  • 3. Backup your original Linksys OEM CFE and environmental variables.
    • 3a. Go to (the EA6400 is now running a temporary copy of DD-WRT). Set the default username and password to root/root. The final flash will ask you to set this again, so for now just use root & root as username and password. Do not power off the router at any point until this guide says to do-so!
    • 3b. Go to to backup the original CFE,
      Just simply go to the link. Your browser will save or ask you where to save the CFE, onto your computer.
    • 3c. Go into the DD-WRT webadmin and enable SSHd in Services.
    • 3d. Use Putty (ssh client) to backup NVRAM variables. (Command is: nvram show >> nvram_dump.txt)
    • 3e. Use WinSCP to SCP into the router and copy the nvram_dump.txt to your local computer
  • 4. Using a modified CFE (see Koolshare CFE) use CFEEdit.exe to change the variables to reflect your router
    • 4a. Open up the Koolshare CFE with CFEEdit.exe
    • 4b. Change settings as detailed in Step 2 here:
      (will put the entirety of the steps in the DD-WRT wiki)
    • 4c. Save it, and reopen the CFE, making sure the two values are set (on mine the WPS Password didn't stick, it was 000000's when I saved then reopened the modified Koolshare CFE)
    • 4d. Upload the modified CFE to the router, with WinSCP (copy it to /tmp/root)
    • 4e. Connect with Putty (or use your existing putty session), and write the CFE to the router's memory (Command is: mtd –f write /tmp/root/newcfe.bin /dev/mtd0)
  • 5. Upload and flash the current DD-WRT image.
    • 5a. Currently
    • 5b. Using WinSCP, upload linksys-ea6400-webflash.bin to /tmp/root on the router.
    • 5c. Rename linksys-ea6400-webflash.bin to simply firmware.bin using either WinSCP or Putty.
    • 5d. Flash it to linux2 (TAKES ABOUT 5 MINUTES!!) with Putty (Command is: mtd -f write firmware.bin linux2)
    • 5e. And flash 'linux' (Also takes about 5 minutes) (Command is: mtd -f write firmware.bin linux)
    • 5f. Erase nvram (instant) (Command is: erase nvram)
    • 5g. Reboot the router.

You should now be in the latest version of DD-WRT.