Problems with WonderShaper 1.1a

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does anyone have a resons why the following commands will fail?
 
my kernel (ver 2.4.21) .config seqment is below.
 
I am running Debian with latest iproute and iptables.
 
Thanks in advance,
Bryan.
 
Bryan Nolen
Lead Developer
http://Arc.Net.AU <http://arc.net.au/> 
http://cdonline.com.au <http://cdonline.com.au/> 
 
/*****************************************************/
  WonderShaper 1.1a using tc binary with htb support
/*****************************************************/
 
# sh -x ./wshaper
+ DOWNLINK=1200
+ UPLINK=220
+ DEV=ppp0
+ NOPRIOHOSTSRC=80
+ NOPRIOHOSTDST=
+ NOPRIOPORTSRC=
+ NOPRIOPORTDST=
+ '[' '' = status ']'
+ ./tc qdisc del dev ppp0 root
+ ./tc qdisc del dev ppp0 ingress
+ '[' '' = stop ']'
+ ./tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit
RTNETLINK answers: Invalid argument
+ ./tc class add dev ppp0 parent 1: classid 1:1 cbq rate 220kbit allot 1500
prio 5 bounded isolated
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:10 cbq rate 220kbit allot
1600 prio 1 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:20 cbq rate 198kbit allot
1600 prio 2 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc class add dev ppp0 parent 1:1 classid 1:30 cbq rate 176kbit allot
1600 prio 2 avpkt 1000
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:10 handle 10: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:20 handle 20: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc qdisc add dev ppp0 parent 1:30 handle 30: sfq perturb 10
RTNETLINK answers: No such file or directory
+ ./tc filter add dev ppp0 parent 1:0 protocol ip prio 10 u32 match ip tos
0x10 0xff flowid 1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1:0 protocol ip prio 11 u32 match ip
protocol 1 0xff flowid 1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 12 u32 match ip
protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 flowid
1:10
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 16 u32 match ip src 80
flowid 1:30
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent 1: protocol ip prio 18 u32 match ip dst
0.0.0.0/0 flowid 1:20
RTNETLINK answers: Invalid argument
+ ./tc qdisc add dev ppp0 handle ffff: ingress
RTNETLINK answers: Invalid argument
+ ./tc filter add dev ppp0 parent ffff: protocol ip prio 50 u32 match ip src
0.0.0.0/0 police rate 1200kbit burst 10k drop flowid :1
RTNETLINK answers: Invalid argument
 

/*********************************/
  Kernel 2.4.21 .config segment...
/*********************************/
 
#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=y
CONFIG_NET_SCH_HTB=y
CONFIG_NET_SCH_CSZ=y
CONFIG_NET_SCH_PRIO=y
CONFIG_NET_SCH_RED=y
CONFIG_NET_SCH_SFQ=y
CONFIG_NET_SCH_TEQL=y
CONFIG_NET_SCH_TBF=y
CONFIG_NET_SCH_GRED=y
CONFIG_NET_SCH_DSMARK=y
CONFIG_NET_SCH_INGRESS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=y
CONFIG_NET_CLS_ROUTE4=y
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=y
CONFIG_NET_CLS_U32=y
CONFIG_NET_CLS_RSVP=y
CONFIG_NET_CLS_RSVP6=y
CONFIG_NET_CLS_POLICE=y
 
# Networking options
#
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_IP_ROUTE_FWMARK=y
CONFIG_IP_ROUTE_NAT=y
CONFIG_IP_ROUTE_MULTIPATH=y
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
CONFIG_IP_ROUTE_LARGE_TABLES=y

 
Bryan Nolen
Lead Developer
http://Arc.Net.AU <http://arc.net.au/> 
http://cdonline.com.au <http://cdonline.com.au/> 
 


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux