Computing.Net > Forums > Linux > periodically ping isp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

periodically ping isp

Reply to Message Icon

Name: Dan Barnes
Date: February 17, 2003 at 18:11:23 Pacific
OS: Red Hat 7.3
CPU/Ram: Duron 1.2/256
Comment:

I have an isp I need to ping to keep my connection alive. If anybody has a shell script for this or any ideas that would be great.

Thanks
-Dan



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: February 18, 2003 at 02:41:35 Pacific
Reply:

Just create a simple script and put it into
a cronjob, eg:

#!/bin/bash
ping -c 4 isp.hostname

Then dump it in your cron.hourly directory.


0

Response Number 2
Name: Dan Barnes
Date: February 20, 2003 at 01:39:16 Pacific
Reply:

That did the job my friend. Thanks for the help!

-Dan


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: periodically ping isp

i conecct to internet but cant ping www.computing.net/answers/linux/i-conecct-to-internet-but-cant-ping-/10297.html

Another Ping problem!! www.computing.net/answers/linux/another-ping-problem/9421.html

cannot locate ping www.computing.net/answers/linux/cannot-locate-ping/20732.html