similar to: invalid argument

Displaying 20 results from an estimated 6000 matches similar to: "invalid argument"

2006 Sep 14
10
tc is giving an error: RTNETLINK answers: File exists
Hello, I''m using tc to limit the bandwidth of our wireless customers. I have a working script, but I''m not happy with it. I''m trying to write a more sophisticated script, but when I run it, it give me this error: RTNETLINK answers: File exists I have no idea what this error means or how to fix it. Here is a portion of the script (the whole script shapes several
2005 Jun 22
4
tc on a PDA
hello, i have a 5500 iPaq with familiar 0.8.2 on it and i don''t know how to install a traffic shaper tool on it. I installed iproute2 package i found on familiar site and for that i have the tc and ip commands, but when trying to add a qdisc, as a dummy example, i get the next answer: > tc qdisc add dev wlan0 root cbq bandwidth 100Mbit avpkt 100 RTNETLINK answers: Invalid argument
2005 Apr 29
1
newbie
Hi all, After posting some emails here and googling in the net. I have now a little clarity where and how to start bandwidth Management. Hope I can still be guided though. My understanding is I will be needing these modules and linux utilities. I hope someone can confirm. 1. I need to use iptables/ebtables for packet marking. 2. I can use tc for packet shaping. 3. I can use bwm_ng for
2003 Jan 15
5
HTB. QoS and Shorewall
Group, I am reading about tc (traffic control) and willing to get my feet wet. As requirement, there should be HTB compiled in the kernel. I grabbed a Mandrake 8.2 distro, and didn''t installed the kernel source. Anyone knows if the HTB is compiled in Mandrake 8.2, or point a way to find that out? I tried to read the /usr/src/kernel.xxxxx/.config file, but it doesn''t exists.
2004 May 04
4
Wrapping prio in tbf
The manual says (about prio): > Because it doesn''t actually shape, the same warning as for SFQ holds: > either use it only if your physical link is really full or wrap it > inside a classful qdisc that does shape. The latter holds for almost all > cable modems and DSL devices. I want to wrap prio inside of tbf. Here''s why: I have a server on a DSL line, which has
2005 Apr 18
20
HTB stalling
Hi Couple months ago I started to have a strange problem with HTB. My setup is Fedora Core 2 + Pentium 2 233 + 128 MB of ram and its serving as a router. For some time since going to kernel 2.6 my HTB QoS Stalls for couple seconds, every couple minutes. If the connection load is bigger the stalling is more frequent and takes longer. I isolated the problem to be with HTB (CBQ works fine). The
2004 Jul 02
24
TC Hashing Filters
Hey all, I had asked a question a little while ago about CPU usage being outrageous while using tc and a cbq qdisc. Ed was very kind and offered a few suggestions. One of these was to look at hashing. So after pounding away at it for about a week, I have a general understanding of how it works and have tried to implement it. Unfortunately, and quite obviously since I''m posting here, it
2004 May 13
19
HTB MPU
Hi. I wrote in a reply to a mail on here recently that you can''t set mpu (minimum packet unit) on HTB as you can on CBQ. I''ve just noticed that there is a patch on devik''s site which does mpu and overhead. http://luxik.cdi.cz/~devik/qos/htb/ For dsl users mpu is, for practical purposes going to be 106 - overhead is still variable though, depending on packet size.
2006 Aug 28
4
Applying the same class to multiple interfaces
Hi All, I''m trying to do some traffic shaping on an ethernet bridge. Currently, I have the following setup working: ifconfig eth0 down brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 brctl stp br0 off ifconfig eth0 0.0.0.0 up ifconfig eth1 0.0.0.0 up ifconfig br0 up This creates a bridge consisting of eth0 and eth1. So far so good. I now want to use tc to shape traffic
2006 Aug 24
3
Help On Upload Limiting Using CBQ.init
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Guys Ive got an internet cafe on which I have a debian sarge box running. The Debian box acts as a gateway and it has masquerading on. I have 40 client PC and i do not want to assign more than 64k per pc for upload and the same is true for download too. Ive done alot of research and Ive read tutorials about CBQ and HTB. I found that CBQ.init is
2004 Jan 21
2
Slightly offtopic: IRC channel archives
Hi all. I fear I''m slightly offtopic with this question, but I''ll keep it short: who is (or feels) responsible for the #lartc irc-channel in oftc.net? I''d appreciate if that person would get in contact with me (off-list) in order to discuss some ideas I have. Thanks in advance. Bye, Mike _______________________________________________ LARTC mailing list /
2005 Apr 26
2
latest code
Hi, Im trying to download the iproute2 source code from the freshmeat.net. I''m having problem downloading the latest code. Is this a known issue or just me getting this problem. Is version iproute2-2.6.11-050330.tar.gz a good version instead of the latest? Thanks. grace
2004 Dec 28
2
Simple case here!
Hi All, I want to setup a machine to connect to internet at a limited rate of 64 kbps. That machine is connected to a switch. so my LAN and Internet both comes from the same eth0. How can I limit only the internet access from this machine to 64kbps and still using 100mbps for LAN I am trying to implement this Please guide me If i am wrong. I mark all the packets going out to LAN. Then I can
2004 May 04
3
shape outgoing/upload traffic PER-IP.
does anyone know a way to shape outgoing/upload traffic per ip? I have a network and i want to limit the upload with 100kbit per user. Ex: 192.168.1.20 ----> 1024kbit-DOWN / 100kbit-UP 192.168.1.21 ----> 1024kbit-DOWN / 100kbit-UP and so on....... Ive tried CBQ and HTB, but couldnt get is right. the only thing that I did in upload bases was: "tc qdisc add dev ppp0 root tbf rate
2001 Feb 07
3
cbq ip range?
OK, finally I have made cbq run ! now I would like to know if it is posible to limit a range of IP to a speed. something like this : from 192.168.1.1 to 192.168.1.21 limit to 128K I don''t whant to limit each IP to 128K, what I would like to do is limit all 20 IP to have a max of 128K. Is it posible?
2002 Sep 06
6
questiona about CBQ algorithm in Linux
Hi Stef and Alexey I have read some documents about CBQ algorithm from http://www.icir.org/floyd/cbq.html but still have some question about CBQ in Linux . 1. First estimator can estimate how much bandwidth already USED per class. one estimating algorithm is EWMA (exponential weighted moving average), how about Linux implemenatation about estimator? also do you have link for this algorithm? I
2004 Jun 18
21
patch: HTB update for ADSL users
OK, here it is. Near perfect bandwidth calculation for ADSL users. Patch iproute2 with the HTB stuff and then this: It''s still a hack (as far as I can tell) because we are patching the rates tables, and hence I think it is only loosly coupled with the actual calculation of bytes in each bucket. However, it works very nicely for me! I have only been lightly testing with
2007 Dec 05
3
Adding qdiscs crashes kernel??
Hi all, I''m having some problems setting up qdiscs on a bridge.The config looks a little like this: ifconfig ifb0 up # Bring up the IFB for this bridge. tc qdisc add dev eth2 ingress tc qdisc add dev eth3 ingress tc qdisc add dev ifb0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8 # Raw qdiscs on each bridge port tc qdisc add dev eth2 root handle 1:0 cbq bandwidth
2001 Dec 07
3
more on cbq parameters
While I''m thinking about that review of howto changes, here are a few other responses about things I don''t believe. I''ll be interested in more info if anyone has any. ==== [from new doc] Besides being classful, CBQ is also a shaper and it is in that aspect that it really doesn''t work very well. It should work like this. I''ve not noticed that it
2001 Dec 06
3
Anti-CBQ Statements in Howto
I find the negative attitude toward CBQ to be distracting and non-professional in the HOWTO. I''ve re-read it for the first time in about a month and comments like "This can be configured in a variety of ways, which I do not understand. Use HTB" do not encourage me about the writer. This is not a personal critique, as I can imagine this being said on a personal website,