Python script for checking internet connection for Linux.