How to erase nvram setting?

Discussion in 'DD-WRT Firmware' started by callous, Jan 25, 2006.

  1. callous

    callous Network Guru Member

    I did the:

    ~ # nvram set rc_startup="
    > echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
    > echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
    > echo '600 1800 120 60 120 120 10 60 30 120' > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts
    > "
    ~ # nvram commit
    ~ # reboot

    from utorrent page to try and fix the bitcomet problems.

    1)Is this script recommended? Any pitfalls?

    2)How do I erase this script once I have done this?

    3)I noticed that upon typing the above script in, the router rebooted and I lost all my settings. Will this happen again periodically with this script (i.e. all settings goes back to router default and I lose my router password etc)?

    Any help is appreciated since I am new to this..
  2. FDM80

    FDM80 Network Guru Member

    mtd erase nvram

    Doesn't that command erase all nvram settings?
    This command only works if you have DD-WRT installed though.
  3. callous

    callous Network Guru Member

    Now im more confused..

    Isnt DD-WRT installed in nvram? If I did the mtd erase nvram wouldnt I kill the router..
  4. FDM80

    FDM80 Network Guru Member

    By saying you want to wipe of the nvram does that mean you want to erase the firmware on it?

    If you have DD-WRT loaded onto your router. You type in "mtd erase nvram". Your router will be wiped back to default settings for everything. Then all you do is reboot the router, and you will have a clean DD-WRT slate to setup.

    That command doesn't remove the firmware. It just essentially wipes the settings clean to the defaults.

    I've done it many times and it won't get rid of the firmware.
  5. callous

    callous Network Guru Member

    I dont want to wipe the firmware.

    I want to erase any 3rd party addons I put into the router

    Thanks for the info!
  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