What's new

User NVRAM Save/Restore Utility (R26.2)

  • 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!

Status
Not open for further replies.
Trying to download v21 today from the OneDrive, Chrome is telling me the file is malicious and blocks the download. Tried v20 as well and got the same. Ideas?
--
bc

Scroll up to post #304.....

Firefox and Chrome (the use the same malicious site db) have decided that all .zip downloads from live.com are potentially dangerous. I was hoping that they would have fixed it by now..... You can

- download with IE or Edge
- in Firefox, right click the file in the download messages and select to download anyway. Not sure about Chrome.
- download the 'nvram-save-r21.zip.ff' file, which is the exact same file just renamed....then rename it to a .zip after you download it..
 
It's FAT16. Guessing that's the issue--permissions not native to FAT types--not anything to do with "admin" vs some renamed "admin". Maybe I need to change it to ext2? Or not worry permission errors?
Personally, I just ignore them. It doesn't bother me.

I only have a 8GB flash drive that's holding some log files, so I'm not interested in R/W performance. I prefer to use a FAT filesystem because it's universally excepted by any device I plug it into.
 
Just used the latest version updating to the latest version of your firmware.

I remember using this long ago, and the smb users list wasn't restored, and I was sure it saved/restored them after you released a newer version, but I just did a restore with latest version, and the smb user list was not restored. Is that supposed to happen?

Also, I didn't have any problems downloading the file with firefox.
 
Just used the latest version updating to the latest version of your firmware.

I remember using this long ago, and the smb users list wasn't restored, and I was sure it saved/restored them after you released a newer version, but I just did a restore with latest version, and the smb user list was not restored. Is that supposed to happen?.

That information is part in nvram, and part on the USB disk itself.
 
Just used the latest version updating to the latest version of your firmware.

I remember using this long ago, and the smb users list wasn't restored, and I was sure it saved/restored them after you released a newer version, but I just did a restore with latest version, and the smb user list was not restored. Is that supposed to happen?

Also, I didn't have any problems downloading the file with firefox.

