|
@@ -158,7 +158,7 @@ startbbrmod_nanqinlang(){
|
|
|
fi
|
|
fi
|
|
|
apt-get -y install make gcc-4.9
|
|
apt-get -y install make gcc-4.9
|
|
|
mkdir bbrmod && cd bbrmod
|
|
mkdir bbrmod && cd bbrmod
|
|
|
- wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/tcp_nanqinlang-test/master/tcp_nanqinlang.c
|
|
|
|
|
|
|
+ wget -N --no-check-certificate https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/bbr/tcp_nanqinlang.c
|
|
|
echo "obj-m := tcp_nanqinlang.o" > Makefile
|
|
echo "obj-m := tcp_nanqinlang.o" > Makefile
|
|
|
make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc-4.9
|
|
make -C /lib/modules/$(uname -r)/build M=`pwd` modules CC=/usr/bin/gcc-4.9
|
|
|
install tcp_nanqinlang.ko /lib/modules/$(uname -r)/kernel
|
|
install tcp_nanqinlang.ko /lib/modules/$(uname -r)/kernel
|