I've been running a script by @dlakelan for a couple weeks now and it was working great until recently. About a week ago the script will work for a few minutes after running it then will stop and as of now it doesn't even do anything. Using the sqm luci app works so I'm not sure why the script doesn't work. @dlakelan saids it might be some sort of hotplug that keeps reverting my firewall but he's not sure, so any help on fixing this will be appreciated. I've tried reseting my router a couple times and got no success with that.
Yes the observed behavior is that immediately after running the script the qdisc and firewall tagging works fine. But some time later a firewall dump doesn't show the dscptag chain anymore and the whole thing goes out of control.
What mechanisms might be reloading the firewall and/or resetting the qdiscs? I'm not sure.
For me, only like the lan portion of sqm doesnt work, veth gives me shape sometimes, sometimes it just stops working... i restarted my router like 5-6 times checked on dscp script... nothing helped...
Then i checked tc -s qdisc... seemed veth0 had no queing shown in it...
But i had it set up...
Then i changed the interface in sqm to br-lan, applied it then change it back to veth0... now it works... idk which bug it is...
Mmmh, possibly uci -q get network does not really know about veth interfaces? The fix was introduced to deal with users instantiating SQM on br-lan or participating interfaces.
But maybe we are not trying the right approach for your issue here. I would think we might be faster if you install WinSCP (https://winscp.net/download/WinSCP-5.17.10-Portable.zip ), run it
point it to your router's IP address (likeky 192.168.0.1) login as root and navigate to /etc/hotplug.d/iface seect 11-sqm, right-click and select edit. You should see:
Wlan i assume is wifi and if so it makes sense to not get A+... so if you get A+ connected to the router with an ethernet which i assume is what you mean by lab then everything’s fine if you’re getting A+.
Basically stick with what works and don’t stress yourself out.