NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
hiddenhills
Jul 31, 2014Aspirant
Slow ReadyNAS Duo access with iMac
Just purchased a new iMac and installed Word 2011 for MAC. The iMac was purchased to replace an aging Dell PC. In setting up a default folder in Word that points back to the existing folder on m...
Kimera
Aug 01, 2014Guide
hiddenhills wrote: Question: How do I make the following command line permanent? sudo sysctl -w net.inet.tcp.delayed_ack=0
Editing/adding options directly on the /etc/sysctl.conf system control configuration file, I suppose.
As example on a ReadyNAS RN102 with ReadyOS 6.1.9 RC8 that file contains:
vm.oom_dump_tasks = 1
vm.min_free_kbytes = 16384
vm.dirty_background_ratio = 10
vm.dirty_ratio = 20
net.ipv4.conf.all.arp_ignore = 1
dev.raid.speed_limit_min = 30000
kernel.core_pattern=/var/cores/core-%e
I've not a ReadyNAS Duo to check its content for that particular model (it may differs).
An alternative way would be to leave untouched the /etc/sysctl.conf file and create additional Kernel System Variables configuration files (one or more, it depends on your requirements) under the existing /etc/sysctl.d/ folder (important: those new files need to end with the .conf extension to be parsed), those ones will be parsed (by sysctl) and they will so set Kernel System Variables at boot time for you ReadyNAS (by the way, it's just an OS - Linux, BSD, etc. - feature).
As example I see that /etc/sysctl.d/ contains 00-min-free-kbytes.conf which sets:
vm.min_free_kbytes = 16384
option.
It should word that way and, IMHO, I think it's a better clean way to manage Kernel System Variables by creating additional custom configuration files.
By typing the sysctl --all command your system will display all the (available and used by default) variables and by typing the sysctl --system command you system will display the parsed (provided) ones; as example by typing sysctl net.ipv4 you will see all the IPv4 related variables.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!