Click to See Complete Forum and Search --> : auto ping


Linux
11-27-2000, 01:18 AM
Can I setup my Linux box to ping an IP automatically, like ping, wait 5min and then ping again. This is only way that will enable me to keep my connection alive, otherwise I will not be able to connect to my Linux box through internet.

Iceman
11-27-2000, 02:03 AM
Hi:

Not only possible but easy. Long ago I was on a dialup and did this with a shell script of only a few lines. Had it ping yahoo every 60 seconds. Connection never died. Think I called it "keepalive."

Have fun with bash!

Linux
11-27-2000, 02:12 AM
That is an easy solution, ThanX. I will write a script when I have time, probably use sleep command in it.