On 12/22/18 10:00 PM, john doe wrote:
On 12/22/2018 9:15 PM, David Christensen wrote:
On 12/22/18 7:16 AM, 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.
I suggest:
1. Test and verify your network cables:
https://www.idealnetworks.net/us/en/products/cable-testing/copper-testing/cable-verifiers-linkmaster.aspx
2. Buy and read "Networking for System Administrators" by Lucas:
https://mwl.io/nonfiction/networking#n4sa
3. Write a shell script that invokes some standard utility (ping(8),
wget(1), etc.), appends a timestamp and the utility output to a log
file, sleeps for 60 seconds, and then repeats. >
Along with redirecting the output to a file, the logger(1) utility can
also be used (1) to make entry in the system log.
http://man7.org/linux/man-pages/man1/logger.1.html
Yes -- that would be a possible follow-on exercise to #3. Also see
rsyslog(8) and rsyslog.conf(5).
David