Tutorials OpenWrt Network Tweaking by adding Hybla Max Congestion controller and tweakings




Download OPENWRT SDK according to your router architecture

cd sdk
Click to expand...
Upload "hybla_max" folder to package folder

make menuconfig
Click to expand...
Select Kernel modules --> Network Support ---> kmod-hybla_max

make package/hybla_max/compile V=99
Click to expand...
Navigate to bin directory, find and install kmod-hybla_max.ipk

insmod tcp_hybla_max.ko
echo "tcp_hybla_max" > /etc/modules.d/hybla_max
sysctl -w net.ipv4.tcp_congestion_control=hybla_max
Click to expand...


Download "tcp_hybla_max/module" folder

cd tcp_hybla_max/module/
insmod tcp_hybla_max.ko
sysctl -w net.ipv4.tcp_congestion_control=hybla_max
Click to expand...
You can load module on startup in rc.local file

Route Tweaking with ip route​

Tweak your lan network and at first check your network routes because it differs from network to network. ex:

ip route
Click to expand...
[[email protected]_OpenWrT:/root]#ip route
default via dev eth0.2 proto static src dev eth0.2 proto kernel scope link src dev eth0.2 proto static scope link src dev br-lan proto kernel scope link src
[[email protected]_OpenWrT:/root]#
Click to expand...

Create .sh script in order not to get disconnect because we need to delete route and re-add a new one

vi run.sh
Click to expand...
add the following :

ip route del dev br-lan proto kernel scope link src
ip route add dev br-lan ttl-propagate enabled proto dhcp scope global window 999999999 rtt 4000000000ms rttvar 0ms cwnd 1 initcwnd 1000 nexthop dev br-lan weight 1 realm 2
Click to expand...
sh run.sh
Click to expand...
Note: ttl-propagate option is not available on old iproute, please make sure you are running on latest kernel

Sysctl.conf Tweaks​

Click to expand...

Read more

Continue reading...