Trying to check if my provider's modem hangs ....
Posted: Mon Aug 22, 2016 8:19 pm
Sometimes, my modem hangs, and I loose Internet connection. Only turning it off and on again makes the connection start.
I'm writing a small program to put in my ESP8266 to check if the modem hangs, trying to get access to some site, or service, or anything else that can be checked. Then my ESP8266 will turn off the modem, and turn on again to correct the situation.
First, I try to use the ThinkSpeak, but when my modem is hanged the program waits forever for the answer ..... this obviously don't works well.
Someone can give me some idea ?
Something that returns information that I can test to know if I have Internet connection or not...
I'm using 3.0 Branch.
Thanks a lot !
Paulo
I'm writing a small program to put in my ESP8266 to check if the modem hangs, trying to get access to some site, or service, or anything else that can be checked. Then my ESP8266 will turn off the modem, and turn on again to correct the situation.
First, I try to use the ThinkSpeak, but when my modem is hanged the program waits forever for the answer ..... this obviously don't works well.
Someone can give me some idea ?
Something that returns information that I can test to know if I have Internet connection or not...
I'm using 3.0 Branch.
Thanks a lot !
Paulo