• Report Links
    We do not store any files or images on our server. XenPaste only index and link to content provided by other non-affiliated sites. If your copyrighted material has been posted on XenPaste or if hyperlinks to your copyrighted material are returned through our search engine and you want this material removed, you must contact the owners of such sites where the files and images are stored.
  • Home
  • -
  • New Pastes

OpenWrt Network Tweaking by adding Hybla Max Congestion controller and tweakings

  • Thread starter XMAN
  • Start date Jul 15, 2021
X

XMAN

Well-known member
Joined
Jul 12, 2021
Messages
33,395
Reaction score
248
Points
63
  • Jul 15, 2021
  • #1

OPENWRT​

Download OPENWRT SDK according to your router architecture

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

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

make package/hybla_max/compile V=99
Click to expand...
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...
Click to expand...

Linux​

Download "tcp_hybla_max/module" folder

cd tcp_hybla_max/module/
make
insmod tcp_hybla_max.ko
sysctl -w net.ipv4.tcp_congestion_control=hybla_max
Click to expand...
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: 192.168.1.0/24

ip route
Click to expand...
Click to expand...
[root@THROTTLEFIX.COM_OpenWrT:/root]#ip route
default via 172.23.0.250 dev eth0.2 proto static src 172.23.0.249
172.23.0.0/16 dev eth0.2 proto kernel scope link src 172.23.0.249
172.23.0.250 dev eth0.2 proto static scope link src 172.23.0.249
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
[root@THROTTLEFIX.COM_OpenWrT:/root]#
Click to expand...
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...
Click to expand...
add the following :

ip route del 192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
ip route add 192.168.1.0/24 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...
Click to expand...
sh run.sh
Click to expand...
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...
Click to expand...

Read more

Continue reading...
 
Upvote 0 Downvote
You must log in or register to reply here.
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email
  • Home
  • -
  • New Pastes
  • Terms and rules
  • Privacy policy
  • Help
  • Home
AMP generated by AMPXF.com
Menu
Log in

Register

  • Home
    • Go Premium
  • Go Premium / Advertise
  • New Ad Listings
  • What's new
    • New posts
    • New Ad Listings
    • Latest activity
  • Members
    • Registered members
    • Current visitors
X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?

X

Privacy & Transparency

We use cookies and similar technologies for the following purposes:

  • Personalized ads and content
  • Content measurement and audience insights

Do you accept cookies and these technologies?