-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathREADME
More file actions
36 lines (30 loc) · 1.09 KB
/
Copy pathREADME
File metadata and controls
36 lines (30 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Compile BBR on lastest Openwrt/LEDE release for kernel >= 4.14.*
中文:https://cosmiccat.net/2018/04/281/
Modified BBR: https://github.com/anshi233/BBR_MOD
Usage:
Get openwrt latest source code:
git clone https://git.openwrt.org/openwrt/openwrt.git
enter Openwrt source root
git clone https://github.com/anshi233/Openwrt-BBR.git package/Openwrt-BBR
To compile BBR orginal version:
make menuconfig
select Kernel modules --> Network Support ---> kmod-bbr
make package/Openwrt-BBR/bbr_origin/compile V=99
Enable bbr on your device:
install kmod-bbr ipk using opkg
insmod bbr
echo "bbr" > /etc/modules.d/bbr
add "net.ipv4.tcp_congestion_control=bbr" to /etc/sysctl.conf
save and run "sysctl -p"
done
To compile BBR modified version:
make menuconfig
select Kernel modules --> Network Support ---> kmod-bbr_mod
make package/Openwrt-BBR/bbr_mod/compile V=99
Enable bbr on your device:
install kmod-bbr_mod ipk using opkg
insmod tcp_bbr_mod
echo "tcp_bbr_mod" > /etc/modules.d/bbr
add "net.ipv4.tcp_congestion_control=tcp_bbr_mod" to /etc/sysctl.conf
save and run "sysctl -p"
done