Linksys EA6400

From DD-WRT Wiki

Jump to: navigation, search

EA6300V1 hardware with an FCC/IC ID suffix of EA6400 is identical to the EA6400, but uses linksys-ea6300 firmware.

[edit] Hardware Specifications

EA6300 shown: models look otherwise identical.

CPU Broadcom BCM47081A0 800 MHz
Flash ROM Spansion S34ML01G100TF100 128 MB
RAM Hynix H5PS1G63JFR-S6C 128 MB
NVRAM 60KB
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


[edit] Installation

Read the Firmware FAQ: download links are in the Where do I download firmware? section

EA6400 Forum install guide: use firmware in the linksys-ea6400/ folder.

  • EA6300V1 hardware with an FCC/IC ID suffix of EA6400 is identical to the EA6400, but uses linksys-ea6300/ firmware.
  • For the EA6300 with an FCC/IC ID suffix of EA6400 see Linksys EA6300

This router has two firmware partitions (linux & linux2) as recovery in case of a bad flash or build. TFTP only writes to linux.

CFE-mode (bootloader) TFTP flash is needed with newer versions for initial flash to DD-WRT. One was previously able to simply flash the EA6400 directly with a DD-WRT image in the Linksys GUI Firmware Update section. However, newer versions have GUI security checks that require TFTP flashing and more, as it includes modifying the CFE and flashing DD-WRT at both partitions.

Steps:

  • 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 the computer wired connection to 192.168.1.5, subnet of 255.255.255.0, no Gateway and no DNS (in Windows, just type in 192.168.1.5 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 192.168.1.1' returns 4x quick pings. If it doesn't, fix this basic problem first (wiring, other issue).
    • 1e. Finally, while running 'ping 192.168.1.1 -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 192.168.1.1 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 http://192.168.1.1 (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 http://192.168.1.1/backup/cfe.bin 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: http://gravitynet.co.nf/index.php/ea6400/installation-guide
      (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. See Where do I download firmware? for links.
    • 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.

[edit] Notes

Tomato install info