Branches
Comments
[»]
couldn't get it working
by TTimo - Nov 26th 2007 12:37:40
kernel 2.6.22, using one of the example configs provided to throttle the
upload to one of my hosts
everything seems fine except there's no throttling whatsoever
[reply]
[top]
[»]
Download limit ok but upload is not....
by osit - Apr 13th 2006 01:11:13
cbq-0002.ppp
DEVICE=eth0,100Mbit,10Mbit
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.10.50.1
cbq-0003.ppp
DEVICE=eth1,100Mbit,10Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
MARK=1
iptables add;
/sbin/iptables -t mangle -A PREROUTING -s 10.10.50.1 -j MARK --set-mark
1
System: Fedora5-Squid-Shorwall
eth: 2 eth. device.
eth0: local (network is 10.0.0.0/8)
eth1: internet (real)
file: /cbq.init-v0.7.3
[reply]
[top]
[»]
Bad Interpreter
by Abacus Cosinus - Aug 11th 2002 11:33:13
Does anyone know why i get the messages "bad interpreter"?
Cheers
Abacus
[reply]
[top]
[»]
Re: Bad Interpreter
by easyeasy - May 25th 2003 15:18:20
> Does anyone know why i get the messages
> "bad interpreter"?
>
>
> Cheers
>
> Abacus
Hi, i had this problem, too!
There are two reasons for an errormessage like
"bad interpreter -- no such file or directory"
Both relate on the first line of the script:
"#!/bin/bash"
Okay one reason could be that your "bash" is not in /bin/ (but thats very
unusual) or that you don't have a bash-console.
The second reason could be, that you have downloaded the script via your
windows-Computer and copied it to your linux-server .
If this hapened, then you have on each line a CR and a LF ("carriage
return" and "line feed").
But your Linux understands just the CR .
So you need to transform your script into unix-format with a program like
dos2unix or you download the script with your linux-machine directly.
I hope that will help
easy
[reply]
[top]
[»]
configure cbq to limit on all but a few ports
by Bryan Schenker - May 19th 2002 16:31:45
I've been using this script successfully to shape bandwidth, but I would
like to set it up to limit bandwidth on all ports except for a few. It
seems a new p2p file sharing port pops up every week--so this would help me
keep up with controlling this type of activity.
So, is there an appropriate syntax to identify traffic on all ports but a
sellected few. Alternatively, it would be nice to specify a range of ports.
Any suggestions or help would be appreciated.
[reply]
[top]
[»]
CBQ on SuSE Linux
by Dhennys Pestana - Apr 18th 2002 13:31:20
I'm trying to run CBQ on SuSE Linux 7.2 Kernel 2.2.19, but it keeps
returning me "ip-route2 not installed" message.
This utilities package is installed, according to YaST (SuSE Setup
Tool).
I tried to find information/documentation/paper on the web, but I
couldn't.
Can anyone help me? Thanks in advance!
-- Dhennys Pestana
[reply]
[top]
[»]
Re: CBQ on SuSE Linux
by Sewulba - May 9th 2002 21:30:25
> I'm trying to run CBQ on SuSE Linux
7.2
> Kernel 2.2.19, but it keeps
returning me
> "ip-route2 not installed"
> message.
> This utilities package is
installed,
> according to YaST (SuSE Setup
Tool).
> I tried to find
> information/documentation/paper on
the
> web, but I couldn't.
> Can anyone help me? Thanks in
> advance!
>
I know the Problem with CBQ.INIT...
Must change the path of tc and ip in
the cbq.init script. In the Script tc
and ip lies in /usr/sbin. You must
correct this path for both. At this
moment
you can use it on your SuSE 7.2... I
use it at the moment with SuSE 8.0
Pro...
Greeting from Germany
Rüdi
[reply]
[top]
[»]
cbq.init sample
by Fabian - Oct 30th 2000 15:37:14
Hello
Could somebody help me with the configuration of cbq?
my link to internet is of 96 kbit and has 50 clients
I would like, for example, that each client goes down to 2kbit and
that if the is linked don't use it doesn't block in 2kbit
[reply]
[top]
|