[Novices] tc command not found
Bruce Smith
bruce at armintl.com
Tue Jan 18 15:48:04 EST 2005
> Please bare with me if I ask really stupid questions but Linux has
> come as a major shock to my brain washed Windows mind! Ok I have two
> issues really:
>
> 1) I am trying to set traffic shaping and have installed the iproute2
> package (from cd using the Suse Control Center facility). I thought
> that would install all necessary traffic shaping functionality but
> apparently not.
>
> When i tried to run my first traffic shaping command i.e.
> tc qdisc add dev eth0 root handle 1:0 htb, I got the error:
>
> bash: tc: command not found
tc is part of the iproute2 package, as long as you have it installed you
have "tc".
# rpm -qf /usr/sbin/tc
iproute2-2.4.7-870.2
> Can anyone tell me why this is?
Are you running those commands as user "root"? If not they won't work.
> 2) Then on a different linux pc running Suse, I was trying to enable
> QoS in the kernel. According to instruction i found on the Internet
> i should do:
>
> cd /usr/src/linux and then 'make menuconfig', However the directory
> 'linux' does not exist. Where would I get this from and how would I
> install it ?
That's talking about rebuilding the kernel. Hopefully SuSE has the
correction options set so you won't need to.
Otherwise you'll need the "kernel-source" package installed (will
populate the directory /usr/src/linux), and you'll have a BIG learning
curve ahead of you! :-O
- BS
More information about the Novices
mailing list