L&LD
Part of the Furniture
Just a quick question for resssurance. Can this tool be used to move NVRAM and JFFS variables between MIPS and ARM based Asus routers? Thanks
I would say no.
Just a quick question for resssurance. Can this tool be used to move NVRAM and JFFS variables between MIPS and ARM based Asus routers? Thanks
Yes, it should work since it doesn't touch any of the system related settings. Just make sure your run it with the -m (migrate) option.Just a quick question for resssurance. Can this tool be used to move NVRAM and JFFS variables between MIPS and ARM based Asus routers? Thanks
Yes, it should work since it doesn't touch any of the system related settings. Just make sure your run it with the -m (migrate) option.
But I honestly don't know/remember any feedback one way or another for this case.
A couple things I can think of with respect to the jffs.....if you have references to default mount points (sda, etc) they may change. Also, if you do anything in scripts that are model specific , like overclocking, running those would be a problem.
From the release notes:Can it backup/restore the certificates from OpenVPN client?
In my case didn't do it and maybe I have done something wrong.
JFFS Restore: Some of the later code levels also clear jffs during a restore to factory
defaults. (Things such as OpenVPN certificates and TrendMicro data are now stored in the
jffs space. In order to fully restore your system, you therefore need to run
jffs-restore.sh following nvram-restore.sh
Hi,
wondering if this brilliant tool is able to save/restore all nvram settings of 380.63 ?
Part of what makes this tool 'safe' is that I actually specify what needs to be saved. I need to make a run through looking for any changes in the latest Merlin (the diff printout is sitting on my desk, just haven't had the opportunity to go through it yet). Will try and push it up on my to-do listHi,
wondering if this brilliant tool is able to save/restore all nvram settings of 380.63 ?
Unfortunately, it's only semi-noob friendly My best shot is in the Quickstart.txt file in the zip.Is there a guide for how to use this utility? I looked around, but could not find a noob friendly version. I am using the RTN66U (merlin) and want to move to AC68U. Appreciate any help.
A nice UI for the noob's coming in a release sometime this century.Unfortunately, it's only semi-noob friendly My best shot is in the Quickstart.txt file in the zip.
At a high level
- format a USB key with a volume label of ASUS
- copy the contents of the zip file to the USB key
- plug the USB key to the source router
- telnet/ssh to the router and run
chmod a+rx /mnt/ASUS/*.sh
/mnt/ASUS/nvram-save.sh -m (-m for migration)
/mnt/ASUS/jffs-save.sh
- power down the source router and remove the USB key (don't want both routers on-line at the same time)
- replace the router and move the USB key to the new router
- telnet/ssh to the new router and run
/mnt/ASUS/nvram-restore.sh
/mnt/ASUS/jffs-restore.sh
- reboot and things should come up like before
It's on my list to take a look at your AB code......nice work there. But.....so much to do, so little timeA nice UI for the noob's coming in a release sometime this century.
Assuming you're above the 20th birthday mark, you'll be done before the 2100 new year's eve.It's on my list to take a look at your AB code......nice work there. But.....so much to do, so little time
I can confirm that after moving my settings from an AC66U to an AC68U there were no issues with the migration. All settings migrated great and it came up like a champ! Great work JohnYes, it should work since it doesn't touch any of the system related settings. Just make sure your run it with the -m (migrate) option.
But I honestly don't know/remember any feedback one way or another for this case.
A couple things I can think of with respect to the jffs.....if you have references to default mount points (sda, etc) they may change. Also, if you do anything in scripts that are model specific , like overclocking, running those would be a problem.
OK all.....here's a quick script to allow you to save and restore a small number of NVRAM variables. Unzip the file (rename the attachment to remove the .txt) and copy the save-mynvram.sh script to any folder you want in jffs or an attached USB drive and make it executable. For example, copy it to /jffs/scripts and
chmod a+rx /jffs/scripts/save-mynvram.sh
Usage
save-mynvram.sh var1 var2 var3 ...
where var1 etc are the names of the NVRAM variables you want to save. It will make a
restore-mynvram.sh
script in the same directory to restore the variables you entered when saving.
It handles:
- special characters in the nvram variable
- embedded carriage returns in the nvram variable
- it will make a single backup copy of the previous restore script (restore-mynvram.sh.bak) if a restore script is already there
The mini-script will work with any nvram variable there is....but to be safe stick with only the ones I have defined for the 'big' nvram-save tool (non-system). Take a look in nvram-merlin.ini in the zip download for a list.Hi John! Is there a list of NVRAM variables that I can use with your script somewhere? I tried to search but couldn't find it. Thank you!
The mini-script will work with any nvram variable there is....but to be safe stick with only the ones I have defined for the 'big' nvram-save tool (non-system). Take a look in nvram-merlin.ini in the zip download for a list.
nvram show > nvram_var_list.txt
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!