diff --git a/src/freedombone-utils-setup b/src/freedombone-utils-setup index 1e17fe8c..f525ef99 100755 --- a/src/freedombone-utils-setup +++ b/src/freedombone-utils-setup @@ -685,6 +685,13 @@ function setup_powerline { fi } +function congestion_control { + # see /proc/sys/net/ipv4/tcp_congestion_control + echo 'net.core.default_qdisc=fq' > /etc/sysctl.d/10-custom-kernel-bbr.conf + echo 'net.ipv4.tcp_congestion_control=bbr' >> /etc/sysctl.d/10-custom-kernel-bbr.conf + sysctl --system +} + function setup_utils { read_config_param "PROJECT_REPO" write_config_param "PROJECT_REPO" "$PROJECT_REPO" @@ -695,6 +702,9 @@ function setup_utils { function_check support_256_colours support_256_colours + function_check congestion_control + congestion_control + function_check enable_predictable_device_names enable_predictable_device_names