What's new
  • 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!

BACKUPMON BACKUPMON v1.9.0 -Sep 6, 2025- Backup/Restore your Router: JFFS + NVRAM + External USB Drive! CIFS/SMB/NFS! (Available in AMTM!)

This would eliminate need to load nvram backup onto router.

If this is in reference to my post with RMerlin, I like the idea!
Just for reference though; I wasn't going to load the backup into my router anyways to get the value.
I use an app called "WRT Settings" to read and/or modify the nvram values manually.

Seems it's out of support but has continued to work for me: https://medo64.com/wrtsettings/

1761614478493.png
 
Last edited:
If this is in reference to my post with RMerlin, I like the idea!
Just for reference though; I wasn't going to load the backup into my router anyways to get the value.
I use an app called "WRT Settings" to read and/or modify the nvram values manually.

Seems it's out of support but has continued to work for me: https://medo64.com/wrtsettings/

View attachment 68583
Yes, that is exactly where my request originated. Also, it would allow one to easily perform diffs over time of nvram values.
 
If this is in reference to my post with RMerlin, I like the idea!
Just for reference though; I wasn't going to load the backup into my router anyways to get the value.
I use an app called "WRT Settings" to read and/or modify the nvram values manually.

Seems it's out of support but has continued to work for me: https://medo64.com/wrtsettings/



FYI - just to be safe, I "rolled my own" version of this a while back in Excel. Not sure if (or whether) I can share macro-enabled Excel file, but here are the pieces.

The main sheet is shown here (formulas shown):

asus_cfg_reader.xlsm.png


And the macro that runs when the button is pushed is here:
Code:
Sub Button1_Click()
        Dim byteArr() As Byte
        Dim fileInt As Integer: fileInt = FreeFile
        Dim datasize As Long
        Filename = Range("D1").Value
        Open Filename For Binary Access Read As #fileInt
        filesize = LOF(fileInt)
        ReDim byteArr(1 To LOF(fileInt))
        Get #fileInt, , byteArr
        Close #fileInt
        Range("A:A").ClearContents
        For i = 1 To 8
            Cells(3 + i, 1).Value = byteArr(i)
        Next i

        Range("D3") = filesize
        Range("D4") = Chr$(byteArr(1)) + Chr$(byteArr(2)) + Chr$(byteArr(3)) + Chr$(byteArr(4))
        datasize = byteArr(7)
        datasize = datasize * 256 + byteArr(6)
        datasize = datasize * 256 + byteArr(5)
        Range("D10") = datasize
        randnum = byteArr(8)
        Range("D11") = randnum
        rownum = 13
        strdata = ""

        For i = 9 To 9 + datasize - 1
            If byteArr(i) < 253 Then
                 strdata = strdata + ChrXXX(255 + randnum - byteArr(i)) <- remove "XXX", forum bug
            Else
                Cells(rownum, 1) = strdata
                rownum = rownum + 1
                strdata = ""
            End If
        Next i
                
    End Sub

Not sure how universal this is, but it worked for all my cfg files.


Rung
 

Similar threads

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