[OpenWrt-Devel] [Cerowrt-devel] [sqm-scripts] not started at boot?
moeller0 at gmx.de
Sun Feb 15 11:16:28 EST 2015
On Feb 15, 2015, at 15:39 , Alan Jenkins <alan.christopher.jenkins at gmail.com> wrote:
> Hi Toke
> I tried installing sqm-scripts from trunk, on Barrier Breaker on my wndr3800.
> It's very effective, but I notice SQM isn't applied at boot time. The system log complains about pppoe-wan interface not existing, when the sqm init script is started.
> My guess is it'd be the same even if my WNDR was running the base system from trunk. Because the sqm scripts don't have nice integration like the qos scripts package.
> Is that useful enough as a bug report? Do you need me to work on a proper patch?
> qos-scripts has a hotplug script, so I copied it for sqm and the problem is "fixed". Though my stupid script re-runs the sqm as every single network interface comes up, so it spams the log and probably slows things down a bit.
I will see how it looks if the hot plug script decides more intelligently whether to call sqm or not, but I will need a few days due to unrelated deadlines...
> (Maybe sqm script also wants to not be so noisy in the log)
As far as I am concerned SQM is still on probation (in the openwrt repository) and has not seen sufficient testing, so the output is verbose to facilitate debugging of remote issues. I might be wrong though and all is well, and it can be toned down a lot...
> cat <<EOF > /etc/hotplug.d/iface/10-sqm
> # my sqm isn't being enabled on boot
> # cargo-cult this hotplug script from qos-scripts
> [ "$ACTION" = ifup ] && /etc/init.d/sqm enabled && /usr/lib/sqm/run.sh
I will, if you do not mind take this as starting point for a slightly more selective hot plug script…
> Cerowrt-devel mailing list
> Cerowrt-devel at lists.bufferbloat.net
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel