What's new

Editing nvram variables

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

johnathonm

Regular Contributor
Hi,

I was wondering about editing nvram variables. I know it's possible to do with entware and busybox. If we were going to make changes where would they be placed? Or is that not possible at this time?

Thanks,

J
 
:confused::confused::confused: NVRAM variables are stored in... NVRAM. You can manipulate them with the "nvram" command, that's nothing to do with entware or busybox.
 
Sorry, I meant the sysctl -a variables.
 
I know I would use cat /sys/proc, but is there a list of these values that would correspond to what you'd get with sysctl. There is sysctl as part of busybox entware, btw.
 
I know I would use cat /sys/proc, but is there a list of these values that would correspond to what you'd get with sysctl.
I think the names are fairly self-evident. What exactly are you looking for?
There is sysctl as part of busybox entware, btw.
Yes I know, but it's not included in the basic firmware.
 
I want to tweak some of the defaults a bit. I am ok/good with unix. I just am not as used to doing it the longer way with cat.

I just want to experiment really, it's an academic exercise to learn and to possibly tweak out a bit more performance.

I have been looking at the vm and wmem etc, settings and want to adjust them. Maybe more.
 
I can't think of an easy way of displaying the value of every attribute in one go without installing additional software.

The best I can come up with is something like this:
Code:
# find /proc/sys
:
:
# find /proc/sys | grep wmem
/proc/sys/vm/lowmem_reserve_ratio
/proc/sys/net/core/wmem_max
/proc/sys/net/core/wmem_default
/proc/sys/net/ipv4/tcp_wmem
/proc/sys/net/ipv4/udp_wmem_min
# cat /proc/sys/net/core/wmem_max
122880
 

Latest threads

Sign Up For SNBForums Daily Digest

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