On Saturday, December 22, 2018 10:16:58 AM EST Jude DaShiell wrote:
> Has Linux got tools that can run while a computer runs that can poll
> several sites and log internet outages? I figure a minute down time is a
> failure and have experienced several of these where my wifi connection had
> to be deactivated and reactivated to have the internet connection
> restored. This is a new wifi router too. The log would be sent into
> comcast along with payment requesting credits for the down times.
From your description of the problem, it sounds like it is the router that is not doing its job properly. Before you send your request for credit, make sure that it is a Comcast problem.
But, if you want to jost test when the net is down:
Here is a script that you can run from a cron job which will log Internet status and store the results into a file in your home folder called net-test.txt:
date >> ~/net-test.txt
ping -c 1 google.com >> ~/net-test.txt
#end of file