Martineau
Part of the Furniture
If you issuethanks for the reply, sounds very logical
Code:
runner disable
fc disable
You can then manually explicitly re-enable HW Acceleration or simply reboot.
If you issuethanks for the reply, sounds very logical
runner disable
fc disable
./QuotaMonitor.sh resetdel
./QuotaMonitor.sh init
./QuotaMonitor.sh monitor
It is 386.11What firmware version are you using?
No. I was using the WAN failover scripts, but reformatted JFFS and started over to see if it would fix this issue...but it didn't.It sounds like it's glitching on an nslookup. Do you have any Entware packages or addon scripts installed (other than this script)?
# ./QuotaMonitor.sh verbose
Chain MyQUOTAi (1 references)
num pkts bytes target prot opt in out source destination
1 34 7674 all -- eth0 br0 0.0.0.0/0 192.168.1.49 /* zen */
Chain MyQUOTAo (1 references)
num pkts bytes target prot opt in out source destination
1 38 4290 all -- br0 eth0 192.168.1.49 0.0.0.0/0 /* zen */
Chain POSTROUTING (policy ACCEPT 1256K packets, 957M bytes)
num pkts bytes target prot opt in out source destination
v1.08 Quota/Rate Monitoring every 60 secs (Quota Rx/Tx Limit 50.00 MB/10.00 MB and Quota Data Usage Capped Limit is 50.00 GB)
There are 1 devices monitored
There are 0 devices BLOCKED
There are 0 devices throttled by QoS
Does an "_" count as a strange character? The one I am trying to add is shown with client name of "RZYHGCJ00001973_JIDU6001" in the GUI.Are you using any strange characters in your host names? QoS enabled?
Try running it with the verbose option:
Code:# ./QuotaMonitor.sh verbose Chain MyQUOTAi (1 references) num pkts bytes target prot opt in out source destination 1 34 7674 all -- eth0 br0 0.0.0.0/0 192.168.1.49 /* zen */ Chain MyQUOTAo (1 references) num pkts bytes target prot opt in out source destination 1 38 4290 all -- br0 eth0 192.168.1.49 0.0.0.0/0 /* zen */ Chain POSTROUTING (policy ACCEPT 1256K packets, 957M bytes) num pkts bytes target prot opt in out source destination v1.08 Quota/Rate Monitoring every 60 secs (Quota Rx/Tx Limit 50.00 MB/10.00 MB and Quota Data Usage Capped Limit is 50.00 GB) There are 1 devices monitored There are 0 devices BLOCKED There are 0 devices throttled by QoS
Also, on the topic of special characters, I notice that when I do an nslookup it showns 8.8.8.8 as "dns.google". Perhaps the "." is causing an issue. Not sure how I change the configuration to use a different name, though.Does an "_" count as a strange character? The one I am trying to add is shown with client name of "RZYHGCJ00001973_JIDU6001" in the GUI.
When I use the verbose option, I see this:
admin@RT-AC68U-5E80:/jffs/scripts# ./QuotaMonitor.sh verbose
Chain MyQUOTAi (1 references)
num pkts bytes target prot opt in out source destination
1 9522 13M all -- eth0 br0 0.0.0.0/0 192.168.2.44 /* dns */
Chain MyQUOTAo (1 references)
num pkts bytes target prot opt in out source destination
1 4490 329K all -- br0 eth0 192.168.2.44 0.0.0.0/0 /* dns */
Chain POSTROUTING (policy ACCEPT 97M packets, 85G bytes)
num pkts bytes target prot opt in out source destination
1 271K 69M MARK all -- * * 192.168.2.1 192.168.2.0/24 MARK set 0x9
2 271K 69M RETURN all -- * * 192.168.2.1 192.168.2.0/24
v1.08 Quota/Rate Monitoring every 60 secs (Quota Rx/Tx Limit 50.00 MB/10.00 MB and Quota Data Usage Capped Limit is 50.00 GB)
There are 1 devices monitored
There are 0 devices BLOCKED
There are 0 devices throttled by QoS
Looks about right, but even here it is somehow convinced that the IP address is "dns". Also, when I get it into a blocking state, it blocks DNS rather than the IP:
admin@RT-AC68U-5E80:/jffs/scripts# ./QuotaMonitor.sh verbose
Chain MyQUOTAi (1 references)
num pkts bytes target prot opt in out source destination
1 0 0 DROP all -- eth0 br0 0.0.0.0/0 8.8.8.8 /* Block dns */
2 348K 492M all -- eth0 br0 0.0.0.0/0 192.168.2.44 /* dns */
Chain MyQUOTAo (1 references)
num pkts bytes target prot opt in out source destination
1 0 0 DROP all -- br0 eth0 8.8.8.8 0.0.0.0/0 /* Block dns */
2 125K 35M all -- br0 eth0 192.168.2.44 0.0.0.0/0 /* dns */
Chain POSTROUTING (policy ACCEPT 1215K packets, 1325M bytes)
num pkts bytes target prot opt in out source destination
1 917 245K MARK all -- * * 192.168.2.1 192.168.2.0/24 MARK set 0x9
2 917 245K RETURN all -- * * 192.168.2.1 192.168.2.0/24
v1.08 Quota/Rate Monitoring every 60 secs (Quota Rx/Tx Limit 50.00 MB/10.00 MB and Quota Data Usage Capped Limit is 50.00 GB)
There are 1 devices monitored
There are 1 devices BLOCKED (dns)
There are 0 devices throttled by QoS
Is it possible there is a dependency related to the DNS settings in the GUI?
That is correct. 8.8.8.8 is dns.google.Also, on the topic of special characters, I notice that when I do an nslookup it showns 8.8.8.8 as "dns.google". Perhaps the "." is causing an issue. Not sure how I change the configuration to use a different name, though.
nslookup RZYHGCJ00001973_JIDU6001
nslookup 192.168.2.44
Wan: Use local caching DNS server as system resolver
to Yes
.# nslookup RZYHGCJ00001973_JIDU6001
Server: 8.8.8.8
Address 1: 8.8.8.8 dns.google
nslookup: can't resolve 'RZYHGCJ00001973_JIDU6001'
# nslookup zen
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost.localdomain
Name: zen
Address 1: 192.168.1.49 zen.home.lan
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!