It’s getting stuck after service restarts where it does wan event and send email. Do you have Alerts configured and did you delete your wan-event script?
This is wan-event. I did setup alerts. Ill try disabling those.
#!/bin/bash
sh /jffs/scripts/wan-failover.sh cron # Wan-Failover
EDIT: I was just messing with this again, did a stupid user error made the wantargets the same, thinking its just pinging to verify connection. But it makes the static route.. duh. Took me a few to figure out what the hell i did. But after some thought I think i need to figure out a different way of testing.
When starlink boots up, and gives the router a ip, then after it connects to a satellite dhcp sends out another ip... How ive been testing is rebooting the starlink router, that might be screwing this up. I mentioned last saturday it had switched many times fine during some storms.. That was just lack
of signal/internet, not rebooting the router.
jsut did ip link set dev eth0 down... wait until it switches.. ip link set dev eth0 up.. Switches back.....
Additional edit: so after doing this many times, it worked flawless. So that screwup in my testing was probably all of that issue. But the script does fix the hot-standby.
So on my end, Just doing a warm reboot of starlink takes about 1-2mins, but a cold reboot like a power outage can take up to 15mins.. So I need to make wan-failover.sh wait awhile on router boot to start.