macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 14:59:33 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: NVRAM Extraction WL-500gP  (Read 1935 times)
0 Members and 1 Guest are viewing this topic.
ScarEye
Newbie
*
Offline Offline

Posts: 13


View Profile
« on: March 28, 2007, 15:57:52 PM »

Hey guys,

   I had a quick question.  I just another new WL-500gP and I wanted to know if it was possible
for me to look at it's NVRAM data and copy it somewhere ?


Thanks
ScarEye
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #1 on: March 29, 2007, 07:11:46 AM »


Code:
nvram show

To put it in a file:

Code:
nvram show > /tmp/nvram.txt
Logged
ScarEye
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #2 on: April 07, 2007, 01:16:33 AM »

THANKS !!!!!!!!!!



Sorry for the late respone, but, better late than never.


ScarEye
Logged
ScarEye
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #3 on: April 07, 2007, 03:18:11 AM »

By the way, once I have the dump of the nvram, is there a way to upload it.  Lets say if I want a clean nvram dump back onto my router is there a command I can use ?

Thanks again

ScarEye
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #4 on: April 07, 2007, 11:46:54 AM »


Yes, this should be possible.

Take the dump (nvram_backup.txt I call it here), and create an update script from it :
Code:
awk '{print "nvram set " $1 }' nvram_backup.txt > nvram_backup_script.sh

Now you can chmod and run the script:
Code:
chmod +x nvram_backup_script.sh

Now run it and commit changes :
Code:
./nvram_backup_script.sh
nvram commit

Logged
ScarEye
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #5 on: April 08, 2007, 00:22:35 AM »

macsat,

   Thanks for your reply.  One last question (okay, last question for the next few minutes.  hehe)  Is there a way I can make an image of the whole thing.  Because I am going to have a few of these unit and instead of installing packages on each one I would like to create one image and just blow them across all my WL-500gP's.


Once again thanks for taking the time out to help me out. I really appreciate it.


ScarEye
Logged
macsat
Administrator
Sr. Member
*****
Offline Offline

Posts: 1,104



View Profile
« Reply #6 on: April 08, 2007, 07:05:52 AM »


From the OpenWrt documentation:
http://wiki.openwrt.org/BackupAndRestore
Logged
ScarEye
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #7 on: April 08, 2007, 09:23:47 AM »

Thanks
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.309 seconds with 24 queries.