I double checked and things look right in the code....the nvram var is 'acc_list' and is shared with ftp. Did you make any disk changes along the way as Merlin suggested, including possibly introducing a USB hub (I've see cases where a hub can make it look like a new disk to the router).

Thanks for the feedback on Firefox. I checked it also and it looks like they finally stopped blacklisting .zip files from live.com
 
That information is part in nvram, and part on the USB disk itself.

I double checked and things look right in the code....the nvram var is 'acc_list' and is shared with ftp. Did you make any disk changes along the way as Merlin suggested, including possibly introducing a USB hub (I've see cases where a hub can make it look like a new disk to the router).

Thanks for the feedback on Firefox. I checked it also and it looks like they finally stopped blacklisting .zip files from live.com


Have never used any hubs.
I did the restore while the usb hdd was unplugged, would that prevent the smb user list from restoring ( the usb flash for backing up was plugged in though )?
 
Have never used any hubs.
I did the restore while the usb hdd was unplugged, would that prevent the smb user list from restoring ( the usb flash for backing up was plugged in though )?

No, as long you didn't change the disk or reformat it, that should be fine.
 
Have never used any hubs.
I did the restore while the usb hdd was unplugged, would that prevent the smb user list from restoring ( the usb flash for backing up was plugged in though )?
I wouldn't think so....A couple of questions

Do you see the users listed in the left hand pane on the Samba page?
Did you do the save with the disk connected or disconnected?
When you did the restore, did you use the 'clean' restore option?
After the restore, did you re-attach the disk before or after rebooting?
What code level did you go to and what is the format of the disk? (so I can try and recreate it)
 
Last edited:
A few settings i have noticed not restored on r21


This is with tunnel 6in4
IPv6 LAN Setting is 64 think 64 is default even though it was 48 before
LAN IPv6 Prefix is blank on restore

Network Samba Share
My username and permission where missing on restore
 
I wouldn't think so....A couple of questions

Do you see the users listed in the left hand pane on the Samba page?
Did you do the save with the disk connected or disconnected?
When you did the restore, did you use the 'clean' restore option?
After the restore, did you re-attach the disk before or after rebooting?
What code level did you go to and what is the format of the disk? (so I can try and recreate it)

I'll try and remember as best I can.

1. Yes

2. connected

3. yes

4. I'm sure I rebooted first, checked all the settings, then attached the hdd so that I could re-add the smb user list, then rebooted again.

5. I was on 3.0.0.4_374.43_2-06j9527, updated to 374.43_2-14E1j9527. The hdd is a seagate 2tb, formatted to ext4 ( 99% sure, but it could be ext3, is there anywhere to check in settings, without having to unplug and connect to pc? )
 
This is with tunnel 6in4
IPv6 LAN Setting is 64 think 64 is default even though it was 48 before
LAN IPv6 Prefix is blank on restore

Network Samba Share
My username and permission where missing on restore

Thanks for the report, I'll take a look. What firmware was the save done on and what firmware was the restore? (Note to all, please include this info if reporting a problem). There are quite a few changes between the levels, one area with a lot of change is IPv6
 
A few settings i have noticed not restored on r21


This is with tunnel 6in4
IPv6 LAN Setting is 64 think 64 is default even though it was 48 before
LAN IPv6 Prefix is blank on restore

Network Samba Share
My username and permission where missing on restore

I was able to recreate all the above...and will be fixed in the next release (will be out shortly, updating now for changes in the latest Merlin release). Thanks to you and @snb for the report.
 
suppose it doesnt matter now that you have recreated it

but it was merlin 55 to merlin 55 on a rt-ac56u

and merlin 55 to merlin 56b1 on an rt-ac66u
 
I'm having an issue when I try to execute the script:

xxxx@RT-AC56U-6270:/tmp/mnt/usb/nvram-save# sh nvram-save.sh
: not foundsh: line 2:
: not foundsh: line 5:
nvram-save.sh: line 137: syntax error: unexpected word (expecting "in")

version: 378.56 Beta 1
model: RT-AC56U

Any help? Thanks in advance
 
I'm having an issue when I try to execute the script:

xxxx@RT-AC56U-6270:/tmp/mnt/usb/nvram-save# sh nvram-save.sh
: not foundsh: line 2:
: not foundsh: line 5:
nvram-save.sh: line 137: syntax error: unexpected word (expecting "in")

version: 378.56 Beta 1
model: RT-AC56U

Any help? Thanks in advance
Works fine for my RT-AC56U, running Merlin's 378.56_0
 
thx, The script needs to be placed in /mnt/ASUS? I performed a symlink with this path and the error is the same :(
You should be able to place the script in any subdirectory you wish, as long as all the rest of the files go along with it. I just double checked using a subdirectory and with a symlink in the subdirectory pointing back to the parent and it worked fine.:confused:

Just to make sure I understand your setup, can you append the output of the 'mount' command.
 
You should be able to place the script in any subdirectory you wish, as long as all the rest of the files go along with it. I just double checked using a subdirectory and with a symlink in the subdirectory pointing back to the parent and it worked fine.:confused:

Just to make sure I understand your setup, can you append the output of the 'mount' command.

Code:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127752k,nr_inodes=31938,mode=75                                                                                                                     5)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /tmp/mnt/usb type ext4 (rw,nodev,relatime,barrier=1,data=ordered)

Thanks a lot for your help
 
I'm having an issue when I try to execute the script:

xxxx@RT-AC56U-6270:/tmp/mnt/usb/nvram-save# sh nvram-save.sh
: not foundsh: line 2:
: not foundsh: line 5:
nvram-save.sh: line 137: syntax error: unexpected word (expecting "in")

version: 378.56 Beta 1
model: RT-AC56U

Any help? Thanks in advance
Well, I set up your same structure on an ext4 format partition and it still worked fine....so I'm still at a loss.

Line 2 and Line 5 are blank lines in the script....how did you transfer the files to the router? Any chance you accidentally edited the files under windows and changed the file format from Linux to DOS/WINDOWS (end of line LF vs CR/LF)?
 
Status
Not open for further replies.

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!
Top