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 22.214.171.124 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 126.96.36.199 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 188.8.131.52. 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 184.108.40.206 instead of 220.127.116.11 since the latter apparently no longer works, at least from Italy (7 seconds RTT for one week).