Automatic recovery of network connections

My network setup is as follows:

LAN --> OpenWRT 19.07.6 (WRT3200ACM) --> Huawei LTE modem --> 4G Internet

There was a thunderstorm last night and the LTE modem crashed and rebooted. It worked totally fine and normally after the reboot. Unfortunately OpenWRT did not recover. The network was down all night and I needed to manually restart the WAN interfaces from OpenWRT. Now it works fine after the manual restarts of interfaces.

How can I make the OpenWRT network interfaces to recover automatically after WAN connection drops?

2 Likes