fmII
Sat, Jul 26th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 20:53 UTC
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]

 CBQ.init - Default branch
Section: Unix

 

Added: Thu, Dec 3rd 1998 08:04 UTC (9 years, 7 months ago) Updated: Mon, Feb 11th 2002 11:11 UTC (6 years, 5 months ago)


About:
CBQ.init is a shell script that allows for easy setup of simple CBQ-based traffic control on Linux. CBQ (Class Based Queueing) is part of the Linux QoS implementation, which is accesible via utilities from the iproute2 package.

Author:
Paul Golubev [contact developer]

Rating:
8.51/10.00 (17 votes)

Homepage:
https://sourceforge.net/projects/cbqinit

Trove categories: [change]
[Development Status]  4 - Beta
[Environment]  Console (Text Based)
[Intended Audience]  System Administrators
[License]  OSI Approved :: GNU General Public License (GPL)
[Operating System]  POSIX :: Linux
[Programming Language]  Unix Shell
[Topic]  Internet, System :: Networking

Dependencies: [change]
No dependencies filed

 
Project admins: [change]
» Paul Golubev (Owner)
» Lubomir Bulej (Admin)

» Rating: 8.51/10.00 (Rank N/A)
» Vitality: 0.00% (Rank 13415)
» Popularity: 4.17% (Rank 923)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 93,763
   URL hits: 60,351
   Subscribers: 42

Projects depending on this project:
WebCBQ


Other projects from the same categories:
netload_applet
nionet Ethernet/L2 VPN
diary2002
Axis2
ucarpctl

Users who subscribed to this project also subscribed to:
dhcpcd
Admin LDAP On The Command Line
heatload
SIP Express Router
aRanger


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Default 0.7 10-Feb-2002 GNU General Public License (GPL) Homepage Hosted on SourceForge.net

 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]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  Linux.com •  SourceForge.net  •  Jobs