enabling upload QoS = no inet

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

enabling upload QoS = no inet

Post by jasonmariah »

Hi,
LOVE this software, massive thanks for creating this lifesaver.

I use ip based quotas, and I'm trying to start using QoS and ACC.
QoS download works fine, but upload QoS immediately shuts off my internet. Settings on upload QoS are stock, no changes. Uplink and downlink speeds set at 90% of real speeds.
version is 1.5.11
WNDR3700v2

Any ideas whats going on?
Thanks
Jason

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: enabling upload QoS = no inet

Post by pbix »

Post screen shots of your QoS pages while the problem is happening. I use this exact router without any problems.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

Re: enabling upload QoS = no inet

Post by jasonmariah »

qos upload.JPG
qos upload.JPG (106.84 KiB) Viewed 7469 times

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

Re: enabling upload QoS = no inet

Post by jasonmariah »

qos upload2.JPG
qos upload2.JPG (79.64 KiB) Viewed 7469 times
qos download.JPG
qos download.JPG (133.84 KiB) Viewed 7469 times
qos download2.JPG
qos download2.JPG (100.87 KiB) Viewed 7469 times

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

Re: enabling upload QoS = no inet

Post by jasonmariah »

qos download3.JPG
qos download3.JPG (80.14 KiB) Viewed 7469 times

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: enabling upload QoS = no inet

Post by pbix »

log into your router and run the following then post the output.

/etc/init.d/qos_gargoyle restart
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

Re: enabling upload QoS = no inet

Post by jasonmariah »

excuse my ignorance, ... Where does one enter this command? Browser window? SSH, telnet?
thx

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: enabling upload QoS = no inet

Post by pbix »

Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

jasonmariah
Posts: 10
Joined: Sun Feb 23, 2014 6:29 pm

Re: enabling upload QoS = no inet

Post by jasonmariah »

Thanks for the help, got putty and got this output...

root@iHouse Router:~# /etc/init.d/qos_gargoyle restart
+ awk {print $5}
+ grep hfsc
+ tc qdisc show
+ tc qdisc del dev imq0 root
+ delete_chain_from_table mangle qos_egress
+ delete_chain_from_table mangle qos_ingress
+ 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 20Mb it 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: --con nbytes-dir both --connbytes-mode bytes -j MARK --set-mark 0x200
+ iptables -t mangle -I qos_ingress -p udp --sport 443 -m connbytes --connbytes 1048576: --con nbytes-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 -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
root@iHouse Router:~# root@iHouse Router:~# /etc/init.d/qos_gargoyle restart

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: enabling upload QoS = no inet

Post by pbix »

Your above web page screen shots show that you have ACC enabled. I can see a check mark there. But below the check mark I see that that ACC state is listed as DISABLED. Something is not right. Are you sure you pressed save changes at the bottom of the page before taking this screen shot?

The output from the script you just ran does not show the ACC starting which also indicates that it is not enabled.

What happens in the status section when you press the save changes button at the bottom?
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

Post Reply