Many times I end using a computer in places with a poor or erratic wifi connection, so while I'm surfing the web, checking my email, or writing a message on Twitter, if something does not work as expected I'm not sure if the problem is my internet connection or a specific web site.
My reaction when this happens is to open the Terminal application in OSX and check with a ping 126.96.36.199 command if everything is working well at least at the basic level, that is, I'm able to reach internet at all?
For all this reasons I spent a few hours creating this small OSX menubar application that continuously pings the 188.8.131.52 address checking if the connection is working, and changing the menubar icon accordingly.
The world icon will change color accordingly to the state of the connection:
- Green if we receive pong packets back from 184.108.40.206. Connection OK.
- Yellow if we receive pong packets, but with a delay that is greater than 300 milliseconds. Connection Slow.
- Red if we don't receive pong packets for three seconds or more. Connetion not working.
The application almost has no user interface at all, if not for a tiny menu used to quit the application or to set it to automatically restart at the next reboot.
What is new in this release:
Ping 220.127.116.11 instead of 18.104.22.168 since the latter apparently no longer works, at least from Italy (7 seconds RTT for one week).