Flint 2 - notification on failover

I have a Flint 2 router, with WAN1 set as my primary internet connection and WAN2 as my backup (using a hotspot connected via Ethernet).

I’ve tested the failover process by disconnecting the WAN1 Ethernet cable, and the router successfully switches to the WAN2 hotspot.

My question is: I want to receive an email alert when this failover happens. I’ve set up a PowerShell script that runs SSH commands on my machine via Windows Task Scheduler, checking every minute. The script checks if WAN1 is UP, and if it’s DOWN, it successfully sends an email alert.

However, I’m wondering how to track the situation when WAN1 is UP, but there’s no internet connection, and the router switches over to WAN2. How can this scenario be detected via SSH commands?

Alright i was able to figure out, by using ping via eth1

Forces ping through WAN1

'ping -I eth1 -c 3 8.8.8.8'

and based the 100% packets lost, i get notification, it is working correctly now. :partying_face: :partying_face:

If anyone wants the power-shell script, let me know. it was a pain to get it working had to use chatgpt's help due to parsing errors. long live the gpt! :smiley: lol

3 Likes