A tool commonly used to test the reachability of a given host, either on the internet or in a local network.

learn more… | top users | synonyms

1
vote
2answers
2k views

Why doesn't “ping -l” works when ping works?

Bye all, ping AddressIp 64 bytes from indirizzoIp: icmp_req=1 ttl=42 time=149 ms while if ping AddressIp -l 1400 ping: cannot set preload to value > 3 ping AddressIp -t -l 1400 ping: can't ...
1
vote
2answers
3k views

What is the difference between ping -w and ping -W?

What is the -w (deadline) flag in ping for? I cannot find a description of it in the ping man page; only for -W, which takes seconds as a parameter. What is the difference between them, and how can I ...
1
vote
1answer
381 views

Command-line way of send pinging

I have lots of Drupal powered website. Each of the website has Multiping module to pinging ping server. Is there any way of send pinging through command-line? I hope I can build dedicated server for ...
1
vote
2answers
107 views

What could cause a ping request to return inconsistently timed results

Here is a sample run: 64 bytes from 192.168.1.9: icmp_seq=27 ttl=64 time=8852.917 ms 64 bytes from 192.168.1.9: icmp_seq=28 ttl=64 time=7918.074 ms 64 bytes from 192.168.1.9: icmp_seq=29 ttl=64 ...
1
vote
2answers
10k views

How to check whether certain port is opened or block on any other servers from a dev box?

I am trying to connect to one of our staging Cassandra servers on port 9042 and 9160 here in our company from a dev box.. Through the code, I am not able to connect to it... The program gets hanged at ...
1
vote
1answer
169 views

Ping from Outside: How do I make my system invisible?

I just did a test that told me my gateway (debian squeeze) responds when being pinged from outside. It's a box with two network cards, eth0 is for my internal network (192.168.1.0/24) and eth1 goes ...
1
vote
2answers
270 views

How to make dns resolve faster

I changed name server of one domain. Then I flush dns root@host [~]# /etc/init.d/named restart Stopping named: [ OK ] Starting named: ...
1
vote
2answers
333 views

need portable crontab host-checking/failover logic across Linux & Cygwin

A host-ping test that always works correctly from the interactive bash command line in Cygwin, is behaving incorrectly in its own crontab--always selecting the second host--and I can't figure out why: ...
1
vote
0answers
14 views

Which Privileges Should Assign For Create Raw Sockets

I want to run an ICMP command to ping an IP Adress at Java: InetAddress.getByAddress("XXX.XXX.XXX.XXX".getBytes()).isReachable(1000); However there is a security restriction that: Normal users are ...
1
vote
0answers
46 views

openconnect - I can ping a website but can't wget or access by browser

I need to access the VPN of my university. On their website they provide the following solution: install openconnect install vpnc login to vpn via: # openconnect --script /etc/vpnc/vpnc-script ...
1
vote
2answers
388 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
1
vote
1answer
771 views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
1
vote
0answers
102 views

High ping/latency on Xen box

I am having problems with my Xen box. Once in a while it has too high ping/latency and it is very annoying. It does not matter if I am pinging server from outer network (LAN0) or inner network ...
0
votes
1answer
61 views

IP access okay but ping doesn't work

I have a laptop connected to a Wi-Fi, and let's say I am testing the connection to a website ("randomwebsite.com", IP:123.123.123.123) Through a terminal I have tested ping: ...
0
votes
1answer
148 views

Why can I ping google.com but not www.google.com [closed]

I can $ping google.com and get data back PING google.com (74.125.227.96): 56 data bytes 64 bytes from 74.125.227.96: icmp_seq=0 ttl=56 time=26.939 ms 64 bytes from 74.125.227.96: icmp_seq=1 ttl=56 ...
0
votes
2answers
6k views

How do I access files on an external hard drive?

edited 02-25: I thank @Anthon for his replies. I still do not, however, understand the meaning or the how of "pinging" ("Once you update your Q, ping the commenters..."). I also do not understand the ...
0
votes
1answer
162 views

Ping a list of IP addresses and outputing duplicates

In Linux how can I ping a list of IP addresses (in a text file) and only output those that have duplicate ping replies?
0
votes
1answer
27 views

How can you get ping to print human readable timestamps?

Ping can print you a timestamp on every line but its in unix date format :( ping -D localhost PING localhost.localdomain (127.0.0.1) 56(84) bytes of data. [1415629479.482938] 64 bytes from ...
0
votes
1answer
116 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
0
votes
2answers
334 views

I require some help with traceping

Does anyone have an idea what Traceping is and where I can find good info about it? Googled for it but could not find some. Is there anywhere I could find out how to use traceping on Ubuntu? I tried ...
0
votes
1answer
193 views

Why ping an IP is different to ping a website?

I've noticed a strange behaviour (at least, I can't get out). Ping IP, specifying packet size: ping -s 128 8.8.8.8 I get: PING 8.8.8.8 (8.8.8.8) 128(156) bytes of data. 72 bytes from 8.8.8.8: ...
0
votes
1answer
2k views

Continues Pinging to background, save logs and show statistics

I'm trying to make a script that save the ping logs to .txt or .log file. To monitor if my connection is intermittent or not, I'm using this script: $nohup ping 8.8.8.8 > timeout.txt & Then ...
0
votes
1answer
260 views

ping timeout differences between OS X and Linux/other OSs

This function I wrote should exemplify the idiosyncrasy between OSX and Linux ping commands, in particular their -W timeout option: # Checks if a host is up-and-running and responding to pings ...
0
votes
1answer
14 views

Force ping to write before interrupt

I am trying to get ping to continuously write some times to a file. When I run $ ping 10 10.1.10.28 | perl -ne '/time=(\d+\.\d+)/ && print "$1\n"' It returns one number every several ...
0
votes
1answer
67 views

Unix shell script for server alerts

Below is my shell script which is written in another x to find the health of server y. ( I have not written in server y because there is no functionality of getting mails) #!/bin/bash ...
0
votes
1answer
117 views

Route a local connection via an ethernet link in QNX

I am currently facing a challenge in QNX, where I have 2 Network Interfaces - viz. one Network port from PCIe Ethernet Expansion card (wm0) and other from the normal Ethernet port (en0). I have ...
0
votes
1answer
43 views

Received DUP when using ping. What should I do?

I was pinging Google last night and one of them came back as DUP(!). I did some reading and I found this in the man pages on ping(8): Damaged packets are obviously serious cause for alarm and ...
0
votes
0answers
30 views

No answer on Broadcastping

Actually I'm making an android app, but as the problem appears by using android's Linux runtime, I'm asking my question here. The thing is, that I need to ping the network's broadcast address to ...
0
votes
0answers
59 views

Ping wireless interface from wired interface

I'm performing some wireless measurements. The setup I'm now using is composed of a WiFi AP and two laptops. One laptop (A) and the AP are connected to a common switch, while the second laptop (B) ...
0
votes
2answers
176 views

Unable to ping the IP during first boot

I am trying to add some routes in /etc/init.d/S98 script but it is failing to ping the gateway IP and hence route addition is failing. But once all the S98 scripts are executed I am able to ping the ...
0
votes
0answers
263 views

unable to ping gateway and CLAN in Linux but pingable in Windows PC

We're installing RHEL 5.5 for our Voice Portal (Avaya). After configuring the IP address, gateway IP, and netmask we tried to ping it so we could see if it was pingable/active or not. Sadly its ...
0
votes
0answers
134 views

Send update ping to ping services in Terminal?

I want to send ping from http://www.mysite.com/rss.xml to http://rpc.pingomatic.com Is there any way using terminal to achieve this?
0
votes
0answers
292 views

Host reachable via SSH from my desktop but not my laptop

I try to use ssh to log in to a remote host. This works for my Ubuntu desktop, however, it fails from my Fedora 14 laptop. The failure means after I type ssh username@host and pressed Enter, ...
-1
votes
1answer
941 views

Bash Ping to return 'alive' IP addresses

(Disclaimer- I know this can be done more easily with nmap, but its supposed to be practice for bash shell scripting). $ scriptname 192.168.42 18 23 Checking: 192.168.42.18 19 20 21 22 23 Live ...
-2
votes
1answer
343 views

Why doesn't “ping -vrf” works when ping works?

0:root@SERVER:/root # ping IPADDRESS PING IPADDRESS (IPADDRESS): 56 data bytes 64 bytes from IPADDRESS: icmp_seq=0 ttl=254 time=0 ms 64 bytes from IPADDRESS: icmp_seq=1 ttl=254 time=0 ms 64 bytes from ...
-2
votes
2answers
3k views

Loop over multiple addresses: ping and drop data into file

I would like to be able to have a script that will: look at a list of IP addresses Ping one of the addresses Take the data and drop it in to a file Move on to the next IP So far I have: cd ...