How to ping some sites all time?

By sritce
Mar 3, 2009
  1. Hi I need to keep my internet active all time..else it get i need some software or some script which ping some sites all time automatically...thanks in advance...
  2. gguerra

    gguerra TS Guru Posts: 319

  3. jobeard

    jobeard TS Ambassador Posts: 11,128   +982

    easy; Two solutions
    1. ping your ISP Gateway
    2. or better (imo), ping the ISP DNS address
    navigate to your %profile%
    on XP: \Documents and Settings\LoginID\
    on Vista: \Users\LoginID\​
    get notpad running
    add one line to the file
    ping -t address
    your DNS is easily found with ipconfig /all

    your gateway address depends upon if you have a router
    without a router, it's shown in the IPCONFIG above

    with a router, login to the admin page
    find the WAN side page
    the gateway will be seen there​
    Save the notepad file as
    pingGateway.bat or pingDNS.bat (depending upon the address you inserted)

    when you need to run the ping use run->.\pingDNS.bat and minimize the window.
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...