Displaying 20 results from an estimated 4000 matches similar to: "problem whith htb script"
2004 Jan 20
1
htb+beginner+error
Good day all
So at log last I did my script
We have a 256kbite connection.This scrip runs on my gateway box(the same
for script for eth1(ext) and eth0(int)
I want to limit all other traffic to 10kbites but when I do it I give me
this error:
HTB quantum of class 10034 is to small.consider r2q <7>htb*g j=42801780
Here is my script.If you have any Idea to better it let me know.Its a
bit from
2004 Nov 16
2
share bandwith between vpns
I have clients, which connectin to Internet through vpn. I want to
dynamically share bandwith between vpn connections, so if there few
connections, then they get all bandwith, if more then they get their
minimal guaranteed bandwith. my idea is:
ip-up.local:
tc class add dev $DEV parent 1:1 classid 1:2${1/ppp/} htb rate
$[$RATEUP/$VPNS]kbit ceil ${RATEUP}kbps
tc filter add dev $DEV protocol ip
2005 Nov 01
0
ADSL-Bandwidth-Management-HOWTO
Hi,
I''ve read ADSL-Bandwidth-Management-HOWTO
http://www.tldp.org/HOWTO/ADSL-Bandwidth-Management-HOWTO/implementation.htm
l#AEN166
and I''ve a doubt from script:
[ ... ]
# DNS name resolution (small packets)
iptables -t mangle -A MYSHAPER-OUT -p udp -j MARK --set-mark 21
[ ... ]
That is a bug ?
I think that " DNS name resolution (small packets) " is better
2005 Jul 05
0
Please: Judge this script
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts. I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.
I formed the band so that shaping goes by the eth1 (of the LAN) with bandwidth maximum CEIL=768.
But I observe that the traffic sometimes accelerates and other
2006 Jul 18
0
skype specific QoS - assigning skype traffic to an HTB class
Hi,
What do you think about this solution for skype specific QoS:
function HTB_shape
{
###########################################################
# Shapes the traffic of an interface, limiting the late
#
# Arguments are DEV,RATE
DEV=$1
RATE=$2
[...]
PORT=dport
if [ $DEV == $EXTIF ]; then
PORT=sport
fi
iptables -t mangle -A MYSHAPER-$DEV -p tcp --$PORT 4000 -j MARK --set-mark
2005 Jul 06
2
Please: "judge" this script
I copied and tried to adapt to my necessities the excellent script of Pedro Larroy, but I am inexperienced in QoS and I have doubts.
I have cablemodem to Internet 1024kbit down and 256kbit up, through eth0. The LAN has eth1 and NAT.
I formed the band so that shaping goes by the eth1 (of the LAN) with bandwidth maximum CEIL=768.
But I observe that the traffic sometimes accelerates and other
2005 Jun 28
0
Re: Questin regarding HTB
Yes sure here they are:
The first one that i have received 2day and does not work almost at all:
#!/bin/bash
ETH_IN="eth1"
ETH_OUT="eth0"
BANDA_TOTALA="2Mbit"
# pentru neclasificati ar trebui sa fie banda minima - 1k - aici ar trebui
sa ajunga trafic necunoscut,
# care nu e organizat in shape-uri
BANDA_NECLASIFICATI="8kbit"
#Shape generale
/sbin/tc
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
Thank you for your help.
It generates this script :
tc qdisc add dev eth0 handle 1:0 root htb default 2
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 75000bps ceil \
75000bps
tc class add dev eth0 parent 1:0 classid 1:2 htb rate 125000bps
tc filter add dev eth0 parent 1:0 protocol all prio 1 u32 match u32 \
0xa000001 0xffffffff at 12 classid 1:1
But I thought it was necessary to
2004 Oct 08
6
HTB weird problem ....
Hello good day to all ... this is my setup
1 Linux Wireless Access Point, connected are 4
wireless gateway in which i needed to apply shaping
...
ok here is the weird part... clients on each gateway
download files from the Acess Point ... a 500 mb file
through ftp
on gateway 1 which is up to 64 kbps ... the result is
from 60-64 kbps speed which is fine ...
on gateway 2 which is 128 kbps ... the
2000 Jan 18
1
core-dumps whith hp-ux 11.0 64-bit-architecture
Hi !
I have a serious problem whith samba-2.0.6 on hp-ux 11.0 64 bit arch.
Under hp-ux11.0 32 bit all works fine, but under 64 bit arch, compiled whith
gcc 2.9 , compilation finished whithout errors, but connection-trials from
nt-clients results in core dumps.A "file" core shows me the following
output:
core: core file from `smbd? - received SIGABRT
any hints would be very
2007 Oct 29
1
Some questions about HTB
Hello,
I have installed a server with three physical ethernet links and some
virtual interfaces:
eth0 - 213.215.42.70
eth0:1 - 213.215.42.71
eth0:2 - 213.215.42.72
eth0:3 - 213.215.42.73
eth0:4 - 213.215.42.74
eth0:5 - 213.215.42.75
eth0:6 - 213.215.42.76
eth0:7 - 213.215.42.77
eth0:8 - 213.215.42.78
eth2 - 192.168.1.128
eth3 - 213.215.42.69
All traffic are routed by iproute2 and iptables
2010 Apr 11
0
[LLVMdev] how to compile llvm-gcc whith lto support for ARM
Hello
> ../configure --target=arm-unknown-linux-gnueabi --program-prefix=arm-
> --prefix=/home/kursh/arm --enable-gold --enable-plugins
> --with-sysroot=/home/kursh/arms/sys-root
It seems you've configured binutils with gold...
> /home/kursh/arm/arm-unknown-linux-gnueabi/bin/ranlib ./libgcc_eh.a
> /home/kursh/arm/bin/arm-ld: error: libgcc/./_udivsi3_s.o: unsupported reloc
2020 Aug 24
0
problem whith samba and dnsupdate command
On 24/08/2020 15:15, jmpatagonia via samba wrote:
> Problem whith dnsupdate -->
>
> /etc/samba# samba_dnsupdate --all-names --fail-immediately
> Failed to get Kerberos credentials, falling back to samba-tool: kinit for
> DOMAIN-SERVER2$@POLICIA2.RIONEGRO.GOV.AR failed (Cannot contact any KDC for
> requested realm)
>
> ERROR(runtime): uncaught exception - (9711,
>
2004 Nov 15
5
Packet loss with htb+sfq+l7filter
Hi all!
I''m trying to shape traffic in a dorm''s network (4 mbit symmetrical
internet link, about 200 computers, heavy p2p usage). The router is a
p4xeon running linux 2.6.9 with the qnet patches
(http://kem.p.lodz.pl/~peter/qnet/). When I activate ip_forward I get
>20% packet loss and a lot of duplicates. Any ideas? I attach my shaping
script.
Thank you very much in advance,
2017 Jul 01
0
How to replace match words whith colum name of data frame?
Dear ?,
I'm sure that there are many ways to do what you want; here's one:
> cbind(concept_df, category=
+ ifelse(apply(
+ sapply(chemical_df$chemical,
+ function(x) grepl(x, concept_df$concept)),
+ 1, any),
+ "chemical", ""))
concept category
1 butan
2005 Apr 25
0
Via Samuel 2 Stepping 3 - does not work - even whith patch - wrong URL sorry
oops.. sorry, I posted the wrong HowTo-URL. The one I followed was:
http://lists.xensource.com/archives/html/xen-devel/2004-12/msg00145.html
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2017 Aug 01
0
How to replace match words whith colum name of data frame?Hi--
Hi--
concept_df$NewCol <- "";
kw <- "acid|ph";
bb <- grepl(kw,concept_df$concept)
concept_df[dd,2] <- "chemical"
The is a bit late but it accomplish the same with base R.
Good luck--EK
PS.. my email doesn't accept reply
[[alternative HTML version deleted]]
2017 Jul 01
0
How to replace match words whith colum name of data frame?
I have two data frame. I want to use "chemical_df" to match "concept_df "
concept_df <- data.frame(concept=c("butan acid ", "nano diamond particl", "slurri
composit", "composit ph polis", " inorgan particl ", "grind liquid", "liquid formul", "nanoparticl", "size abras particl",
2017 Jul 30
0
How to replace match words whith colum name of data frame?
Try the stringr package.
This should work
chemical=c("basic", "alkalin", "alkali", "acid", " ph ", "hss")
chemical_match <- str_c(chemical, collapse = "|")
chemical_match
concept_df$match[str_detect(concept_df$concept, chemical_match)] <-
"chemical"
concept_df
> concept_df
concept match
2008 Dec 04
1
[LLVMdev] optimization whith call of Intrinsics
Thanks Eli.
I will try your solution, but then, what is the difference between
[IntrReadArgMem] and
[IntrReadMem] when specifying an intrinsic ? It seems that both options
specify that a function is 'readonly'
(maybe the difference is not well supported for then moment ?)
Julien
> Dead store elimination is that pass that could do the optimizations in
> question. The second