Page 2 of 2

Re: enabling upload QoS = no inet

Posted: Mon Mar 03, 2014 7:55 pm
by jasonmariah
Ok, here's what comes out if I enable QOS (upload), ACC shows idle, but I get no internet. Does this reveal anything? thanks

root@iHouse Router:~# /etc/init.d/qos_gargoyle restart
+ + grepawk hfsc {print $5}

+ tc qdisc show
+ tc qdisc del dev eth1 root
+ tc qdisc del dev imq0 root
+ delete_chain_from_table mangle qos_egress
+ delete_chain_from_table mangle qos_ingress
+ set +x
+ tc qdisc add dev eth1 root handle 1:0 hfsc default 1
+ tc class add dev eth1 parent 1:0 classid 1:1 hfsc ls rate 1000Mbit ul rate 320kbit
+ set +x
+ tc class add dev eth1 parent 1:1 classid 1:2 hfsc ls m2 0Mbit rt m1 160kbit d 20ms m2 80kbit
HFSC: Service Curve has two zero slopes
HFSC: Illegal "ls"
+ tc qdisc add dev eth1 parent 1:2 handle 2:1 sfq headdrop limit 12 divisor 256
RTNETLINK answers: No such file or directory
+ tc filter add dev eth1 parent 1:0 protocol ip handle 0x2 fw flowid 1:2
+ tc filter add dev eth1 parent 2: handle 1 flow divisor 256 map key nfct-src and 0xff
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
+ set +x
+ tc class add dev eth1 parent 1:1 classid 1:3 hfsc ls m2 0Mbit
HFSC: Service Curve has two zero slopes
HFSC: Illegal "ls"
+ tc qdisc add dev eth1 parent 1:3 handle 3:1 sfq headdrop limit 12 divisor 256
RTNETLINK answers: No such file or directory
+ tc filter add dev eth1 parent 1:0 protocol ip handle 0x3 fw flowid 1:3
+ tc filter add dev eth1 parent 3: handle 1 flow divisor 256 map key nfct-src and 0xff
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
+ set +x
+ tc class add dev eth1 parent 1:1 classid 1:4 hfsc ls m2 0Mbit ul m2 500kbit
HFSC: Service Curve has two zero slopes
HFSC: Illegal "ls"
+ tc qdisc add dev eth1 parent 1:4 handle 4:1 sfq headdrop limit 18 divisor 256
RTNETLINK answers: No such file or directory
+ tc filter add dev eth1 parent 1:0 protocol ip handle 0x4 fw flowid 1:4
+ tc filter add dev eth1 parent 4: handle 1 flow divisor 256 map key nfct-src and 0xff
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
+ set +x
+ tc class add dev eth1 parent 1:1 classid 1:5 hfsc ls m2 0Mbit
HFSC: Service Curve has two zero slopes
HFSC: Illegal "ls"
+ tc qdisc add dev eth1 parent 1:5 handle 5:1 sfq headdrop limit 12 divisor 256
RTNETLINK answers: No such file or directory
+ tc filter add dev eth1 parent 1:0 protocol ip handle 0x5 fw flowid 1:5
+ tc filter add dev eth1 parent 5: handle 1 flow divisor 256 map key nfct-src and 0xff
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
+ set +x
+ tc qdisc change dev eth1 root handle 1:0 hfsc default 5
+ iptables -t mangle -N qos_egress
+ iptables -t mangle -A POSTROUTING -o eth1 -j qos_egress
+ set +x
+ iptables -t mangle -I qos_egress -j MARK --set-mark 0x5
+ iptables -t mangle -I qos_egress -m mark ! --mark 0x0 -j RETURN
+ iptables -t mangle -I qos_egress -m mark ! --mark 0x0 -j CONNMARK --save-mark --mask 0x007F
+ iptables -t mangle -A qos_egress -j CONNMARK --save-mark --mask 0x007F
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:2 hfsc ls m2 800Mbit
+ tc qdisc add dev imq0 parent 1:2 handle 2:1 sfq headdrop limit 60 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 2 protocol ip handle 0x200 fw flowid 1:2
+ tc filter add dev imq0 parent 2: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:3 hfsc ls m2 100Mbit ul m2 600kbit
+ tc qdisc add dev imq0 parent 1:3 handle 3:1 sfq headdrop limit 11 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 3 protocol ip handle 0x300 fw flowid 1:3
+ tc filter add dev imq0 parent 3: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:4 hfsc ls m2 20Mbit ul m2 200kbit
+ tc qdisc add dev imq0 parent 1:4 handle 4:1 sfq headdrop limit 5 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 4 protocol ip handle 0x400 fw flowid 1:4
+ tc filter add dev imq0 parent 4: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:5 hfsc ls m2 40Mbit ul m2 800kbit
+ tc qdisc add dev imq0 parent 1:5 handle 5:1 sfq headdrop limit 15 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 5 protocol ip handle 0x500 fw flowid 1:5
+ tc filter add dev imq0 parent 5: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:6 hfsc rt m1 200kbit d 20ms m2 100kbit ls m1 20Mbit d 20ms m2 20Mbit
+ tc qdisc add dev imq0 parent 1:6 handle 6:1 sfq headdrop limit 60 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 6 protocol ip handle 0x600 fw flowid 1:6
+ tc filter add dev imq0 parent 6: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc class add dev imq0 parent 1:1 classid 1:7 hfsc ls m2 20Mbit ul m2 500kbit
+ tc qdisc add dev imq0 parent 1:7 handle 7:1 sfq headdrop limit 9 divisor 256
+ tc filter add dev imq0 parent 1:0 prio 7 protocol ip handle 0x700 fw flowid 1:7
+ tc filter add dev imq0 parent 7: handle 1 flow divisor 256 map key dst and 0xff
+ set +x
+ tc qdisc change dev imq0 root handle 1:0 hfsc default 2
+ iptables -t mangle -N qos_ingress
+ iptables -t mangle -A FORWARD -i eth1 -j qos_ingress
+ iptables -t mangle -A INPUT -i eth1 -j qos_ingress
+ set +x
+ iptables -t mangle -I qos_ingress -p tcp --sport 443 -m connbytes --connbytes 1048576: --connbytes-dir both --connbytes-mode bytes -j MARK --set-mark 0x200
+ iptables -t mangle -I qos_ingress -p udp --sport 443 -m connbytes --connbytes 1048576: --connbytes-dir both --connbytes-mode bytes -j MARK --set-mark 0x200
+ set +x
+ iptables -t mangle -I qos_ingress -p tcp --sport 80 -j MARK --set-mark 0x200
+ iptables -t mangle -I qos_ingress -p udp --sport 80 -j MARK --set-mark 0x200
+ set +x
+ iptables -t mangle -I qos_ingress -s 192.168.1.20/30 -m connbytes --connbytes 51200: --connbytes-dir both --connbytes-mode bytes -j MARK --set-mark 0x500
+ set +x
+ iptables -t mangle -I qos_ingress -j MARK --set-mark 0x200
+ iptables -t mangle -I qos_ingress -m mark ! --mark 0x0 -j RETURN
+ iptables -t mangle -I qos_ingress -m mark ! --mark 0x0 -j CONNMARK --save-mark --mask 0x7F00
+ iptables -t mangle -I qos_ingress -j IMQ --todev 0
+ iptables -t mangle -A qos_ingress -j CONNMARK --save-mark --mask 0x7F00
+ set +x
+ [ -z ]
+ sed -n s/.*currentWanGateway.*"\(.*\)".*/\1/p
+ gargoyle_header_footer -i gargoyle
+ ptarget_ip=24.156.80.1
+ iptables -t mangle -I qos_ingress -p icmp --icmp-type 0 -d 24.156.80.118 -s 24.156.80.1 -j RETURN
+ tc class add dev eth1 parent 1:1 classid 1:127 hfsc rt umax 106 dmax 10ms rate 4kbit
+ tc qdisc add dev eth1 parent 1:127 pfifo
+ tc filter add dev eth1 parent 1:0 prio 1 protocol ip handle 127 fw flowid 1:127
+ iptables -t mangle -I qos_egress -p icmp --icmp-type 8 -s 24.156.80.118 -d 24.156.80.1 -j MARK --set-mark 127
+ [ -n ]
+ pinglimit=51
+ qosmon -a -b 800 24.156.80.1 3200 51
+ set +x
root@iHouse Router:~#

Re: enabling upload QoS = no inet

Posted: Thu Mar 06, 2014 1:40 pm
by jasonmariah
Doesn't matter if QOS download and ACC are on or off, anytime I turn QOS upload on, I lose internet.... Any ideas ? Should I reinstall Gargoyle?
thx
Jason

Re: enabling upload QoS = no inet

Posted: Tue Mar 11, 2014 12:45 am
by jasonmariah
Can anyone help me get ACC going? Activating QoS upload shuts down my internet connection...

Re: enabling upload QoS = no inet

Posted: Tue Mar 11, 2014 12:55 am
by jasonmariah
Enabling QoS upload shuts down my internet connection,, can anyone help? Anyone got any ideas?
THx