Errors in mwan3 status

When executing the command mwan3 status, these errors appear:

root@OpenWrt:~# mwan3 status
Interface status:
Command failed: Not found
Failed to parse message data
WARNING: Variable 'interfaces' does not exist or is not an array/object
WARNING: Variable 'wan' does not exist or is not an array/object
/usr/sbin/mwan3: eval: line 1069: arithmetic syntax error
/usr/sbin/mwan3: eval: line 1070: arithmetic syntax error
 interface wan is online , uptime  and tracking is active
Command failed: Not found
Failed to parse message data
WARNING: Variable 'interfaces' does not exist or is not an array/object
WARNING: Variable 'wan2' does not exist or is not an array/object
/usr/sbin/mwan3: eval: line 1069: arithmetic syntax error
/usr/sbin/mwan3: eval: line 1070: arithmetic syntax error
 interface wan2 is online , uptime  and tracking is active
Command failed: Not found
Failed to parse message data
WARNING: Variable 'interfaces' does not exist or is not an array/object
WARNING: Variable 'wan3' does not exist or is not an array/object
/usr/sbin/mwan3: eval: line 1069: arithmetic syntax error
/usr/sbin/mwan3: eval: line 1070: arithmetic syntax error
 interface wan3 is online , uptime  and tracking is active
 interface wan3g is offline and tracking is down

Please help solve the problem.

I can only confirm this issue. My suspicion: Incomplete disabling of IPv6. Cause I have a custom build, without IPv6.
You might consider to re-open this issue in the developer section of the forum.

ubus mwan3 calls are not registered:

ubus call mwan3 status '{ "section": "network", "interface": "wan" }'
Command failed: Not found

Problem no longer exists after installing install luci-app-mwan3 - looks like this package adds mwan3 ubus functionality.

This was caused by a missing dependency on rpcd that @reinerotto identified (https://github.com/openwrt/packages/issues/13896).

P/R pending to remove said dependency:

2 Likes