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.
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 <open...@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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev