添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
I want to flash FreshTomato on Linksys EA6400 with DD-WRT firmware (v3.0-r44715 std 11/03/20), do I understand correctly that I need to do the following in this order:
1. Restore factory settings in the GUI DD-WRT and enable SSHd.
2. According to instructions (item 5) modify CFE (xvortex-ea6400.bin), namely:
mtd –f write new6400cfe.bin mtd0
Reboot the router by holding the WPS button for 30-60 seconds, wait for GUI DD-WRT to load.
3. Using the WinSCP, put FreshTomato on the router (/tmp/root/) and flash it with Putty:
cd /tmp/root
mtd -f write linksys_ea6400_ddwrt.bin linux2
mtd -f write linksys_ea6400_ddwrt.bin linux
reboot
Or can this step be performed through the GUI DD-WRT, and twice (considering that EA6400 has two firmware sections: linux and linux2)?
Looks to be you have two separate guides only one of them is to flashing the modified cfe I would stick to the guide in FreshTomato, the 3rd step you had posted isn't necessary at all, it suggests to flashing linux2, linux parts this suggests that you had just flash dd-wrt firmware onto oem firmware that already has the linux, linux2 dual partition.
If you are wanting flash the modified cfe stick to the guide from link you had posted those steps flash the modified cfe and if you are wanting to try either firmware projects FreshTomato or dd-wrt there are a couple of steps to doing this.
Once you have the modfied cfe flash and working:be sure to clear nvram by using the wps button before beginning.
1. setup a static ip on you pc/laptop you can use 192.168.1.2, mask: 255.255.255.0 gateway is not necessary save your settings.
2. unplug the router, press and hold the reset button apply the power continue to hold for 3 to 6 seconds then release then navigate to 192.168.1.1 in your browser to enter the miniweb server cfe you can then upload the dd-wrt firmware wait till you are able to see that the upgrade was successful and wait sometime up to 5 mins.
3. if you see after 5 mins has past you should at least see their ssid but if you are unable to login you will need to reset the router press and hold the reset button for 10 seconds then release, allow the router to reboot then login.
Due note the beta firmware may sometimes might be buggy and may boot loop or if even flashes from the miniweb server cfe step you should see some it pop up or the brower may just drop to some error code.
You could try previous builds using the same steps then flash upgrade to the latest but don't flash directly from FreshTomato or dd-wrt to FreshTomato it can be problematic and so you still can recover using the cfe to flash back to whichever firmware that worked and if you had created a backup even better just know you can only use the backup for the firmware build it came from, no using old backups to current builds on either firmware projects.
Looks to be you have two separate guides only one of them is to flashing the modified cfe I would stick to the guide in FreshTomato, the 3rd step you had posted isn't necessary at all, it suggests to flashing linux2, linux parts this suggests that you had just flash dd-wrt firmware onto oem firmware that already has the linux, linux2 dual partition. You got it right - I didn't find any instructions on flashing from DD-WRT to FreshTomato (only from OEM to DD-WRT / tomato are widely available). That's why I tried to "combine" two instructions. I got this Linksys EA6400 from a friend who flashed this router from OEM to DD-WRT and he told me that he flashed DD-WRT to both partitions (linux and linux2) - that's why I decided that I needed to flash FreshTomato to both partitions.
If you are wanting flash the modified cfe stick to the guide from link you had posted those steps flash the modified cfe and if you are wanting to try either firmware projects FreshTomato or dd-wrt there are a couple of steps to doing this. Ok, I will follow the instructions for FreshTomato. I want to flash FreshTomato (I don't need DD-WRT). Do I understand correctly that before performing the points you specified below, I need to perform 1-2 from my post above? That is, reset the router to factory settings (or maybe clear nwram) and and after which upload a modified CFE?
Once you have the modfied cfe flash and working:be sure to clear nvram by using the wps button before beginning.
1. setup a static ip on you pc/laptop you can use 192.168.1.2, mask: 255.255.255.0 gateway is not necessary save your settings.
2. unplug the router, press and hold the reset button apply the power continue to hold for 3 to 6 seconds then release then navigate to 192.168.1.1 in your browser to enter the miniweb server cfe you can then upload the dd-wrt firmware wait till you are able to see that the upgrade was successful and wait sometime up to 5 mins. Why are you writing about "dd-wrt firmware" here - I want to switch from it to FreshTomato. On DD-WRT firmware, using reset button to boot, I can flash FreshTomato via recovery GUI, right?
I wanted to flash the FreshTomato version from the instructions . There in the archive Flash-Linksys-EA6300v1_EA6400-with-3rd-Party-Firmware.zip FreshTomato is called linksys_ea6400_ddwrt.bin (and linksys_ea6xxx_cfe.bin for "CFEEdit.exe" is called xvortex-ea6400.bin)
3. if you see after 5 mins has past you should at least see their ssid but if you are unable to login you will need to reset the router press and hold the reset button for 10 seconds then release, allow the router to reboot then login.
Due note the beta firmware may sometimes might be buggy and may boot loop or if even flashes from the miniweb server cfe step you should see some it pop up or the brower may just drop to some error code.
You could try previous builds using the same steps then flash upgrade to the latest but don't flash directly from FreshTomato or dd-wrt to FreshTomato it can be problematic and so you still can recover using the cfe to flash back to whichever firmware that worked and if you had created a backup even better just know you can only use the backup for the firmware build it came from, no using old backups to current builds on either firmware projects. Here I didn't understand why you can't flash FreshTomato directly from DD-WRT - above you suggest this via recovery gui. Or do you mean that you can't flash FreshTomato before flashing the modified CFE?
I did not find instructions on how to save the current DD-WRT firmware (If you know, please tell me), i.e. so far I was able to save the following from DD-WRT:
- cfe_DD-WRT.bin via http://192.168.1.1/backup/cfe.bin
- nvrambak_r44715.bin via GUI DD-WRT
- nvram_dump_DD-WRT.txt using command is: nvram show >> nvram_dump.txt
One last mention and it is important word to the wise, "D o not flash FreshTomato without having the modified cfe" on your router or else this will break it.
Best regards
txnative
Why are you writing about "dd-wrt firmware" here - I want to switch from it to FreshTomato. On DD-WRT firmware, using reset button to boot, I can flash FreshTomato via recovery GUI, right? This was just a short instruction once you have the modified cfe flashed a user can flash either FreshTomato then if they wanted could flash dd-wrt, using the gui would cause a problem since dd-wrt firmware sets the linux2, dd-wrt partition over linksys oem linux, linux2 partitions and so it is best to avoid the gui clear nvram then use the miniweb server.
Here I didn't understand why you can't flash FreshTomato directly from DD-WRT - above you suggest this via recovery gui. Or do you mean that you can't flash FreshTomato before flashing the modified CFE? FreshTomato firmware does not detect partitons the same way as dd-wrt and and do not flash FreshTomato from dd-wrt or oem gui the end result will brick your router although you can recover it may take a bit of effort in doing so.
I did not find instructions on how to save the current DD-WRT firmware (If you know, please tell me), i.e. so far I was able to save the following from DD-WRT:
- cfe_DD-WRT.bin via http://192.168.1.1/backup/cfe.bin
- nvrambak_r44715.bin via GUI DD-WRT
- nvram_dump_DD-WRT.txt using command is: nvram show >> nvram_dump.txt This should be okay but let me ask you what is the size of the cfe.bin? It should be at least 512kb.
If the cfe should be okay I have a backup copy.
the nvrambak file is only good for dd-wrt but the one you had save will work.
Not everyone uses a serial adapter to these backups which are better since they from oem firmware but it is okay.
Just follow the guide posted from the link from your op to flash the modified cfe, note that the commands:
To flash the CFE use the following commands:
mtd unlock /dev/mtd0
mtd write –f /tmp/root/new6xxxcfe.bin /dev/mtd0
If that doesn't work try:
mtd unlock /dev/mtd0
mtd –f write /tmp/root/new6xxxcfe.bin /dev/mtd0
Close Putty
may work and you may receive an output stateing some success, also it may not to post any output or error it has been written in that guide by a user it still worked as he continued through rest of guide there is also this information if running into an error with those commands take a look here these commands may help as well @AkoreJepada reply below the posted link.
Hope this helps.
Best regards
txnative One last mention and it is important word to the wise, "D o not flash FreshTomato without having the modified cfe" on your router or else this will break it.
Best regards
txnative Thank you for all the recommendations above, yesterday I successfully flashed FreshTomato (2024.3-AIO) on my Linksys EA6400 (which I got with the firmware DD-WRT v3.0-r44715 std 11/03/20 firmware), the steps were as follows (maybe it will be useful to someone):
1. Modified CFE (in the xvortex-ea6400.bin template I changed the data to my router) and got new6400cfe.bin:
- et0macaddr=original
- 0:macaddr=original+2 (HEX)
- 1:macaddr=original+4 (HEX)
2. Flashed CFE:
- reset to factory settings via router GUI, connected to it with static IP (192.168.1.2, mask: 255.255.255.0 gateway 192.168.1.1), activated SHH service (port 22);
- connected using WinSCP (protocol: SFTP; host: 192.168.1.1; port: 22; root/admin) and put new6400cfe.bin in /tmp/root ;
- connected via SSH (host: 192.168.1.1; port: 22; Type: SSH; root/admin) and applied the new CFE, the following commands did not help me:
"mtd unlock /dev/mtd0
mtd write –f /tmp/root/new6400cfe.bin /dev/mtd0"
as well as
"mtd –f write /tmp/root/new6400cfe.bin /dev/mtd0"
So I used the command
"dd if=new6900cfe.bin of=/dev/mtd0"
and after a few seconds I got a confirmation:
"453+1 records in
453+1 records out"
3. Flashed linksys_ea6400_ddwrt.bin (this step was unnecessary as I understood):
- cleared NWRAM using the WPS button;
- booted using the RESET button in miniweb server CFE;
- downloaded and applied the firmware linksys_ea6400_ddwrt.bin.
At this stage I saw:
"Receive file size=16687150
Upload completed. System is going to reboot.
Please wait a few moments."
In addition, I saw the SSID DD-WRT, went to the GUI and saw there:
"Firmware: DD-WRT v3.0-r27700 (08/20/15)
Router Name DD-WRT
Router Model Linksys EA6400
Firmware Version DD-WRT v3.0-r27700 (08/20/15)
Kernel Version Linux 3.10.87 #4507 SMP Wed Aug 19 06:35:15 CEST 2015 armv7l
NVRAM 33.50 KB / 64 KB "
I realized that I flashed the "intermediate" DD-WRT firmware, because initially I had DD-WRT v3.0-r44715 std 11/03/20.
4. Flashed FreshTomato:
- cleared NWRAM using the WPS button;
- booted using the RESET button in miniweb server CFE;
- additionally cleared NWRAM in miniweb server CFE;
- downloaded and applied the firmware freshtomato-EA6400-K26ARM-2024.3-AIO-64K.trx.
Now I saw:
"Receive file size=30195758
Upload completed. System is going to reboot.
Please wait a few moments."
In addition, I saw the FreshTomato SSID, cleared the NWRAM using the WPS button and went into the FreshTomato GUI (root/admin).
Glad you figured it out. Would you please do everyone a favour and mark/tag the thread solved
How to mark/tag a thread as "Solved or "Suggestion"
1. Click on Edit in your last post in the thread.
2. Go to the top of the thread/page and click on the three dots (...) drop down menu.
3. Click "Edit Thread".
4. Click the dropdown menu (Ú) beside the word "Title", and select "Solved". Click "Save".
This helps others to know if someone found a solution, so they don't have to read through tons of text that may or may not solve the problem.
That's great you have the cfe flashed now, I don't know if the default country/region, country/rev works for you and if you need to change it there maybe other region, rev that may help if not open a new thread?
Please follow @Hogwild to edit your thread to "Solved".
Best regards
txnative

We value your privacy

We use essential cookies to make this site work, and optional cookies to enhance your experience.

See further information and configure your preferences