Re: slackware 10.2 compilation

Nikolay Kichukov
Fri, 16 Jun 2006 13:11:59 -0000

Hello, I am not an expert myself, but I can suggest that you use 3 lines to
limit the overall upload limit for your adsl ;-)

MAXOUT=90000
tc qdisc add dev eth1 root handle 1: htb default 13
tc class add dev eth1 parent 1: classid 1:1 htb rate $MAXOUT ceil $MAXOUT

where eth1 will be the interface that is connected to the ADSL ;-)

Hope that helps.
Regards,
-Nikolay Kichukov

----- Original Message -----
From: "tasos" <tasoss@gmail.com>
To: <lartc@mailman.ds9a.nl>
Sent: Friday, June 16, 2006 1:41 PM
Subject: [LARTC] slackware 10.2 compilation


> hello people and nice to meet you.
> tasoss@starla:~/tcng$ ./configure
> Reading configuration defaults from ./config
> building tcsim:       yes
> Kernel source:        /home/tasoss/linux-2.6.16.20
> Kernel version:       2.6.16
> iproute2 source:      /home/tasoss/iproute2-2.6.16-060323
> iproute2 version:     060323
> Host byte order:      little endian
> tcng command:         /home/tasoss/tcng/bin/tcng
> YACC is:              yacc
> $ is not identifier:  -$
> tc supports "action": yes
> building the manual:  NO
> install directory:    /usr/local
> tasoss@starla:~/tcng$
> -----------------------------------------
> make[2]: Entering directory `/home/tasoss/tcng/tcsim''
> ./setup.klib
> ./setup.klib: line 119: /home/tasoss/linux-2.6.16.20/net/sched/police.c:
> No
> such file or directory
> make[2]: *** [klib/.ready] Error 1
> make[2]: Leaving directory `/home/tasoss/tcng/tcsim''
> make[1]: *** [tcsim] Error 2
> make[1]: Leaving directory `/home/tasoss/tcng/tcsim''
> make: *** [all] Error 1
> ------------------------------------------
> tcng is compiled fine,but what can i do with tcsim?
> Moreover i would like to suggest me some good documentation about
> tc/tcng(traffic control generally?) except for what tldp has already.
> And finally,my first step it to limit my adsl upload bandwidth from
> 128Kbps
> to 90kbps for example.Is it a one-line command?
> Thank you in advance :-)
>


--------------------------------------------------------------------------------


> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>