What's new

Documentation for nvram settings?

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

henrikk

Occasional Visitor
So, is there any documentation for 2000+ nvram settings? For example, I see 'misc_ping_x=0' which I suspect, when enabled, tells the router to respond to ping on the WAN. I do not know this for certain. I could experiment, but documentation might be nice.

Perhaps GPL source code? If so, where can I find it?

I stumbled on the above because I was interested in temporarily enabling ping on the WAN for some testing I was doing. It appears ping on WAN is not a GUI option (or did I just miss it)?

- Henrik
 
To answer my own questions, I found the sources, but outside of that, is there any documentation anywhere?

- Henrik
 
Some basic NVRAM vars is described in CFE code, other — used only in firmware as a simple variables. I don't think someone will describe purpose for all used variables in his project. You have to dig into code for details about.
 
Last edited:
There is no documentation, because nvram vars are used all over the firmware for all kind of purposes. You have to study and understand the code to figure out what a specific nvram value is meant for, and the format of the data it contains.

The only kind of reference you could find is the list of all default nvram vars and their default values, as defined in router/shared/defaults.c.
 
There is no documentation, because nvram vars are used all over the firmware for all kind of purposes. You have to study and understand the code to figure out what a specific nvram value is meant for, and the format of the data it contains.

The only kind of reference you could find is the list of all default nvram vars and their default values, as defined in router/shared/defaults.c.

Thanks Merlin. I will look at the source code.

- Henrik
 
Some basic NVRAM vars is described in CFE code, other — used only in firmware as a simple variables. I don't think someone will describe purpose for all used variables in his project. You have to dig into code for details about.

Awesome! This helps me get started.

- Henrik
 

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