I have intermitent problems with USB modem and router. Likely, router is not hanged but only USB modem gets confused (for the lack of a better term). In one incident, modem had live Internet link (but OpenVPN would not work over it) and in second instance, I beleive the modem link was dead. Router is not local and nobody can check it if modem link goes down. After a reboot, all is perfect again.
So, my best bet for a start, is to have several different sanity checks croned, and hope I could find symptom and use it to reboot a router. I have just connected there and placed at init-start few common timestamped checks to be piped into a file, and repeated at every 4 hours.
If anybody has any proposal, I am open.
Is there anything I could ask my OpenVPN server to check if it works? Or something to querry my USB 3G modem? Asuswrt-Merlin RT-AC56U_380.59_0
So, my best bet for a start, is to have several different sanity checks croned, and hope I could find symptom and use it to reboot a router. I have just connected there and placed at init-start few common timestamped checks to be piped into a file, and repeated at every 4 hours.
Code:
ip route get 8.8.8.8 | awk 'NR==1 '
curl -s http://icanhazip.com
ping -c1 8.8.8.8 | grep "packets received"
If anybody has any proposal, I am open.
Is there anything I could ask my OpenVPN server to check if it works? Or something to querry my USB 3G modem? Asuswrt-Merlin RT-AC56U_380.59_0