I flashed back from DD-WRT to stock firmware via telnet before. However, while flashing I erased nvram, rendering the router bricked at this moment. I can access http://192.168.1.1 via browser, which gives me the Linksys smart wifi login screen. When I input "admin" in the password field, it directs me to a loading page and the circle spins forever. After some Google searching I believe that's because all my nvram variables were erased. With tftp, I tried to load the DD-WRT initial firmware (the one lower than 23 MB). It returns successful upgrade but later gives me the Linksys login screen again. Repeating tftp the same DD-WRT firmware doesn't help.
The point is that I have the nvram dump from DD-WRT (via telnet or SSH, I forget) which is a plaintext file. Is there a method I could try to unbrick my router given that I have the nvram dump?
Joined: 18 Mar 2014 Posts: 12914 Location: Netherlands
Posted: Tue Aug 30, 2016 10:31 Post subject:
As this router has a recovery setup try to upload the intial ddwrt build several times ( at least 3 times)
The CFE contains essential nvram parameters which should be restored (normally)
If this does not work then the next step is serial recovery
b0rderline wrote:
Hi this is the first time for me to post here.
I flashed back from DD-WRT to stock firmware via telnet before. However, while flashing I erased nvram, rendering the router bricked at this moment. I can access http://192.168.1.1 via browser, which gives me the Linksys smart wifi login screen. When I input "admin" in the password field, it directs me to a loading page and the circle spins forever. After some Google searching I believe that's because all my nvram variables were erased. With tftp, I tried to load the DD-WRT initial firmware (the one lower than 23 MB). It returns successful upgrade but later gives me the Linksys login screen again. Repeating tftp the same DD-WRT firmware doesn't help.
The point is that I have the nvram dump from DD-WRT (via telnet or SSH, I forget) which is a plaintext file. Is there a method I could try to unbrick my router given that I have the nvram dump?
As this router has a recovery setup try to upload the intial ddwrt build several times ( at least 3 times)
The CFE contains essential nvram parameters which should be restored (normally)
If this does not work then the next step is serial recovery
Flashed for like 20 times and still stuck at corrupted stock setup Still trying though.
Are there any alternatives I may attempt before using a serial adapter?
As this router has a recovery setup try to upload the intial ddwrt build several times ( at least 3 times)
The CFE contains essential nvram parameters which should be restored (normally)
If this does not work then the next step is serial recovery
Just to be sure, is this the line I need for a serial recovery (as shown in attachment)? RJ45 connected to Ethernet port on EA6900, and RS232 connected to my computer's motherboard?
As this router has a recovery setup try to upload the intial ddwrt build several times ( at least 3 times)
The CFE contains essential nvram parameters which should be restored (normally)
If this does not work then the next step is serial recovery
Just to be sure, is this the line I need for a serial recovery (as shown in attachment)? RJ45 connected to Ethernet port on EA6900, and RS232 connected to my computer's motherboard?
There is a summary of recovery step in the EA6700 thread, EA6700 is identical to EA6900 and can use EA6900 CFE file, the recovery is taking very long and might not work to recover to stock completely, take a look at the EA6700 discussion and good luck, I used to own EA6700 but now running WRT1900AC, can't help with the recovery anymore.
for now dd-wrt build 30400+, is the custom cfe still needed to solve the 32K nvram problem? _________________ [Broadcom]
DIR868L RevA -> r51506
DIR868L RevA -> r51440
Linksys EA6900-> r42819 STD
WL-500gP v2 --->
I recently flashed to a newer build of KONG as recommended on this thread. I started to get a lot of crashes and realized that there was no more over/under clock option available. I had previously underclocked my ea6900 for reliability. Does anyone know where the underclock option went or what build they disappeared?
Thanks,
PS. The code to clear out then cram does t work because it needs some extra escape characters. This works for me.
Code:
for line in \`nvram show \| grep =\$ \`; do var=\$\{line\%*=\}; nvram unset \$var; done
Joined: 18 Mar 2014 Posts: 12914 Location: Netherlands
Posted: Thu Oct 20, 2016 7:45 Post subject:
mr_yellow wrote:
Hey guys,
I recently flashed to a newer build of KONG as recommended on this thread. I started to get a lot of crashes and realized that there was no more over/under clock option available. I had previously underclocked my ea6900 for reliability. Does anyone know where the underclock option went or what build they disappeared?
Thanks,
PS. The code to clear out then cram does t work because it needs some extra escape characters. This works for me.
Code:
for line in \`nvram show \| grep =\$ \`; do var=\$\{line\%*=\}; nvram unset \$var; done
Overclocking frequently causes bricking therefore it is removed from the GUI
You can overclock/underclock by setting the nvram, but I strongly advise against it.
If you have to underclock to get a stable router then your router is broke
If you want to try, telnet into your router and issue
nvram get clkfreq
For an EA6900 you should get: 800,666
The first parameter is the clock frequentie the second the memory clock
With: nvram set clkfreq = you can set it.
But I have not tested it and I know that for some routers this does not work _________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399 Install guide R7800/XR500:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614 Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Joined: 18 Mar 2014 Posts: 12914 Location: Netherlands
Posted: Thu Oct 20, 2016 8:06 Post subject:
mr_yellow wrote:
Hey guys,
PS. The code to clear out then cram does t work because it needs some extra escape characters. This works for me.
Code:
for line in \`nvram show \| grep =\$ \`; do var=\$\{line\%*=\}; nvram unset \$var; done
I checked the line:
Code:
for line in `nvram show | grep =$ `; do var=${line%*=}; nvram unset $var; done
from page one of this install guide and it is working as advertised both from command line and from startup script. So I do not know why it is not working for you
Joined: 18 Mar 2014 Posts: 12914 Location: Netherlands
Posted: Thu Oct 20, 2016 14:52 Post subject:
cybrnook wrote:
egc, just an FYI, I have changed the MAC numbering in my thread to now be:
mac = mac
wifi1 = mac
wifi2 = mac+1
This seems to mitigate an issue users were seeing especially on XVortex firmware where they were having issues with the 5GHZ radio.
As well, I also changed the process for getting into the recovery webserver (if on custom CFE), that is working for me %100 of the time.
Thanks for your input, I als have done some testing because of the issues regarding the MAC addresses and have come up with a different solution
From the install guide on page one of this thread:
Quote:
When editing the CFE with CFEEdit.exe do not forget to go in the advanced mode and set:
0:macaddr=et0macaddr+2
1:macaddr=et0macaddr+4
(Lan Address equals et0Macaddr, Wan equals to et0Macaddr + 1)
So set the MAC address on the bottom of your router and the secret WPS code in the dumb mode page of the CFEEdit.exe and then open the advanced mode and set the remaining two MAC addresses.
For example if your MAC address at the bottom is: 32:F5:B5:B4:9F:4B then your 0:macaddr=32:F5:B5:B4:9F:4D and your 1:macaddr=32:F5:B5:B4:9F:4F
The ratio behind this is to make room for a VAP, if you make a VAP on 2,4 GHz e.g. for a guest lan then this wil automatically be assigend to et0macaddr+3.
A VAP on 5 GHz wil automically get et0macaddr+5
Hey guys,
PS. The code to clear out then cram does t work because it needs some extra escape characters. This works for me.
Code:
for line in \`nvram show \| grep =\$ \`; do var=\$\{line\%*=\}; nvram unset \$var; done
I checked the line:
Code:
for line in `nvram show | grep =$ `; do var=${line%*=}; nvram unset $var; done
from page one of this install guide and it is working as advertised both from command line and from startup script. So I do not know why it is not working for you
Maybe there's a different with the way "run command" interprets the code vs. the saved startup command... When you try to run the original code via run command, i get a syntax error. Running my updated code with the escape characters works with the "run command" option.
I just assumed the run command and the saved commands are interpreted the same way.
Quote:
For stable builds see the Stable builds section in the install guide at page one, the latest build 30700M from kong is also running stable at this moment
Yeah, I am running one of the stable kong builds from page one but i'm mainly concerned about the over/underclocking feature that I used to have with my previous build (brainslayer 27xxx) Is this something that's only part of the brainslayer version or was it just removed at some point from both?
I recently flashed to a newer build of KONG as recommended on this thread. I started to get a lot of crashes and realized that there was no more over/under clock option available. I had previously underclocked my ea6900 for reliability. Does anyone know where the underclock option went or what build they disappeared?
Thanks,
PS. The code to clear out then cram does t work because it needs some extra escape characters. This works for me.
Code:
for line in \`nvram show \| grep =\$ \`; do var=\$\{line\%*=\}; nvram unset \$var; done
Overclocking frequently causes bricking therefore it is removed from the GUI
You can overclock/underclock by setting the nvram, but I strongly advise against it.
If you have to underclock to get a stable router then your router is broke
If you want to try, telnet into your router and issue
nvram get clkfreq
For an EA6900 you should get: 800,666
The first parameter is the clock frequentie the second the memory clock
With: nvram set clkfreq = you can set it.
But I have not tested it and I know that for some routers this does not work
Oops, I didn't see this reply before making my reply above.
Thanks for the tip. I will try it out. As you know, the ea6900 has a tendency to overheat so that's why I want to underclock. I bought mine refurbished and I'm way past my return date so oh well =(.
I'm using it only as a secondary access point so it's not "critical". I just don't want to manually power cycle the unit every few days when it crashes.