Results 1 to 3 of 3

Thread: ping unreachable timings

  1. #1
    Join Date
    Nov 2009
    Beans
    4

    ping unreachable timings

    Hi,

    when i ping for any ip adress say 192.168.1.59 if the host is reachable it pings for every 1 second. if the device/host(192.168.1.59) stops functioning ...it should give "destination host unreachable" .....(it gives) but i want it to be displayed immediately as soon as the connection to the host is lost..
    The ping results are not displayed for about 80 to 90 pings (depends) and after that for once in 3 seconds it says "destination host unreachable".......i want the message to be displayed immediately.

    How to do this ?
    any settings in any file or anything ?

    Thanks
    -john

  2. #2
    Join Date
    Oct 2006
    Location
    Tucson, AZ
    Beans
    1,420
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: ping unreachable timings

    Quote Originally Posted by JohnPinto View Post
    Hi,

    when i ping for any ip adress say 192.168.1.59 if the host is reachable it pings for every 1 second. if the device/host(192.168.1.59) stops functioning ...it should give "destination host unreachable" .....(it gives) but i want it to be displayed immediately as soon as the connection to the host is lost..
    The ping results are not displayed for about 80 to 90 pings (depends) and after that for once in 3 seconds it says "destination host unreachable".......i want the message to be displayed immediately.

    How to do this ?
    any settings in any file or anything ?

    Thanks
    -john
    You can use the "-W" option to shorten the timeout.
    Code:
    ping -W 1 192.168.0.200
    Note: "man ping" in a terminal window for a list of all of ping's options.

    Lloyd B.
    Don't tell me to get a life.
    I had one once.
    It sucked.

  3. #3
    Join Date
    Nov 2009
    Beans
    4

    Re: ping unreachable timings

    No doesn't work...its same..

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •