Difference between revisions of "System Control"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 2: Line 2:


Reads/sets kernel settings from the virtual /proc file system.</br>
Reads/sets kernel settings from the virtual /proc file system.</br>
Values can be edited directly with <code>echo 1/0 >> /proc/net/ipv6/conf/all/disable_ipv6</code> or by editing /etc/sysctl.conf or /etc/sysctl.d/parameter.
Values can be edited directly with <code>echo 1/0 >> /proc/net/ipv6/conf/all/disable_ipv6</code> (fleeting) or by editing /etc/sysctl.conf or /etc/sysctl.d/parameter (persistent).


== Settings ==
== Settings ==

Revision as of 11:46, 25 November 2022

sysctl

Reads/sets kernel settings from the virtual /proc file system.
Values can be edited directly with echo 1/0 >> /proc/net/ipv6/conf/all/disable_ipv6 (fleeting) or by editing /etc/sysctl.conf or /etc/sysctl.d/parameter (persistent).

Settings

sysctl -a list all settings
sysctl -a | grep net.ipv6.conf.all.disable_ipv6 list specific setting
sysctl net.ipv6.conf.all.disable_ipv6 list specific setting
sysctl -w parameter=value change $parameter to $value (fleeting)
sysctl -p reload settings