Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] [sqm-scripts] not started at boot?
@ 2015-02-15 14:39 Alan Jenkins
  2015-02-15 15:00 ` Toke Høiland-Jørgensen
  2015-02-15 16:16 ` Sebastian Moeller
  0 siblings, 2 replies; 16+ messages in thread
From: Alan Jenkins @ 2015-02-15 14:39 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: openwrt-devel, luis, cerowrt-devel

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.  (Maybe sqm script also wants to not be so noisy in 
the log)

cat <<EOF > /etc/hotplug.d/iface/10-sqm
#!/bin/sh

# 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
EOF

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-03-03 22:46 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15 14:39 [Cerowrt-devel] [sqm-scripts] not started at boot? Alan Jenkins
2015-02-15 15:00 ` Toke Høiland-Jørgensen
2015-02-15 15:48   ` Sebastian Moeller
2015-02-15 15:56     ` Toke Høiland-Jørgensen
2015-02-15 16:12       ` Sebastian Moeller
2015-02-15 16:18         ` Toke Høiland-Jørgensen
2015-02-16 23:23           ` Sebastian Moeller
2015-02-15 16:33       ` Alan Jenkins
2015-02-16  9:05         ` Sebastian Moeller
2015-03-03 17:06         ` Sebastian Moeller
2015-03-03 21:23           ` Alan Jenkins
2015-03-03 21:27             ` Toke Høiland-Jørgensen
2015-03-03 21:35             ` Sebastian Moeller
2015-03-03 22:39               ` Alan Jenkins
2015-03-03 22:46                 ` Sebastian Moeller
2015-02-15 16:16 ` Sebastian Moeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox