Hello! Long time OpenWRT user, first time posting (I think!).
Recently I finally upgraded to 23.05 (from 17.xx ) and moved from MWAN to MWAN3. Of course IPV6 works much better now, but I'm having difficulty setting up MWAN3 for consistent results.
2 questions:
-
Can someone help me figure out why MWAN3 doesn't behave properly when my primary interface (easytether) is ID'd as down? First, I added a little script to the "Notify" tab of MWAN3 that restarts the easytether app when the interface goes down. It works fine, but sometimes MWAN3 doesn't recognize that the interface is back up (for whatever reason). In that instance, the network interfaces will show I have an IP address, but MWAN3 shows "disabled"; almost like it never got the ifup notice? I know the interface is buggy, so I'm happy to fallback to my secondary WAN (a data limited hotspot) in this instance. I think I've set that up; but for whatever reason traffic doesn't always behave properly, sometimes creating a very slow connection or none at all. If I unplug the easytether in this situation the traffic picks up perfectly through the hotspot. Is there something wrong in my configuration? (side question, is there a better script for the notify tab to re-start the interface & notify MWAN3 when it's up? The usbreset avoided this "up but down" problem, but didn't always reconnect afterwards, so I commented that part out. Also, the kill-all didn't seem to work either so I use the more complex version). (NOTE: I use httping for EasyTether b/c merely pinging the gateway is insufficient to know if the phone-side app is down, and regular pings don't traverse the interface. Restarting the router-side app seems to fix the odd case where the phone-side app goes down.)
-
Is there a way to "bond" the IPV6 to IPV4? My primary WAN does not have IPV6 (easytether), and I'm not smart enough to setup a 6in4 setup (or similar) to pair up with easytether. My secondary WAN (a hotspot) does have IPV6 and usually works fine (but limited data of course). I've observed that MWAN3 seems to treat IPV4 and IPV6 as separate networks even though it's a single interface. For now I've disabled all IPV6 through the Interfaces page by not allowing them to start at boot. I quickly noticed that my PCs were preferring the IPV6 interface on the WWAN over the IPV4 interface on the EasyTether link if both were enabled.
MWAN3 Notify Script
#!/bin/sh
#
if [ "${ACTION}" = "disconnected" ] && [ "${INTERFACE}" = "EasyTether" ]; then
kill -9 `ps | grep easytether-usb | grep -v grep | cut -d" " -f2`
#killall easytether-usb
#local usbid=$(lsusb | grep -v "1d6b" | awk '{print $6}')
#for id in $usbid; do
# usbreset $id
#done
sleep 5
/usr/bin/easytether-usb
fi
Here's my MWAN3 settings pages (note: will create 3 more posts since I'm limited as a new user):
Lastly, I've been a bit busy to setup SSH again (had a shared key & everything), so just disabled for now. If it's simple enough to fix via LUCI that's my plan.
Thanks in advance!