Safe to run MTD ERASE NVRAM on WRT610n?

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
motocrossmann
DD-WRT Novice


Joined: 05 Jan 2009
Posts: 39

PostPosted: Thu Aug 05, 2010 17:15    Post subject: Safe to run MTD ERASE NVRAM on WRT610n? Reply with quote
Is it safe to run MTD ERASE NVRAM on the WRT610N (v1 in my case)? I know it can brick some routers.
Sponsor
uncle bob
DD-WRT User


Joined: 31 Aug 2008
Posts: 148

PostPosted: Thu Aug 05, 2010 20:29    Post subject: Reply with quote
very safe better yet mtd -r erase nvram
put router on ups if you think are unlucky one
Peabody
DD-WRT Guru


Joined: 28 Dec 2009
Posts: 1518

PostPosted: Fri Aug 06, 2010 3:25    Post subject: Reply with quote
Why would you use the MTD command. It is not needed and is dangerous.
_________________
I fix "shortcuts". If you don't have time to read thoroughly, I don't have time to re-type what you missed.
uncle bob
DD-WRT User


Joined: 31 Aug 2008
Posts: 148

PostPosted: Fri Aug 06, 2010 9:42    Post subject: Reply with quote
why pin hole then better ?
buddee
DD-WRT Guru


Joined: 06 Feb 2010
Posts: 7401
Location: Little Rock

PostPosted: Fri Aug 06, 2010 11:15    Post subject: Reply with quote
i find that mtd on some units is no good. better to just use...

erase nvram
reboot

as Peabody said, its much safer, and if safer why risk brick over an MTD command when you don't have to?

_________________
Wireless N Config | Linking Routers | DD-WRT Wiki | DD-WRT Builds | Peacock - Broadcom FAQ

Having problems with port forwarding? Check out Port Forward Troubleshooting for more info.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Aug 06, 2010 11:31    Post subject: Re: Safe to run MTD ERASE NVRAM on WRT610n? Reply with quote
motocrossmann wrote:
Is it safe to run MTD ERASE NVRAM on the WRT610N (v1 in my case)? I know it can brick some routers.


For what purpose, what is it you want to achieve?
There are commands especially for erasing nvram data so if that is your goal then use those.

_________________
Kernel panic: Aiee, killing interrupt handler!
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Aug 06, 2010 11:32    Post subject: Reply with quote
uncle bob wrote:
why pin hole then better ?


Sorry, I can't decipher that sentence

_________________
Kernel panic: Aiee, killing interrupt handler!
uncle bob
DD-WRT User


Joined: 31 Aug 2008
Posts: 148

PostPosted: Fri Aug 06, 2010 18:27    Post subject: Reply with quote
it is question not sentence, the last char is what we call "question mark"
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Fri Aug 06, 2010 18:56    Post subject: Reply with quote
uncle bob wrote:
it is question not sentence, the last char is what we call "question mark"


Oh..... Question mark = Question.. got it..

Now we just need to make sense of the content of the question..

"why pin hole then better?" Rolling Eyes

_________________
[Moderator Deleted] Shocked
socal87
DD-WRT Guru


Joined: 30 Jun 2009
Posts: 944
Location: Here

PostPosted: Fri Aug 06, 2010 19:08    Post subject: Reply with quote
barryware wrote:
uncle bob wrote:
it is question not sentence, the last char is what we call "question mark"


Oh..... Question mark = Question.. got it..

Now we just need to make sense of the content of the question..

"why pin hole then better?" Rolling Eyes


The reset button (inside the pinhole!). He's asking why the 30-30-30 is "better" than erasing NVRAM manually via command line. Didn't we have this discussion with Eko not too long ago?

_________________
Click here for Eko beta
Click here for Brainslayer beta

>>>PEACOCK THREAD!<<<

I do NOT offer personal assistance.
Please do not PM me for help.

barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Fri Aug 06, 2010 19:11    Post subject: Reply with quote
socal87 wrote:
barryware wrote:
uncle bob wrote:
it is question not sentence, the last char is what we call "question mark"


Oh..... Question mark = Question.. got it..

Now we just need to make sense of the content of the question..

"why pin hole then better?" Rolling Eyes


The reset button (inside the pinhole!). He's asking why the 30-30-30 is "better" than erasing NVRAM manually via command line. Didn't we have this discussion with Eko not too long ago?


Thanks for the interpretation.. How many other languages do you speak? Razz

_________________
[Moderator Deleted] Shocked
uncle bob
DD-WRT User


Joined: 31 Aug 2008
Posts: 148

PostPosted: Fri Aug 06, 2010 19:16    Post subject: Reply with quote
who needs ?
when i do not understand question i do not answer.
does this annoy you or what ?
socal87
DD-WRT Guru


Joined: 30 Jun 2009
Posts: 944
Location: Here

PostPosted: Fri Aug 06, 2010 22:55    Post subject: Reply with quote
barryware wrote:
socal87 wrote:
barryware wrote:
uncle bob wrote:
it is question not sentence, the last char is what we call "question mark"


Oh..... Question mark = Question.. got it..

Now we just need to make sense of the content of the question..

"why pin hole then better?" Rolling Eyes


The reset button (inside the pinhole!). He's asking why the 30-30-30 is "better" than erasing NVRAM manually via command line. Didn't we have this discussion with Eko not too long ago?


Thanks for the interpretation.. How many other languages do you speak? Razz


I'm quite fluent in idiot. Not that I'm particularly proud of the fact.

uncle bob wrote:
who needs ?
when i do not understand question i do not answer.
does this annoy you or what ?


Actually yes, it's quite annoying. Proper grammar and detailed explanations work wonders. Though I understand if English is not your native language.

_________________
Click here for Eko beta
Click here for Brainslayer beta

>>>PEACOCK THREAD!<<<

I do NOT offer personal assistance.
Please do not PM me for help.

LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Sat Aug 07, 2010 0:43    Post subject: Reply with quote
socal87 wrote:


The reset button (inside the pinhole!). He's asking why the 30-30-30 is "better" than erasing NVRAM manually via command line. Didn't we have this discussion with Eko not too long ago?


Well, this thread was not about using the reset button but about using the command line for erasing nvram and which type of command to use.

If your goal is to erase nvram variables then

nvram erase
nvram commit

are the correct commands and they are safe to use.

The mtd erase nvram does more than erase the nvram variables and should therefore not be used for that purpose.

_________________
Kernel panic: Aiee, killing interrupt handler!
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Sat Aug 07, 2010 1:19    Post subject: Reply with quote
LOM wrote:
socal87 wrote:


The reset button (inside the pinhole!). He's asking why the 30-30-30 is "better" than erasing NVRAM manually via command line. Didn't we have this discussion with Eko not too long ago?


Well, this thread was not about using the reset button but about using the command line for erasing nvram and which type of command to use.

If your goal is to erase nvram variables then

nvram erase
nvram commit

are the correct commands and they are safe to use.

The mtd erase nvram does more than erase the nvram variables and should therefore not be used for that purpose.



Hey LOM...exactly what does the mtd command do that erase alone does not?

does the erase command just remove the variable strings...where mtd removes the string and the variable clearing the partition completely?

just curious.

redhawk

_________________
The only stupid question....is the unasked one.
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum