How to monitor Internet connection?

Ashley Benton chuaukantli at gmail.com
Mon Apr 13 16:52:36 UTC 2009


On Mon, Apr 13, 2009 at 12:46 PM, Hal Burgiss <hal at burgiss.net> wrote:

> On Mon, Apr 13, 2009 at 12:35 PM, Ashley Benton <chuaukantli at gmail.com>
> wrote:
>
> >>
> >> Thanks, but I am more thinking to a program or script that I could use
> >> from the server or other computer in my house.
> >
> > I will check it out to learn more about it.
>
>
> Run 'crontab -e' and use this:
>
>   * * * * *  ! ping -c1 -w1 209.85.171.100 > /dev/null && beep
>
> See if you have the beep command installed. Optionally use something
> like 'play' and get a wav file of a sound you like. I don't know if
> beep will play through the environmental hurdles of cron or not
> (didn't try). The IP address I choose is one of googles.
>
> This could easily be elaborated on (and should, but this is the guts of
> it).
> --
>

Thanks, I will try and play with it until I get it to do exactly what I
want.

Sincerely

Meg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090413/4fe3b485/attachment.html>


More information about the ubuntu-users mailing list