What's new

QoS not working on latest version 386.3

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

A bit off-topic, but have you ever seen the following messages in the log when using the Adaptive QOS? I get them on the stock firmware and thinking of switching to Merlin, because looks like they make Internet connection unstable when occur.

These messages look something like this:

Code:
ay  7 08:03:46 kernel: ------------[ cut here ]------------
May  7 08:03:46 kernel: WARNING: CPU: 3 PID: 6200 at net/sched/sch_htb.c:568 htb_qlen_notify+0x78/0x80()
May  7 08:03:46 kernel: Modules linked in: tdts_udbfw(O) init_addr(          (null) -           (null)), core_addr(ffffffbffc15b000 - ffffffbffc160500)
May  7 08:03:46 kernel:  tdts_udb(PO) init_addr(          (null) -           (null)), core_addr(ffffffbffc357000 - ffffffbffc37a054)
.......
.......
May  7 08:03:47 kernel: CPU: 3 PID: 6200 Comm: tc Tainted: P        W  O    4.1.52 #2
May  7 08:03:47 kernel: Hardware name: Broadcom-v8A (DT)
May  7 08:03:47 kernel: Call trace:
.......
.......

Resetting the router does not help.
 
Lan-to-Lan will work. It actually allows one subnet to see the other without defining any rules to Static-Routers. It is one way you can cascade routers, but not a very popular way. Some routers do not fully support it. ergo no QoS support.


You would have to disable DHCP tho or make them non-overlapping.
The LAN to LAN setup described in that link is not using separate subnets. Both routers are on the same subnet.
 
The LAN to LAN setup described in that link is not using separate subnets. Both routers are on the same subnet.
You are correct ColinTaylor. It was used mearly to show how a proper lan-to-lan configuration could look like. Any miss-configuration being contrary to the example.
Two ways to LAN-to-LAN
Turn dhcp off,
or
set one dhcp range on Primary Router to be something like 2 to 150
set dhcp range on Secondary Router to be something like 151 to 254

The easier and most acceptable (play nice) approach is to disable dhcp as the guide instructs.
 
or
set one dhcp range on Primary Router to be something like 2 to 150
set dhcp range on Secondary Router to be something like 151 to 254
That's not a valid setup. If both routers are part of the same subnet you can't have two active DHCP servers. It doesn't matter whether each server has different IP ranges or not.
 
That's not a valid setup. If both routers are part of the same subnet you can't have two active DHCP servers. It doesn't matter whether each server has different IP ranges or not.
It can be done it is just not advisable because the first dhcp that responds decides the address.

Example

Router 1 IP -192.168.1.1

IPrange 192.168.1.2-192.168.1.150

Router 2 IP- 192.168.1.151

IPrange 192.168.1.152-192.168.254

The disadvantage is virtually no control over which DHCP gets priority since it depends on which one responds first or which one the device is connected to.
 
Last edited:
It can be done it is just not advisable because the first dhcp that responds decides the address.
I would say it's not simply "not advisable" but just plain wrong IMHO. Not only for the reason you just stated but also because it would break local DNS name resolution (dnsmasq automatically registers clients in its DNS) and might cause problems with lease renewal. I can't think why someone would deliberately misconfigure their network like this.
 
I would say it's not simply "not advisable" but just plain wrong IMHO. Not only for the reason you just stated but also because it would break local DNS name resolution (dnsmasq automatically registers clients in its DNS) and might cause problems with lease renewal. I can't think why someone would deliberately misconfigure their network like this.
I am in full accordance with you. It is just one example that can go wrong in a Lan-to-Lan configuration. That is why the dhcp off is the preferred method (only method by your book).
 
I would say it's not simply "not advisable" but just plain wrong IMHO. Not only for the reason you just stated but also because it would break local DNS name resolution (dnsmasq automatically registers clients in its DNS) and might cause problems with lease renewal. I can't think why someone would deliberately misconfigure their network like this.
@ColinTaylor

I could really use your skills in this post


Can you think of away a %2D can be replaced when using

Code:
nvram set acc_num="1"
nvram set acc_list="$(nvram get http_username)>$(nvram get http_passwd)"
nvram set acc_webdavproxy="$(nvram get http_username)>1"
nvram commit
reboot

If the user has a dash in the $(nvram get http_username) value, then this fails because nvram get acc_list substitutes dashes with a %2D . can you think of how this issue can be remedied so that the username properly reflects the dash with a %2D so the above commands will work properly.

edited to represent @ColinTaylor error correction %2D
 
Last edited:
@ColinTaylor

I could really use your skills in this post


Can you think of away a %2 can be replaced when using

Code:
nvram set acc_num="1"
nvram set acc_list="$(nvram get http_username)>$(nvram get http_passwd)"
nvram set acc_webdavproxy="$(nvram get http_username)>1"
nvram commit
reboot

If the user has a dash in the $(nvram get http_username) value, then this fails because nvram get acc_list substitutes dashes with a %2 . can you think of how this issue can be remedied so that the username properly reflects the dash with a %2 so the above commands will work properly.
The dash symbol is actually represented in hex by %2D not %2.

Is this a recurring problem or just a one-off fix?
 
A bit off-topic, but have you ever seen the following messages in the log when using the Adaptive QOS?

No. It would be nice to mention the router model at least.
 
if you adjust the admin name on the administrator page, it creates a reoccurring problem from what i have seen.
The router's disk_share code uses this function to translate non-alphanumeric characters. I can't think of a simple solution to emulating the same translation that doesn't involve writing a similar function into a script. In the long run it's probably better to just stick with a user name that consists of only alphanumeric characters.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top