[LEDE-DEV] mwan3 not working

Yousong Zhou yszhou4tech at gmail.com
Sat May 13 05:05:08 PDT 2017


On 13 May 2017 at 19:51, Mauro Mozzarelli <openwrt at ezplanet.net> wrote:
> Thanks Yousong, Merci Etienne,
>
>
> I updated and rebuilt with the fix r4117 and I already communicated to
> Etienne that this fixes MWAN Interface Systemlog (this now shows), but both
> my interfaces remain marked as offline and red, when they are in fact up and
> connected.
>
> Backing to r4041 (which is the last I had built and saved previously)
> resolves the issue for the time being
>
> I have seen in the issue log that Etienne pointed me to that he updated the
> "ip" command path.
>
> There are other errors being logged by uhttpd due to missing /usr/bin/ip.
>
> When I create a symbolic link:
>
>  /usr/bin/ip -> /sbin/ip-tiny
>
> The mwan3 problem seems to go away so there must be something else looking
> for /usr/bin/ip that Etienne might have missed.
>

That's probably caused by luci-app-mwan3.  Greping through
/usr/lib/lua and you will find it.

>
> I wonder if other packages will have the same issue as it is common practice
> to hardcode binaries' full path in scripts rather than setting the PATH
> variable.
>
>
> Mauro

It's probably common but it's also something very likely to fail in
ways like this.  What's in the wide wild is unknown and can be
intriguing.

                yousong



More information about the Lede-dev mailing list