1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NVRAM, forgot to clear if after upgrade

Discussion in 'Tomato Firmware' started by luckman212, Dec 26, 2006.

  1. luckman212

    luckman212 LI Guru Member

    i just flashed a new-in -the box Buffalo WHR g54s with tomato 1.01 from the stock firmware. I used TFTP. I set everything up before realizing that I forgot to clear the NVRAM.

    tomato is working OK but I was worried that some residue would be left behind since I didnt clear the NVRAM.

    I did a look at "nvram show" command and everything looked OK to my casual eye. Is there any harm to this? should I clear NVRAM and redo everything or what? thanks
     
  2. cgondo

    cgondo Network Guru Member

    I forgot to erase the NVRAM too however i have been running it fine for the last weeks to my knowledge. Unless some hidden problems that i did not notice
     
  3. luckman212

    luckman212 LI Guru Member

    hmm me too. I will leave it alone I guess.
    could someone who HAS cleared the NVRAM please save the results of 'nvram show' to a txt file and post it so I can compare to see if I have any "extra" junk in there that can be cleared out?
    thanks:wink:
     
  4. digitalgeek

    digitalgeek Network Guru Member

    you should be ok if it was new in the box before you started... if the unit was in use for a while clear nvram is recommend to remove all the modified settings as the alternative firmwares don't store the settings exactly the same as everyone else... causing configuration issues... reulting in abnormal behavour

    If you notice ant pecular behavour clear nvram and start again.
     
  5. luckman212

    luckman212 LI Guru Member

    ok thanks so far so good
     
  6. GeeTek

    GeeTek Guest

    NVRAM show

    Well, I tried my best. I telnetted in and issued NVRAM SHOW. There was too much text on the screen, so I got creative and did NVRAM SHOW > C:ramshow.txt , and it saved it inside the box. Now if someone will tell me how to get the file off the router's c: drive and into the computer, I'll post it. I remembered some unix commands from a server I played with a few years ago. ls command does list the file. Now I'm stuck. I don't suppose this thing speaks FTP. HHMMmmmmm......
     
  7. myersw

    myersw Network Guru Member

    In the past I have used a piece of free software called winSCP. Runs on windows 2000 and XP. Gives a Norton commander type interface between your PC and the router.
    --bill
     
  8. GeeTek

    GeeTek Guest

    Thanks for the pointer. I've been dragging Norton Commander around with me for the last 12 years. I'll look into winSCP. Also, if I share a folder on the PC and "Mount" it like I would need to do to save stats, I could probably save the file right to the networked drive on the PC. So much info, so little time....
     
  9. digitalgeek

    digitalgeek Network Guru Member

    either copy the file to cifs or recreate it there.
    than you can open in windows/linux/OSX
     
  10. luckman212

    luckman212 LI Guru Member

    Geetek, any luck with that?
     
  11. GeeTek

    GeeTek Guest

    Haven't had a chance to try anything. I'm fixing to get Tomatoed up real good today.
     
  12. GeeTek

    GeeTek Guest

    Alright, I am way to noobey about this *Nix stuff it would appear. I was able to mount the shared directory on the XP computer. Tomato shows used and free space. I have no idea how to copy the file from the router to the shared DIR, nor do I know how to create it there. I installed WinSCP, and tried to log into the router and get "Network Error. Connection refused". Tried every combo of options using root and admin as user names w/ admin as password. ls command shows the file. It appears the "C:" that I though was the drive letter in the router is actually part of the file name, and not the "C:" drive of the router.
     
  13. gimpel

    gimpel LI Guru Member

    use
    Code:
    mv C:ramshow.txt /cifs1/nvramshow.txt
    Then you have already generated nvramshow.txt on the shared folder.

    The correct command would have been:
    Code:
    nvram show | sort > /cifs1/nvramshow.txt
    (the sort orders the output in alphabetical order, for better reading.


    BTW how do I "clean" the nvram from old other firmware's stuff? Is there something without completely clearing it?
    You were talking about clearing it _after_ the firmware flash, but how? :)

    TIA,
    Tom
     
  14. luckman212

    luckman212 LI Guru Member

    here is my nvram contents. I have edited out with ***** some sensitive entries. But besides that its copied straight from my router. Can someone pls. post theirs from a "clean" tomato so we can see what the extra entries are whcih can be deleted?
    for example, it seems like there are duplicated sections such as:

    ppp_keepalive=0
    pppoe_keepalive=0


    and

    wl0_hwaddr=00:16:01:16:4E:3C
    wl_hwaddr=00:16:01:16:4E:3C


    there are a few duplicate sections like this.
     

    Attached Files:

  15. GeeTek

    GeeTek Guest

    Thanks Gimpel for the instruction ! I was always afraid to start messing with Unixey stuff because every question answered leads to 3 more. Being a Tomato freak now, I believe it's time to at least learn some basic stuff. Luckman, I won't quit so easily this time, and will post my cleared nv ram results later this evening when I get back to my setup.

    Later that evening.....

    Tomatoes have ripened a little. Attached is the my nvramshow.txt which I took just after a software nvram clear. Tomato V 1.02 Buffalo WHR-G54S. I established the CIFS share after creating the file. I did open the text file with notepad. Hope that did not foul up it's *nixicity. I've been told not to open unix text files with winders. Hope this file helps !
     

    Attached Files:

Share This Page