PC Review


Reply
Thread Tools Rate Thread

How do i keep a ping command every 10/20 seconds

 
 
MSExchange2003Student
Guest
Posts: n/a
 
      11th Jun 2007
Hi all

I ahve VPN tunnels between 2 pc's on my network that goed over the internet.
My concern is that the VPN tunnel goes down and then a ping is required from
the client (not in my building) - Is there any utility that i can use that
will ping the server every 10/20 seconds to keep the tunnel up - Please help
urgentlu


 
Reply With Quote
 
 
 
 
Joe Church
Guest
Posts: n/a
 
      11th Jun 2007
Any free ping utility would do, check on google for "free ping" which will
work, or you could even just do a manual ping from the command prompt and do
a -t at the end which makes it a persistent ping. You would have to close
the cmd prompt window to stop the ping.

for exmaple: ping servername -t

Hope tha thelps.


"MSExchange2003Student" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> Hi all
>
> I ahve VPN tunnels between 2 pc's on my network that goed over the
> internet. My concern is that the VPN tunnel goes down and then a ping is
> required from the client (not in my building) - Is there any utility that
> i can use that will ping the server every 10/20 seconds to keep the tunnel
> up - Please help urgentlu
>



 
Reply With Quote
 
Pegasus
Guest
Posts: n/a
 
      11th Jun 2007

"MSExchange2003Student" <(E-Mail Removed)> wrote in message
news:%23%(E-Mail Removed)...
> Hi all
>
> I ahve VPN tunnels between 2 pc's on my network that goed over the
> internet. My concern is that the VPN tunnel goes down and then a ping is
> required from the client (not in my building) - Is there any utility that
> i can use that will ping the server every 10/20 seconds to keep the tunnel
> up - Please help urgentlu
>


Try this:
@echo off
:again
ping OtherPC -n 1
ping localhost -n 20 > nul
goto again

BTW, what's so urgent about your question?


 
Reply With Quote
 
MSExchange2003Student
Guest
Posts: n/a
 
      12th Jun 2007

"Pegasus" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "MSExchange2003Student" <(E-Mail Removed)> wrote in message
> news:%23%(E-Mail Removed)...
>> Hi all
>>
>> I ahve VPN tunnels between 2 pc's on my network that goed over the
>> internet. My concern is that the VPN tunnel goes down and then a ping is
>> required from the client (not in my building) - Is there any utility that
>> i can use that will ping the server every 10/20 seconds to keep the
>> tunnel up - Please help urgentlu
>>

>
> Try this:
> @echo off
> :again
> ping OtherPC -n 1
> ping localhost -n 20 > nul
> goto again

What the heck is this - is it contents that must be in a script file?
>
> BTW, what's so urgent about your question?

I have something to implement over the Net but the VPN tunnels that goes
down is hindering the process, so i need something to keep the VPN tunnels
up and i have notice if i do a simple ping from the client to the server it
brings the VPN tunnel back up.
>
>



 
Reply With Quote
 
Pegasus
Guest
Posts: n/a
 
      12th Jun 2007

"MSExchange2003Student" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "Pegasus" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>
>> "MSExchange2003Student" <(E-Mail Removed)> wrote in message
>> news:%23%(E-Mail Removed)...
>>> Hi all
>>>
>>> I ahve VPN tunnels between 2 pc's on my network that goed over the
>>> internet. My concern is that the VPN tunnel goes down and then a ping is
>>> required from the client (not in my building) - Is there any utility
>>> that i can use that will ping the server every 10/20 seconds to keep the
>>> tunnel up - Please help urgentlu
>>>

>>
>> Try this:
>> @echo off
>> :again
>> ping OtherPC -n 1
>> ping localhost -n 20 > nul
>> goto again

> What the heck is this - is it contents that must be in a script file?


It's a simple, humble batch file.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Pro ping problem after a few seconds Godzilla Windows XP Networking 1 30th Jan 2007 07:20 AM
Command Prompt - Ping command Fitz Windows XP Help 0 11th May 2004 04:59 PM
Cannot ping after a few seconds Mark Taylor Windows XP Networking 2 4th Apr 2004 04:18 AM
Command Line "pause for n seconds" Command Jay Somerset Microsoft Windows 2000 7 3rd Feb 2004 02:26 PM
XP Command prompt diseappear after less than 5 seconds Tuxy28 Windows XP General 1 2nd Feb 2004 06:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:22 AM.