From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id C53D221F1AF for ; Sun, 15 Feb 2015 08:16:37 -0800 (PST) Received: from hms-beagle.home.lan ([217.247.217.70]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LdHqj-1XfCoB2e4P-00iVZh; Sun, 15 Feb 2015 17:16:30 +0100 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Sebastian Moeller In-Reply-To: <54E0AFB2.5040806@gmail.com> Date: Sun, 15 Feb 2015 17:16:28 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <50D74441-06F7-4C4D-A59F-C205979C2253@gmx.de> References: <54E0AFB2.5040806@gmail.com> To: Alan Jenkins X-Mailer: Apple Mail (2.1878.6) X-Provags-ID: V03:K0:it4mmCamTBDglvxB/W7Ne7x0Ar86iUOQWR0U+HfzCdfbXYKmf8w +6x7G3kV3MvhgKx8oq4Dyeng0yBhUMkQZTZVhBMpiAUSedN48ublUHwdhPQLaD66m/GBxO/ fHjwR/bLdzpK4xjLIieIRKeX1I0j/vu9u8YZAIELjFaVLocVLVVYC6s1Z5hYRlNTV27gji6 dMitstuDUQtsb50c1FunA== X-UI-Out-Filterresults: notjunk:1; Cc: luis@bitamins.net, openwrt-devel@lists.openwrt.org, cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] [sqm-scripts] not started at boot? X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 16:17:06 -0000 Hi Alan, On Feb 15, 2015, at 15:39 , Alan Jenkins = wrote: > Hi Toke >=20 > I tried installing sqm-scripts from trunk, on Barrier Breaker on my = wndr3800. >=20 > 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. >=20 > 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. >=20 > Is that useful enough as a bug report? Do you need me to work on a = proper patch? >=20 > 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. =20 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... >=20 > cat < /etc/hotplug.d/iface/10-sqm > #!/bin/sh >=20 > # my sqm isn't being enabled on boot > # cargo-cult this hotplug script from qos-scripts >=20 > [ "$ACTION" =3D ifup ] && /etc/init.d/sqm enabled && = /usr/lib/sqm/run.sh > EOF I will, if you do not mind take this as starting point for a = slightly more selective hot plug script=85 Best Regards Sebastian > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel