Hi all,
i'm trying to use QoS service of gargoyle version 1.8 on my device tp link 1041N Ver.2. But QoS service does not work at all.
when i chosen QoS upload and QoS Download in menu Firewall and set up maximal speed to slow on 12 kbps with this help viewtopic.php?f=12&t=7261.
And i used ftp client to download files over my gargoyle router tp-link 1041n Ver.2. the data rate can not be limited.
When i had checked ps command on ssh terminal,
it does not show qos_gargoyle service at all.
root@Gargoyle:/etc/rc.d# ps
PID USER VSZ STAT COMMAND
1 root 1456 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
345 root 0 SWN [jffs2_gcd_mtd3]
394 root 884 S /sbin/ubusd
395 root 1376 S /bin/ash --login
749 root 0 SW< [cfg80211]
922 root 1036 S /sbin/logd -S 16
989 root 1364 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1691 root 1480 S /sbin/netifd
2003 root 1580 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
3885 nobody 920 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k
6162 root 1580 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
15604 root 0 SW [kworker/u2:2]
16098 root 0 SW [kworker/0:1]
16103 root 0 SW [kworker/0:3]
16175 root 1360 R ps
16833 root 0 SW [kworker/u2:1]
root@Gargoyle:/etc/rc.d# /etc/init.d/qos_gargoyle restart
+ grep hfsc
+ awk {print $5}
+ tc qdisc show
+ delete_chain_from_table mangle qos_egress
+ delete_chain_from_table mangle qos_ingress
+ set +x
root@Gargoyle:/etc/rc.d# ps
PID USER VSZ STAT COMMAND
1 root 1456 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
7 root 0 SW< [khelper]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
345 root 0 SWN [jffs2_gcd_mtd3]
394 root 884 S /sbin/ubusd
395 root 1376 S /bin/ash --login
749 root 0 SW< [cfg80211]
922 root 1036 S /sbin/logd -S 16
989 root 1364 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1691 root 1480 S /sbin/netifd
2003 root 1580 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
3885 nobody 920 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k
6162 root 1580 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
15604 root 0 SW [kworker/u2:2]
16539 root 0 SW [kworker/0:3]
16833 root 0 SW [kworker/u2:1]
17093 root 0 SW [kworker/0:1]
17852 root 1360 R ps
root@Gargoyle:/etc/rc.d#
can you help me please? and show me how to active this qos service?
Thank you in advances
Help for TP Link 1041N Ver.2
Moderator: Moderators
Re: Help for TP Link 1041N Ver.2
QOS only comes into effect when your WAN link is under full load and ping times are degraded - was this true during your test. To see what QoS is doing for you have a look at
Gargoyle - Firewall - QoS (Download) - QoS (Download) Active Congestion Control
Also I suspect you are looking for qosmon rather than qos_gargoyle in the process listing
Gargoyle - Firewall - QoS (Download) - QoS (Download) Active Congestion Control
Also I suspect you are looking for qosmon rather than qos_gargoyle in the process listing
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Help for TP Link 1041N Ver.2
Thank you nworbnhoj for your answer,
follow the introduction https://www.gargoyle-router.com/wiki/doku.php?id=qos
I think you are right, QoS mean i get guaranteed bandwidth, when WAN link is saturated.
i have done as you help with firewall
Gargoyle - Firewall - QoS (Download) - QoS (Download) Active Congestion Control is on
but qosmon is not active in terminal as i enter ps command line in the terminal
but after i restart my router at the beginning it show
root@Gargoyle:/# ps
PID USER VSZ STAT COMMAND
1 root 1392 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
90 root 0 SW [kworker/0:1]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
164 root 0 SW [kworker/u2:2]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
346 root 0 SWN [jffs2_gcd_mtd3]
395 root 880 S /sbin/ubusd
396 root 1364 S /bin/ash --login
775 root 0 SW< [cfg80211]
780 root 0 SW [kworker/0:3]
923 root 1036 S /sbin/logd -S 16
957 root 1480 S /sbin/netifd
1005 root 1360 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1029 root 1108 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1064 root 1540 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
1091 root 1384 S {hotplug-call} /bin/sh /sbin/hotplug-call iface
1407 root 1576 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1495 root 1388 S {hotplug-call} /bin/sh /sbin/hotplug-call iface
1497 root 1520 S {bwmon_gargoyle} /bin/sh /etc/rc.common /etc/init.d/
1528 root 1352 S sleep 1
1529 root 1360 R ps
then the service bwmon_gargoyle is disappeared, in the list of service
as followed
root@Gargoyle:/# [ 70.200000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[ 70.210000] old minutes west=0, new minutes west=-60
root@Gargoyle:/# ps
PID USER VSZ STAT COMMAND
1 root 1392 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
90 root 0 SW [kworker/0:1]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
164 root 0 SW [kworker/u2:2]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
346 root 0 SWN [jffs2_gcd_mtd3]
395 root 880 S /sbin/ubusd
396 root 1364 S /bin/ash --login
775 root 0 SW< [cfg80211]
780 root 0 SW [kworker/0:3]
923 root 1036 S /sbin/logd -S 16
957 root 1480 S /sbin/netifd
1005 root 1360 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1029 root 1108 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1064 root 1540 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
1407 root 1576 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1882 nobody 920 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k
1989 root 1360 R ps
-----------------
can you help me please? i don't understand why the service is disappeared
would you tell me ? this is an error or normal. I thought that at least one qos service must be loaded in the active list of ps command.
thank you in advance
tungnk
follow the introduction https://www.gargoyle-router.com/wiki/doku.php?id=qos
I think you are right, QoS mean i get guaranteed bandwidth, when WAN link is saturated.
i have done as you help with firewall
Gargoyle - Firewall - QoS (Download) - QoS (Download) Active Congestion Control is on
but qosmon is not active in terminal as i enter ps command line in the terminal
but after i restart my router at the beginning it show
root@Gargoyle:/# ps
PID USER VSZ STAT COMMAND
1 root 1392 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
90 root 0 SW [kworker/0:1]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
164 root 0 SW [kworker/u2:2]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
346 root 0 SWN [jffs2_gcd_mtd3]
395 root 880 S /sbin/ubusd
396 root 1364 S /bin/ash --login
775 root 0 SW< [cfg80211]
780 root 0 SW [kworker/0:3]
923 root 1036 S /sbin/logd -S 16
957 root 1480 S /sbin/netifd
1005 root 1360 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1029 root 1108 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1064 root 1540 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
1091 root 1384 S {hotplug-call} /bin/sh /sbin/hotplug-call iface
1407 root 1576 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1495 root 1388 S {hotplug-call} /bin/sh /sbin/hotplug-call iface
1497 root 1520 S {bwmon_gargoyle} /bin/sh /etc/rc.common /etc/init.d/
1528 root 1352 S sleep 1
1529 root 1360 R ps
then the service bwmon_gargoyle is disappeared, in the list of service
as followed
root@Gargoyle:/# [ 70.200000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
[ 70.210000] old minutes west=0, new minutes west=-60
root@Gargoyle:/# ps
PID USER VSZ STAT COMMAND
1 root 1392 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
60 root 0 SW< [writeback]
63 root 0 SW< [bioset]
65 root 0 SW< [kblockd]
90 root 0 SW [kworker/0:1]
95 root 0 SW [kswapd0]
141 root 0 SW [fsnotify_mark]
155 root 0 SW< [ath79-spi]
164 root 0 SW [kworker/u2:2]
279 root 0 SW< [deferwq]
282 root 0 SW [kworker/0:2]
346 root 0 SWN [jffs2_gcd_mtd3]
395 root 880 S /sbin/ubusd
396 root 1364 S /bin/ash --login
775 root 0 SW< [cfg80211]
780 root 0 SW [kworker/0:3]
923 root 1036 S /sbin/logd -S 16
957 root 1480 S /sbin/netifd
1005 root 1360 S /usr/sbin/ntpd -n -l -p 0.pool.ntp.org -p 1.pool.ntp
1029 root 1108 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1064 root 1540 S /usr/sbin/uhttpd -f -h /www -r Gargoyle -x /cgi-bin
1407 root 1576 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1882 nobody 920 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf -k
1989 root 1360 R ps
-----------------
can you help me please? i don't understand why the service is disappeared
would you tell me ? this is an error or normal. I thought that at least one qos service must be loaded in the active list of ps command.
thank you in advance
tungnk
Re: Help for TP Link 1041N Ver.2
Could you post a screenshot of your
Gargoyle - Firewall - QOS (Download) Classification Rules
and
Gargoyle - Firewall - QOS (Download) Service Classes
Gargoyle - Firewall - QOS (Download) Classification Rules
and
Gargoyle - Firewall - QOS (Download) Service Classes
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Help for TP Link 1041N Ver.2
Thank you for your quick answer
hier is my classification rules

and QoS service class

as i try to enter: /etc/init.d/bwmon_gargoyle start
terminal shows as follow
root@Gargoyle:/# /etc/init.d/bwmon_gargoyle start
ipset v6.20.1: Syntax error: cannot parse /31: resolving to IPv4 address failed
touch: /etc/crontabs/root: No space left on device
grep: /etc/crontabs/root: No such file or directory
md5sum: can't open '/etc/crontabs/root': No such file or directory
mv: can't create '/etc/crontabs/root': No space left on device
thank you in advance
tungnk
hier is my classification rules

and QoS service class

as i try to enter: /etc/init.d/bwmon_gargoyle start
terminal shows as follow
root@Gargoyle:/# /etc/init.d/bwmon_gargoyle start
ipset v6.20.1: Syntax error: cannot parse /31: resolving to IPv4 address failed
touch: /etc/crontabs/root: No space left on device
grep: /etc/crontabs/root: No such file or directory
md5sum: can't open '/etc/crontabs/root': No such file or directory
mv: can't create '/etc/crontabs/root': No space left on device
thank you in advance
tungnk
Last edited by tungnk on Mon Oct 12, 2015 10:41 pm, edited 1 time in total.
Re: Help for TP Link 1041N Ver.2
In the Download Direction the Source is an IP address on the Internet and the Destination is a private IP address on your LAN.
You have source and destination around he wrong way in:
Gargoyle - Firewall - QoS (Download) - QoS(Download) Classification Rules
You have source and destination around he wrong way in:
Gargoyle - Firewall - QoS (Download) - QoS(Download) Classification Rules
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Help for TP Link 1041N Ver.2
A lot of those errors indicate you're out of flash space which could cause all sorts of unexpected/unwanted behaviour.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog