[LEDE-DEV] mwan3 not working

Etienne Champetier champetier.etienne at gmail.com
Sat May 13 11:23:52 PDT 2017


Hi Mauro,

2017-05-13 4:51 GMT-07:00 Mauro Mozzarelli <openwrt at ezplanet.net>:
> 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.
>

Sorry I was not precise enough, I just merged this PR
https://github.com/openwrt/packages/pull/4353, I'm not the author nor
the maintainer
Please open an issue here
https://github.com/openwrt/packages/issues/new or here
https://github.com/openwrt/luci/issues/new with all your findings and
ping mwan3 / luci-app-mwan3 maintainers

Regards
Etienne

>
> 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
>
>
>
> On 13/05/17 12:27, Yousong Zhou wrote:
>>
>> On 13 May 2017 at 19:15, Mauro Mozzarelli <openwrt at ezplanet.net> wrote:
>>>
>>> It looks like the problem extends also to other systems and might be
>>> traced
>>> back to the relocation of
>>>
>>> /usr/bin/ip
>>>
>>> to
>>>
>>> /sbin/ip
>>>
>> For your information, fix for mwan3 has just been pushed to packages
>> feed a while ago (https://github.com/openwrt/packages/issues/4325)
>>
>>
>>> Here are more errors related to this issue:
>>>
>>> May 13 12:11:40 volta uhttpd[2297]: sh: /usr/bin/ip: not found
>>> May 13 12:11:45 volta uhttpd[2297]: sh: /usr/bin/ip: not found
>>> May 13 12:11:50 volta uhttpd[2297]: sh: /usr/bin/ip: not found
>>>
>> Previously ip-full, ip-tiny, busybox ip applet all installed to
>> different locations to avoid conflict
>> (https://bugs.lede-project.org/index.php?do=details&task_id=428).
>>
>> Only recently after alternatives support was added to LEDE master, it
>> will be available as a symbolic link from /sbin/ip to /sbin/ip-tiny,
>> /sbin/ip-full, /bin/busybox.  Packages requiring ip utility from
>> iproute2 should make the dependency relationship explicit in the
>> DEPNDS spec.  Checking existence of /usr/bin/ip or /usr/sbin/ip will
>> not work now with LEDE master.
>>
>> Regards,
>>                  yousong
>
>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list