Export to GitHub

ndis-actiontec - Trafichaping.wiki


Introduction

By using kernel & linux included Trafic shaping possibilities
it's possible to solve some issues, and have better web browsing.

Details

There are linux packages iproute2 that are coming with distribution.
Iproute2 homepage


by using just one command line 'ppp' interface is adjusted (type in console as superuser) tc qdisc replace dev ppp0 root tbf rate 120kbit latency 50ms burst 1540 you may copy&paste as is just change 120kbit according to your upload speed
(512/64 or 1024/128 or 2048/192 )
This displays current setup tc qdisc show This line deletes current interface tc qdisc delete dev ppp0 root



On debian & ubuntu you may use script wondershaper install it first sudo apt-get install wondershaper

and then sudo wondershaper ppp0 1020 120 where is given first the specified downlink speed in kilobits per second,
and after the specified uplink speed in kilobits per second.

Notes

  • Note : you must re-initialise this shaping after every ppp disconnect
    it may be put in ppp-up script that is dependant on distribution.
  • Note : on some kernel versions you may get kernel oopses.
  • Note : The problems that this is resolving are slow browsing when you are downloading something simultaneously
    or inability to browse when you are uploading something
    or inability to browse when you are using bittorent client
    or ppp disconections when you are uploading something due to inability for pppd to send synchronisation packets.