Projects / CBQ.init / Comments

RSS Comments for CBQ.init

26 Nov 2007 12:37 TTimo Thumbs down

couldn't get it working
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

13 Apr 2006 01:11 osmantekin

Download limit ok but upload is not....
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

25 May 2003 15:18 easyeasy

Re: Bad Interpreter

> 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

11 Aug 2002 11:33 Abakuz

Bad Interpreter
Does anyone know why i get the messages "bad interpreter"?

Cheers

Abacus

19 May 2002 16:31 bschenker

configure cbq to limit on all but a few ports
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.

09 May 2002 21:30 Sewulba

Re: CBQ on SuSE Linux

> 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

18 Apr 2002 13:31 pestana

CBQ on SuSE Linux
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!

30 Oct 2000 15:37 fabiangervan

cbq.init sample
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

Screenshot

Project Spotlight

MUltihost SSH Wrapper

Broadcasts commands over SSH to multiple hosts.

Screenshot

Project Spotlight

TeXstudio

A LaTeX editor.