What's new

NVRAM NVRAM Save/Restore Utility Update

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Xentrk

Part of the Furniture
NVRAM Save/Restore Utility Update ~ version 30.4.0 18-November-2020

Updated nvram-merlin.ini file to include missing nvram variables from John's Fork. The primary vars of interest are vpn_clientX_custom fields along with a handful of other nvram variables. I also created a section of NVRAM parms that were unique to the fork.

I also fixed the issue where the chmod was not working correctly when an updated program was downloaded.

If you are an Asuswrt-Merlin user, the code will ignore the nvram parms unique to the fork. To speed up processing, you can also comment out the line below by adding a # sign in nvram-merlin.ini file (line 2266).

#[John's Fork NVRAM Parms]
 
Updated from amtm (u and uf) on both occasions update looked fine, however amtm still reporting Version 30.3.0

All files look to have updated
Code:
admin@RT-AX88U-5050:/tmp/mnt/Router/nsru# ls -l
drwxrwxrwx    4 admin    root          4096 Sep  2 09:35 backup
-rwxr-xr-x    1 admin    root           823 Nov 18 16:26 clear-maclist.sh
-rwxr-xr-x    1 admin    root         10382 Nov 18 16:26 jffs-restore.sh
-rwxr-xr-x    1 admin    root         10120 Nov 18 16:26 nvram-excp-merlin.sh
-rwxr-xr-x    1 admin    root          3288 Nov 18 16:26 nvram-hnd-migr.sh
-rw-rw-rw-    1 admin    root         37541 Nov 18 16:26 nvram-merlin.ini
-rwxr-xr-x    1 admin    root         15841 Nov 18 16:26 nvram-restore.sh
-rw-rw-rw-    1 admin    root          1510 Nov 18 16:26 nvram-sample.ini
-rwxr-xr-x    1 admin    root         40866 Nov 18 16:26 nvram-save.sh
-rwxr-xr-x    1 admin    root          1074 Nov 18 16:26 nvram-user-sample.sh
-rw-rw-rw-    1 admin    root           514 Sep  2 09:35 nvram-util.log
-rwxr-xr-x    1 admin    root          3295 Nov 18 16:26 save-mynvram.sh

but when I ran nvram-save.sh, I get
Code:
nvram-save.sh: Saving RT-AX88U settings from firmware 384.19_0
nvram-save.sh: Using standard NVRAM variable file: nvram-merlin.ini Version=30.4.0
nvram-save.sh: Running in Backup Mode
nvram-save.sh: WARNING: nvram-excp-merlin.sh is mismatched version
 
I'm running the utility today after updating from amtm and at the beginning of the backup on John's Fork I get the error below. Is this something I should be concerned with? Thanks

1605728614174.png
 
@archiel there is one more update to do... Look at the menu again.
 
I'm running the utility today after updating from amtm and at the beginning of the backup on John's Fork I get the error below. Is this something I should be concerned with? Thanks

View attachment 27757

I'll get rid of that message. It is left over from the legacy code. Please ignore it.
 
Updated from amtm (u and uf) on both occasions update looked fine, however amtm still reporting Version 30.3.0

All files look to have updated
Code:
admin@RT-AX88U-5050:/tmp/mnt/Router/nsru# ls -l
drwxrwxrwx    4 admin    root          4096 Sep  2 09:35 backup
-rwxr-xr-x    1 admin    root           823 Nov 18 16:26 clear-maclist.sh
-rwxr-xr-x    1 admin    root         10382 Nov 18 16:26 jffs-restore.sh
-rwxr-xr-x    1 admin    root         10120 Nov 18 16:26 nvram-excp-merlin.sh
-rwxr-xr-x    1 admin    root          3288 Nov 18 16:26 nvram-hnd-migr.sh
-rw-rw-rw-    1 admin    root         37541 Nov 18 16:26 nvram-merlin.ini
-rwxr-xr-x    1 admin    root         15841 Nov 18 16:26 nvram-restore.sh
-rw-rw-rw-    1 admin    root          1510 Nov 18 16:26 nvram-sample.ini
-rwxr-xr-x    1 admin    root         40866 Nov 18 16:26 nvram-save.sh
-rwxr-xr-x    1 admin    root          1074 Nov 18 16:26 nvram-user-sample.sh
-rw-rw-rw-    1 admin    root           514 Sep  2 09:35 nvram-util.log
-rwxr-xr-x    1 admin    root          3295 Nov 18 16:26 save-mynvram.sh

but when I ran nvram-save.sh, I get
Code:
nvram-save.sh: Saving RT-AX88U settings from firmware 384.19_0
nvram-save.sh: Using standard NVRAM variable file: nvram-merlin.ini Version=30.4.0
nvram-save.sh: Running in Backup Mode
nvram-save.sh: WARNING: nvram-excp-merlin.sh is mismatched version
I'll get rid of that message. It is left over from the legacy code. Please ignore it.
 
I updated the version number in nvram-excp-merlin.sh to eliminate the message. All of the scripts with version numbers have been updated to match each other, even if there were no code changes to the individual scripts. I hate bumping a version of code if there were no changes to it. But I still need an overall version number for the project to manage overall updates.

I may remove the version check feature. It may have been necessary when the original project was hosted on Google Drive and one had to download files individually.
 
Last edited:
The message regarding nvram-excp-merlin.sh has gone but even after updating the NSRU screen in amtm shows 30.3.0
1605779668287.png

and the main amtm menu shows
1605779834660.png
 

Attachments

  • 1605779736169.png
    1605779736169.png
    19.2 KB · Views: 130
The message regarding nvram-excp-merlin.sh has gone but even after updating the NSRU screen in amtm shows 30.3.0
View attachment 27780
and the main amtm menu shows
View attachment 27782
As @L&LD said in a post above - take another look at the text menu - try option 5 to update the NVRAM save restore utility .... you will find that updates the version number and the utility.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top