[FS#271] MWAN3 doesn't support correctly WAN based on OpenVPN tun

LEDE Bugs lede-bugs at lists.infradead.org
Sun Nov 6 13:27:01 PST 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - Tommaso Ercole (eTomm) 

Attached to Project - LEDE Project
Summary - MWAN3 doesn't support correctly WAN based on OpenVPN tun
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - MWAN3 is not able to recognize when a OpenVPN based "wan interface" is online or not. This is due to the fact that lib/functions/network.sh network_get_gateway uses ubus to collect the gateway information and in case of openvpn ubus return a perfectly emtpy result. I modified the network_get_gateway function to use ip addr grep and awk and it began to work.

This is not the case with CC 15.05 that was having a really more simple hotplug script for mwan3.

All the tests are being done on LEDE trunk on a Linksys EA8500. Before, in OpenWRT CC 15.05 on a Archer C7 everything was working correctly.



More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=271



More information about the lede-bugs mailing list