Mwan3 Configuration related problem


I have question regarding mwan3 configuration and error.

Currently, my wan source is wan = ETH1 and wan2 = Cellular. as shown below.

Aim is :- I want to make a policy that


WAN2 = Cellular

If wan1 fail-->switch to cellular

if wan1 recover -> switch to eth1

Problem is :- The overview status of the mwan3 shows the offline, even though the diagnostic test is passed as shown below.

Below is the configuration for your reference.

Please help me to solve this problem.

Am I missing something in configuration?

Correct me if I'm wrong, but looking at the screenshots you posted, I'd say your device is more likely running Turris OS.

Hello @pavelgl

No, it is openwrt os.

Please log into the router via ssh and run the following commands:

ubus call system board; /etc/init.d/log restart; /etc/init.d/mwan3 restart; \
sleep 20; logread -e mwan3; mwan3 status

Post the result using the pre-formatted text button (</>), redacting the public IPs if any.

root@LEDE:~# ubus call system board
        "kernel": "4.4.198",
        "hostname": "LEDE",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "MediaTek MT7621 RFB (SNOR)",
        "board_name": "mt7621-rfb-nor",
        "release": {
                "distribution": "LEDE",
                "version": "17.01-SNAPSHOT",
                "revision": "unknown",
                "codename": "reboot",
                "target": "ramips\/mt7621",
                "description": "LEDE Reboot 17.01-SNAPSHOT unknown"
root@LEDE:~# /etc/init.d/log restart
root@LEDE:~# /etc/init.d/mwan3 restart
-ash: /etc/init.d/mwan3: not found
root@LEDE:~# sleep 20
root@LEDE:~# logread -e mwan3
root@LEDE:~# mwan3 status

This appears to be a vendor-specific build based on an old version of OpenWrt.
Sorry I can't be of more help.