Complete JTAG-Reset but Settings still there

Discussion in 'DD-WRT Firmware' started by matthiaz, Dec 16, 2005.

  1. matthiaz

    matthiaz Network Guru Member

    Well, after bricking my WRT54GS v1.1 I had to build a JTAG cable.

    Everything worked just fine, i did a erase of the NVRAM and the kernel. Then I uploaded a CFE file created in the internet and my router started to response to pings again.
    Quickly flashed the current DD-WRT v23 std firmware and was ready to go.

    Suprisingly, the router STILL REMEMBERED a couple of settings e.g. my PPPOE settings!!!

    Where the hell are these stored and how can I be sure to get rid of them? Werren't they supposed to get killed during the cleaning of the NVRAM process?!?
  2. matthiaz

    matthiaz Network Guru Member

    Come on, guys...

    How do I reset this router for sure? Putting it back into its delivery state WITHOUT having my PPPOE password saved in some hidden NVRAM area...
  3. sterix

    sterix Network Guru Member

    Hello matthiaz
    Where are u calling from ? Are u close to Toronto by any chance ? I bricked my wrt54g too and wouldn't mind some help with the jtag cable. Thanks.
  4. matthiaz

    matthiaz Network Guru Member

    Not even close... Germany.

    Building the JTAG is pretty much forward. The only thing I found out for WRT54GS v1.1 is that PIN12 isn't grounded so you have to use one of the others. Besides that it's just soldering and a long time waiting flashing the CFE over the cable. Took like 30 mins do finish...

    But still my questions remains: i do i clear the router for sure?
  5. mazilo

    mazilo Network Guru Member

    I have some WRT54GS v3 that I would like to flash with DD-WRT when the final release is here. I don't want to brick any of my WRT54GS units. I am seeking some advice from your experience in flashing your WRT54GS with an open source firmware. So, can you please tell us how you had come to bricking your WRT54GS v1.1? One thing I am still vague is the boot_wait=1 option along with the TFTP flash. I looked around and can't correlate this boot_wait=1 option with the Linksys stock firmware. Does this mean the Linksys stock firmware has the boot_wait=1 option already set and all I need is just use the TFTP to flash my WRT54GS v3 without fearing to brick it?
  6. AliM

    AliM Network Guru Member

    It's boot_wait=on on Linksys.
  7. matthiaz

    matthiaz Network Guru Member

    I came into bricking my unit when doing the commands:

    mtd erase nvram;
    nvram commit;

    At least I think these were the commands I punched in. I am not at home so I dont know if the syntax is 100% right.

    But if you just upgrade using the webinterface it's pretty much impossible to brick your router as bad as I did. Normally a 30 sec reset will help you out. I even flash using the WLAN connection without having troubles. So dont worry bricking your unit - it'll survive! :cheering:

    But still: HOW DO I FULLY (!!!) erase my unit as asked above?!?
  8. SteelersFANinMA

    SteelersFANinMA Network Guru Member

    HI, glad to see you got your router pinging again. I bricked my G v2 while overclocking to 300 after successfully getting it up to 264. I've built a JTAG and gave it a shot, but I'm not sure anything is happening when I use the cable. I know it takes a long time, but is there any way to tell that it's working? What guide did you use to debrick your router with the JTAG cable? Any help would be appreciated. PS: I'm using an XP laptop.
  9. matthiaz

    matthiaz Network Guru Member

    Just used the guide posted somewhere around this site.

    I used the windows port of that program which gives keeps you informed what it's doing.
  10. SteelersFANinMA

    SteelersFANinMA Network Guru Member

    Each time I use wrtjtag.exe I get messages that Configuration file and Debrick.ini are not found, although they are both in the same directory as wrtjtag.exe. Any ideas?
  11. grcore

    grcore Network Guru Member

    Just because you flash the firmware, does not mean all the settings are "erased". Second, if you reset defaults through the web, the only vars that get reset are the ones specified in default.c (see sourcecode)

    So, therefore you must erase the NVRAM settings. The easiest way to do this is to hold the reset button in, and power the unit up (and hold for 30 secs or so).

    To verify that it was done completely, you can use the CLI and run: nvram show
    That will show all the variables that are set. If there is anything still there, run this for each var you want "unset": nvram unset [varname];nvram commit

  12. matthiaz

    matthiaz Network Guru Member

    Thanks for answering my initial question, grcore.

    Just flashing doesnt erase the settings, thats true. But a complete JTAG erasing plus flashing should get rid of the NVRAM values as well - but it didnt in my case. That's what still confuses me.

    And just doing the 30sec thing didnt erase the values either. It just reseted everything to default options. When I choosed PPOE as internet connection my old settings reappeared. And no, it wasnt because of my browser's password memory.
  13. matthiaz

    matthiaz Network Guru Member

    Try using a directory without spaces in it or try putting the stuff to C:\.
  14. matthiaz

    matthiaz Network Guru Member

    Try using a directory without spaces in it or try putting the stuff to C:\.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice