How to ping a pc continuously

E

Express

Hi all

I have win xp pro workstations in my organization. We have VPN tunnels up
between different workstations via the NET.The proble is that the VPN tunnel
goes down and then i need to phone from head office to the specific branche
to first ping the pc where i want to connect from and only then i can
connect:

My question is simple : Is there any utility that i can use to run on those
specific pc's that will ping a specific IP every 30 mins for example. this
will have to keep the VPN tunnel up and then i can connect to them whenever
i want. this will reallly help me if someone knows how to assist me here

Thanks for your time
 
P

Pegasus \(MVP\)

Express said:
Hi all

I have win xp pro workstations in my organization. We have VPN tunnels up
between different workstations via the NET.The proble is that the VPN tunnel
goes down and then i need to phone from head office to the specific branche
to first ping the pc where i want to connect from and only then i can
connect:

My question is simple : Is there any utility that i can use to run on those
specific pc's that will ping a specific IP every 30 mins for example. this
will have to keep the VPN tunnel up and then i can connect to them whenever
i want. this will reallly help me if someone knows how to assist me here

Thanks for your time

See the identical question asked here three days ago under the
Subject line ".bat file for "keep open ping" not working after
WinXPsp2 clean in".
 
E

Express

Hi Pegasus, i'm haven't worked with scripts but you posted the following :

@echo off
:again
ping www.google.com (substitute this obviously with the IP)
ping localhost -n 120 > nul
goto again

Is this the only content that must be in the .bat file. If so, i'll try and
look on the net how to get a .bat file working with these contents. Thanks
 
L

Leythos

no- said:
Hi Pegasus, i'm haven't worked with scripts but you posted the following :

@echo off
:again
ping www.google.com (substitute this obviously with the IP)
ping localhost -n 120 > nul
goto again

Is this the only content that must be in the .bat file. If so, i'll try and
look on the net how to get a .bat file working with these contents. Thanks

Rather than this kludge why not get real VPN devices at the offices?

With a fixed IP on each site, even a cheap Linksys BEFVP41 will maintain
a connection to a branch office without traffic between the two
networks.
 
E

Express

That's the problem.The have broadband internet connections at the sites
which does not have static IP's

craig
 
P

Pegasus \(MVP\)

Yes, that's all. Replace "120" with different numbers to
get the desired delay. And remember to check newsgroups
for similar posts prior to creating a new post.
 
G

George

Express said:
Hi all

I have win xp pro workstations in my organization. We have VPN tunnels up
between different workstations via the NET.The proble is that the VPN
tunnel goes down and then i need to phone from head office to the specific
branche to first ping the pc where i want to connect from and only then i
can connect:

My question is simple : Is there any utility that i can use to run on
those specific pc's that will ping a specific IP every 30 mins for
example. this will have to keep the VPN tunnel up and then i can connect
to them whenever i want. this will reallly help me if someone knows how to
assist me here

Thanks for your time

Maybe you can try this and let us know if this helps as this is known to
kick out VPN connections, helped me!

http://www.tech-archive.net/Archive....windowsxp.help_and_support/2004-04/1157.html

George
 
E

Express

Is the 120 minutes, seconds or.....milliseconds


Pegasus (MVP) said:
Yes, that's all. Replace "120" with different numbers to
get the desired delay. And remember to check newsgroups
for similar posts prior to creating a new post.
 
B

Bob I

The 120 is actually the number of pings to perform. "ping" will repeat
about once per second. So the delay in seconds (approximatly) works out
to be the number of pings minus one.
 
E

Express

Pegasus, as i told you, i never worked with .bat files of any kind so for me
to run a test i must first go look up how .bat files works, then compile it
and only then get results. not even to mention the fact that it is not
garranteed to work the first time.

So i thought posting it would give me a faster answer and guess what - it
did.Thanks for helping me anyway
 
E

Express

Good explanation Bob, thanks

Bob I said:
The 120 is actually the number of pings to perform. "ping" will repeat
about once per second. So the delay in seconds (approximatly) works out to
be the number of pings minus one.
 
P

Pegasus \(MVP\)

After you resolve your ping issues, fixing up the batch
file will be easy. Just repost and we'll take it from there.
 
T

Tecknomage

See the identical question asked here three days ago under the
Subject line ".bat file for "keep open ping" not working after
WinXPsp2 clean in".

Google "ping keep alive" or check Tucows. There are Keep Alive
unities that will do exactly what "Express" wants. Norton SystemWorks
come with such an "extras" utility.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top