PDA

Bekijk de volledige versie : htb wont work ok



xtraya
17-05-2005, 09:27
well,my asus remembered in nvram old setings of shaper, and now anyone value which i set up in web interface,it wont work....

it simply loads older settings....but in a web are new ones

can somebody help mi with this,maybe to send me an example of wshaper values (what to put in shell command), i tryed manualy to set it up , but without success

Antiloop
17-05-2005, 09:39
what is HTB ?

Styno
17-05-2005, 10:13
what is HTB ?
It has something to do with traffic shaping:

HTB - Hierarchy Token Bucket

DESCRIPTION
HTB is meant as a more understandable and intuitive replacement
for the CBQ qdisc in Linux. Both CBQ and HTB help you to control
the use of the outbound bandwidth on a given link. Both allow you
to use one physical link to simulate several slower links and to send
different kinds of traffic on different simulated links. In both cases,
you have to specify how to divide the physical link into simulated
links and how to decide which simulated link to use for a given packet
to be sent.

Seems to me the topic starter needs to reset it's router to defaults (using the reset button on the back) and reconfigure the router through the webinterface.

xtraya
17-05-2005, 12:44
ok, I will reset it, but still shaping doesnt work ok.

i tryed on other asus wich i have, it still gives a message in router log
(few same messages with changed number of class)

HTB: quantum of class 100001 is small. Consider r2q change


i tryed to manualy start wshaper, it accepts comands but wont work


please post some real example....

Styno
18-05-2005, 09:17
HTB: quantum of class 100001 is small. Consider r2q change

You don't have to worry about this warning. Shaping is working, but could be slightly better.

One way to determine the correct quatum is with the following formula:
quantum = rate / r2q
where the quatum is between 1500 and 10000 AFAIK.

See http://lartc.org for more info or HTB and r2q and wondershaper stuff.