Is it possible to connect to the 2 Wireless ISP as internet source for multiple wan setup? I tried to configure but only 1 interface will work…
I’m pretty sure that this is generally possible, but you must have at least two radios in your device. Each radio will attach to one WISP. In many devices, that means that you’d use the 2.4G radio for one ISP and the 5G radio for the other.
You’ll also need to couple that with mwan3.
Keep in mind that using a STA mode uplink may cause you problems if you are also relying on the device to provide AP mode operation, too. Specifically, if you have 2 radio device and you setup both of them to be STA mode, the AP mode will only start after each respective radio has established its STA mode connection. You can use the travelmate package to mitigate that particular issue – it will gracefully handle the situation if either or both of the upstream APs are not available or the connection fails for any reason.
On top of that, multiple concurrent WAN uplinks with an intent of load-balancing (other than fallback configurations) is usually a huge pain, there are many pitfalls and it never works ‘well’ (this also applies to commercial implementations), unless you have some remote service (offered by your ISP or your own appropriately configured v-server) that can stitch both connections together into a single uplink (it’s complicated, and/or expensive).
gotcha i find a way but only failover using uci in cron scheduler
WISP-2 WIFI 2 Disable at 12:00 AM
0 0 * * * uci set wireless.wifinet2.disabled='1'
WISP-1 WIFI 1 Enable at 12:00 AM
0 0 * * * uci set wireless.wifinet1.disabled='0'
1 0 * * * uci commit
2 0 * * * wifi reload
#____________________________________________
WISP-1 WIFI 1 Disable at 12:00 PM
0 12 * * * uci set wireless.wifinet1.disabled='1'
WISP-2 WIFI 2 Enable at 12:00 PM
0 12 * * * uci set wireless.wifinet2.disabled='0'
1 12 * * * uci commit
2 12 * * * wifi reload
Using a cron job to change the connection is not "failover" in any proper sense of the word.... it's just switching one for the other.
mwan3 will give you actual failover (and/or aggregation/load balancing) if both upstream networks are connected simultaneously.
i try to enable both wireless interface but only phy0-sta0 is working the other one is never associated with the dhcp so i got a basic idea to use uci on cron
ok.... as long as it achieves your goals.