Internet Connectivity Monitor Script
I was assigned to monitor the link status here in the company because we had many problems regarding our new TEData internet line. We couldn’t calculate exactly when the line is down and up, so I wrote a small script to run as a cronjob to create a log for the internet connectivity status.
The script is quite useful and very light, it’ll generate a log about your internet connectivity and will try to detect the reason of the internet connectivity problems.
Note: you’ll need to change the value of the variable GATEWAY_IP to your gateway/router/dsl_modem IP address before running the script. And you don’t have to be root to run this script.
you can download it from this link





Neo said,
November 26, 2007 @ 5:59 pm
3awez a2oloko en el script da bey’7ally el net maye2ta3sh, aslo men sa3et ma ahmed 7atto wel net ma wa2a3etsh
Ayman said,
November 27, 2007 @ 12:19 am
woow , good work ya ahmed basha ka el 3adah wlahe
script fekretoh gamdah awe , be el zat 7kayet el DNS problem , Line problem , Router problem and Unknown problem
ana 2retoh koloh we howa fadne fe 7agat ktear , thnx ya man for sharing
see u soon isa , slam