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?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Back to
macsat.com
Home
Help
Search
Login
Register
macsat.com OpenWrt and ASUS WL Forum
>
OpenWrt (White Russian)
>
OpenWRT
>
NVRAM Extraction WL-500gP
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: NVRAM Extraction WL-500gP (Read 1935 times)
0 Members and 1 Guest are viewing this topic.
ScarEye
Newbie
Offline
Posts: 13
NVRAM Extraction WL-500gP
«
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
Posts: 1,104
Re: NVRAM Extraction WL-500gP
«
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
Posts: 13
Re: NVRAM Extraction WL-500gP
«
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
Posts: 13
Re: NVRAM Extraction WL-500gP
«
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
Posts: 1,104
Re: NVRAM Extraction WL-500gP
«
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
Posts: 13
Re: NVRAM Extraction WL-500gP
«
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
Posts: 1,104
Re: NVRAM Extraction WL-500gP
«
Reply #6 on:
April 08, 2007, 07:05:52 AM »
From the OpenWrt documentation:
http://wiki.openwrt.org/BackupAndRestore
Logged
ScarEye
Newbie
Offline
Posts: 13
Re: NVRAM Extraction WL-500gP
«
Reply #7 on:
April 08, 2007, 09:23:47 AM »
Thanks
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ASUS WL 500-g WL-500gx WL-300g and WL-HDD help
-----------------------------
=> Misc. Talk
=> Talk about macsat.com
-----------------------------
Oleg's Firmware
-----------------------------
=> Oleg's Firmware
=> Tutorials
-----------------------------
OpenWrt (White Russian)
-----------------------------
=> OpenWRT
=> DD-WRT
=> Tutorials
-----------------------------
OpenWrt Kamikaze
-----------------------------
=> Firmware
=> Tutorials
-----------------------------
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible
-----------------------------
=> Firmware
Loading...