Making Sure You Have an Internet Connection

The fastest way to make sure you have an Internet connection is the ping command, which is on pretty much any device you might want to use that’s connected to the Internet.

ping skilstak.io
PING skilstak.io (142.93.122.177) 56(84) bytes of data.
64 bytes from 142.93.122.177 (142.93.122.177): icmp_seq=1 ttl=54 time=65.3 ms
64 bytes from 142.93.122.177 (142.93.122.177): icmp_seq=2 ttl=54 time=65.9 ms
64 bytes from 142.93.122.177 (142.93.122.177): icmp_seq=3 ttl=54 time=68.6 ms
64 bytes from 142.93.122.177 (142.93.122.177): icmp_seq=4 ttl=54 time=72.8 ms
64 bytes from 142.93.122.177 (142.93.122.177): icmp_seq=5 ttl=54 time=69.9 ms

--- skilstak.io ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 65.354/68.548/72.842/2.745 ms

Look for the time=69.9 ms portions to look for spikes or lag. Anything over 100 ms should be cause for alarm — go figure out what’s wrong.

If it doesn’t work you will see something like this (misspelled).

ping skilstack.io
ping: skilstack.io: Name or service not known

[While writing this I discovered that someone took the https://skillstack.io domain, but they have “blockchain” in their marketing blurb so they clearly aren’t as cool as us.]