Quick ping and telnet tests
PING (does not equal internet connectivity)
ping 1.1.1.1 (cloudflare’s dns) –> Should return something like
Reply from 1.1.1.1: bytes=32 time=34ms TTL=55
ping 8.8.8.8 (google’s dns)
Telnet (over port 80 = equals internet connectivity) or CURL over http
telnet yahoo.ca 80 -->> Should return 'Connected' curl http://www.google.com --> Should return the html content
telnet checkip.dyndns.org 80
–> Should return ‘connected’
Additionally, type
GET / HTTP/1.1
HOST: checkip.dyndns.org --> Should return the html content shown below
HTTP/1.1 200 OK Content-Type: text/html Server: DynDNS-CheckIP/1.0 Connection: close Cache-Control: no-cache Pragma: no-cache Content-Length: 106 <html><head><title>Current IP Check</title></head><body>Current IP Address: X.X.X.X</body></html>
Port 443 Test
wget –no-check-certificate https://
curl -c https:// (-c to ignore expired ssl certificate warnings)
Install Ping (uses ICMP) and Traceroute (uses UDP or ICMP) on Ubuntu
sudo apt install iputils-ping which ping
/usr/bin/ping $ ping -c 1 linuxconfig.org
sudo apt-get install traceroute
$ traceroute linuxconfig.org
$ traceroute -I ICMP example.com
Leave a Reply