I’m having a problem with my mwan3 setup - probably since the 3.11 update but as I didn’t get an upgrade notification I’m not 100% sure.
I have two connections, PPPOE via VDSL Modem and Cable via Provider-Router (UM ConnectBox).
This was working fine for 1+ years, I’ve set up some rules based on source/dest IP, TCP/UDP ports etc.
Now both Interfaces show as offline, and therefore the rules do not work (traffic is using only wan Interface).
I’m not sure if the error message regarding “local” was there before as I usually did my configuration via Luci.
root@turris:~# mwan3 status
/lib/mwan3/mwan3.sh: line 3: local: can only be used in a function
Interface status:
interface wan2 is offline and tracking is down
interface wan is offline and tracking is down
It got to stable roughly 22h ago. I’m not sure how quickly it would notice and perform the update in your case, but you’d probably see in log if it hasn’t restarted yet.
I had an unsolicited restart yesterday, after which I noticed the mwan3 didn’t work anymore.
I did not get any of the emails I usually get though.
I did reboot multiple times yesterday while troubleshooting the mwan issue.
Now it looks like I’m on 3.11, at least there seem to be no pending updates:
root@turris:~# uptime
14:19:01 up 14:13, load average: 0.79, 0.75, 1.03
root@turris:~# cat /etc/turris-version
3.11
root@turris:~# pkgupdate
WARN:Script file:///usr/share/updater/localrepo/localrepo.lua not found, but ignoring its absence as requested
WARN:Requested package luci-i18n-ddns-en that is missing, ignoring as requested.
I see. In upcoming version of Turris OS 3.11.1, I’ve ugraded the mwan3.
Can you please tell me if it works for you once we’d release it to have any feedback about it?
Unfortunately after the upgrade to 3.11.1 it still doesn’t work:
root@turris:~# cat /etc/turris-version
3.11.1
root@turris:~# mwan3 status
Interface status:
interface wan2 is offline and tracking is down
interface wan is offline and tracking is down
I face a similar problem with Turris OS 3.11.1 and mwan3. In addition, there seems to be an error with the mmx_mask option (default value: 0x3F00). Here is the error I get when starting the mwan3 service with the default configuration.
> /etc/init.d/mwan3 restart
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x3d00/0x3F00' to 'fwmark'
ip: invalid argument '0x3e00/0x3F00' to 'fwmark'
ip: invalid argument '0x100/0x3F00' to 'fwmark'
/sbin/hotplug-call: /etc/hotplug.d/iface/15-mwan3: line 481: network_get_metric: not found
103710 WARN : Service section disabled! - TERMINATE
103710 WARN : Service section disabled! - TERMINATE
> mwan3 interfaces
Interface status:
interface wan is error and tracking is active
interface wan6 is unknown and tracking is down
interface wanb is unknown and tracking is down
interface wanb6 is unknown and tracking is down
Was this ever solved as I realized that I just created a topic for the same problem. Would be really great to fix mwan3 finally. Seems it’s broken since a long time and I’m on latest stable
I’m on the nightly and mwan3 is still broken, I had to uninstall it as otherwise after any small interruption of my ISP (nightly modem firmware updates…), the Omnia would stay without WAN connection until a reboot. I would love to see mwan3 supported again by TurrisOS, it’s working well on a vanilla OpenWRT/LEDE.
Would you guys from turris please finally fix mwan3 you have broken. It used to work and is known to work on default Openwrt so turris broke it somehow. It’s also very troublesome that turris seems to just ignore stuff they broke which doesn’t help keeping a turris omnia as a reliable product.
Which post in that thread are you refererring too? My wan connection still shows state ‘error’ even with newest mwan3 which just got installed with some ujpdates. Now the fwmark errors are gone but wan interfacxe is still not working. What config change is needed to make it work?
Mainly the post #19 from fnord Mwan3 after update not working .
I remember I tinkered a bit at first, trying also the modifications from post #20 while keeping my existing config but it only started to work once I started to configure from scratch again.
If I read the thread correctly the modifications described should be provided by updates in the meantime, but it probably doesn’t hurt to take a look at the scripts directly if it still doesn’t work with a new config.