I want to configure openwrt in a way that I want to have failover connection via WIFI (working as client) when there is no cable attached to WAN port (or internet is not available).
As for now I have:
Laptop is connected to router
Router is connected to WiFi network as a client. Laptop has access to internet using wifi network external IP
Router WAN is then connected to another router's (router 2) LAN. Laptop has access to internet using router 2 network external IP
Router WAN is disconnected. Laptop has no access to internet.
To fix 4 I need to restart the router.
What might be the issue for not switching to WiFi network?
I need the following to work:
Primary connection WAN.
In case of WAN being down use WiFi Client Network
WAN is back use it again.