Skip to content

Commit

Permalink
fix: enable tcp_bbr to load automatically after reboot (#4011)
Browse files Browse the repository at this point in the history
## Overview

Fix: Enable automatic loading of tcp_bbr module after reboot
  • Loading branch information
bombermine3 authored Oct 30, 2024
1 parent b6a3ed2 commit 2be49e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ enable-bbr:
@if [ "$(sysctl net.ipv4.tcp_congestion_control | awk '{print $3}')" != "bbr" ]; then \
echo "BBR is not enabled. Configuring BBR..."; \
sudo modprobe tcp_bbr; \
echo tcp_bbr | sudo tee -a /etc/modules; \
echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.conf; \
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.conf; \
sudo sysctl -p; \
Expand Down

0 comments on commit 2be49e2

Please sign in to comment.