ping is a command line tool/network utility often used to troubleshoot connectivity and network latency issues. PING is an acronym for Packet INternet Groper. Questions about the ping command should use this tag.

learn more… | top users | synonyms

39
votes
4answers
8k views

I can not ping microsoft.com but can open it using browser

I can not ping microsoft.com but can open it through Firefox. I am using 12.04LTS. I am able to ping all other websites.
21
votes
3answers
15k views

nslookup finds ip, but ping doesnt

I know this looks like all the other "can ping via ip but not dns" questions, but those didnt really help me at all. Also, having hosts files in all machines is not doable as this server will ...
18
votes
7answers
3k views

What non malicious uses are there for ping's flood (-f) option? [closed]

I have been reading up on common ways in which people attack each other on the internet through things like DDOS attacks etc, and how one would defend oneself from such attacks, and I have come across ...
16
votes
6answers
15k views

Why can't my machine resolve local windows hostnames?

When I ping any local windows hostname from my Ubuntu machine I get "unable to resolve host", but when I ping from a windows machine it works fine. Why would this be? OS: Ubuntu 10.04 Samba & ...
15
votes
4answers
157k views

A “failed to fetch” error occurs when apt-get update is run. How do I fix this?

Contrary to the note above, I haven't found the answer to my problem. I have read almost a dozen apt-get update questions, most from askubuntu.com, with "failed to fetch" errors and tried the ...
13
votes
2answers
30k views

How to command “Ping” display time and date of ping

When I ping I have this display: > ping -i 4 www.google.fr 64 bytes from wi-in-f94.1e100.net (173.194.67.94): icmp_seq=503 ttl=46 time=45.5 ms ....... ....... 64 bytes from wi-in-f94.1e100.net ...
12
votes
3answers
8k views

How to monitor, who is pinging me?

Is there a way to know who is pinging my PC on my network. Is it possible to monitor all ICMP packets , how can i do that ?
12
votes
3answers
32k views

What does “ping: sendmsg: No buffer space available” mean?

I had an intermittent issue (which resolves itself spontaneously, after using a different connection for a while) that caused Internet requests to fail, with one particular wireless network. After ...
9
votes
5answers
6k views

Why can't I hear audible pings?

The ping manual says that ping -a will generate audible pings, but when I try this no sound is made. What am I doing wrong?
9
votes
5answers
14k views

Atheros AR9462 WiFI very unstable & package loss

I'm having severe issues w/ package-loss and a generally bad connection w/in a WiFi-network at my uni. I'm usually encountering a package loss of ~50% and aborting connections which makes working w/ ...
8
votes
4answers
70k views

Ping for 4 times

Usually I use ping to check my internet connection. In windows, if I use: ping google.com I get only 4 information ping, but on Ubuntu, if I use that command, the ping can' stop until I stop it ...
8
votes
3answers
4k views

how to detect a file over internet using ping or similar command?

I have a shell script to download some of my stuff over Internet. How can I know if a file exists over the Internet? Let's say I want to know if http://192.168.1.1/backup/01012011.zip exists or not? ...
8
votes
4answers
9k views

How to show failed ping?

When we are using windows ping , it will show the failed pings. Does Ubuntu have similar function? The failed ping is quite useful when debugging the network. How you guys solve this? Well, I only ...
6
votes
1answer
221 views

How to use timestamp option in ping

I noticed that there is a timestamp option -T in the ping help. But I don't know how to use it. I tried: ping www.google.com -T This is what I get: Invalid timestamp type What is the timestamp ...
6
votes
1answer
13k views

how to ping & use specific network card

i have 3 network cards , 1 Lan (wired) , 1 wireless network card & 1 is wireless usb how do i ping from specific network card ? & how do i use specific network card for specific ...
6
votes
1answer
2k views

UbuntuOne for Windows does not work - I got “Problem opening the ping_url” error

When I try to login to existing account I got "Problem opening the ping_url" error.
5
votes
2answers
437 views

Making copy of /bin/ping exectuable

I have copied my /usr/bin/ping file to another location (my home directory) with just a typical cp /bin/ping p command and then it stopped working, because the lack of permissions. Precisely: ...
5
votes
1answer
734 views

Why does ping -f act like this?

ping -f -s 65500 ip_address I'm using this command to try a sample DoS attack. Generally cursor is progressing but sometimes cursor is blinking like this: Generally: What is the meaning of ...
5
votes
1answer
16k views

How can i ping a Computer or a Printer using its Mac address?

Suppose I have a printer in my network has a Mac Address : 11:22:33:44:55:66 . Is there a way i can ping it to see if its up or down using its Mac address ? Any Help ?
5
votes
2answers
24k views

Can resolve hostname via dns using `host` but can't ping/ssh/ntp

I'm setting up a local network and have configured a DNS server. I can resolve hostnames by querying the DNS server, but no programs can look them up. I uninstalled libnss-mdns and removed ...
5
votes
3answers
11k views

Wifi connected but no data transfer: “ping: sendmsg: No buffer space available”

I have a Desktop which runs on Windows XP and a laptop which runs in Ubuntu 12.04. Recently I have set up a wireless router in order to be able to access internet on my laptop through wifi. The ...
4
votes
4answers
1k views

How to ping the Internet on Ubuntu?

I need to ping Google to see my Internet status. In Windows we use: ping -t [websitename] In the run menu. How do I do this on Ubuntu?
4
votes
1answer
5k views

How do I ping the Ubuntu host system from a Windows guest in VirtualBox?

I connected to a wireless point and use "ifconfig" but I don't see any IP in eth0. Where's my IP address? Sorry if this is a silly question. :) I want to use "ping" in Virtualbox Windows 7 guest. ...
4
votes
2answers
2k views

ubuntu 12.04.3 - Reverse DNS issue - slow ping interval but normal ping value

i'm running ubuntu 12.04.3 x86 desktop in my corporation environment. I join the corp domain by Likewise open. But when I ping another pc, say hostname is pc-test, "ping pc-test" or "ping ...
4
votes
1answer
2k views

How do I configure a machine to respond or not respond to ping requests?

How can I manage my Ubuntu machine so it doesn't (or does) respond to PING (ICMP ECHO_REQUEST - type 8) requests? Normally almost all computers in a LAN network respond to ping with an ICMP ...
4
votes
2answers
9k views

Duplicate ping response when running Ubuntu as virtual machine (VMWare)

I have the following setup: My router - 192.168.0.1 My host computer (Windows 7) - 192.168.0.3 And Ubuntu is running as virtual machine on the host. VMWare network settings is Bridged mode. I've ...
4
votes
1answer
4k views

WARNING: kernel is not very fresh, upgrade is recommended

Sometimes when running ping, I see the following: $ ping somehost PING somehost (192.168.x.x) 56(84) bytes of data. WARNING: kernel is not very fresh, upgrade is recommended What causes this ...
4
votes
1answer
2k views

Destination unreachable with ping6 between two local machines

I have 2 Ubuntu machines one acting as IPv6 wireless router (running hostap and radvd on wlan0) and the other is connected to that router. the router wlan0 interface has the address 2001:db8:1:1::1/64 ...
4
votes
2answers
1k views

Linux got IP from DHCP, but still can't connect to WPA2 WIFI

Here I got a problem. I have a Wireless Router which is Buffalo WCR-HP-GN, and I setting a WIFI which use WPA2-PSK authentication and the passphrase encrypted by TKIP. The password is a 9-letter ...
4
votes
2answers
5k views

Can't ping Ubuntu laptop from my LAN

My laptop has Ubuntu 10.10 and is connected to my router with full internet access, yet I can't ping it from other computers on my LAN. I tried the following: I can successfully ping those other ...
4
votes
2answers
113 views

Different internet ping from two user accounts

My desktop is running xubuntu 14.04 and my internet access is terrible with pings up to 9000MS. I created a new user account and I show ping speeds around 30ms, and browsing is fast. How can I find ...
3
votes
5answers
25k views

ping multiple IP's using bash?

I have 10 IP numbers which I have to ping daily for checking , How I can do that by using BASH script. So that I can automate that task by using cron. I want BASH script only. Thank you.
3
votes
3answers
836 views

Upgraded from 10.04 to 12.04, lost internet connectivity

Since I upgraded my HP Proliant Server from Ubuntu 10.04 to 12.04, I am unable to: ping google.com ping 8.8.8.8 browse the internet with Firefox git fetch origin cap deploy from a remote machine I ...
3
votes
1answer
8k views

VirtualBox: How do I ping a Windows guest from the Ubuntu?

I use Ubuntu 12.04 (64-bit) as host OS and Windows 7 as guest OS. How can I ping the Windows 7 system from Ubuntu? And is that possible even when Internet is off?
3
votes
2answers
4k views

can not ping by host name for some computers

I have 11.04 installed. It is joined to a domain. I am able to ping some of my computers by their name, but some I can't. Those I can't are our NAS machines (Readynas Netgear). I can ping them only ...
3
votes
3answers
1k views

What is the difference between Pinging loopback address and pinging the system's IP address?

What I found was loopback tests whether the TCP/IP suite of our system is working properly or not and pinging our IP makes sure that NIC is working fine. This is okay but I wish to know its working ...
3
votes
4answers
9k views

What would cause 'ping localhost' to fail?

the /etc/hosts file contains a line: 127.0.0.1 localhost so localhost should be a valid hostname, but any attempt to connect to a port on localhost fails, including ping. Connection attempts into ...
3
votes
1answer
81 views

what is the exact meaning of ping -A

-A Adaptive ping. Interpacket interval adapts to round-trip time, so that effectively not more than one (or more, if preload is set) unanswered probe is present in the network. Minimal ...
3
votes
1answer
310 views

On doing ping in Wine and I am getting error message

I typed this in Wine command prompt: ping www.google.com then I got this message in terminal: fixme:ping:main this command currently just sleeps based on -n parameter
3
votes
3answers
9k views

Can't ping any websites, but can access websites through browser

I'm using Ubuntu 13.10 running on the newest version of Macbook Pro (dual boot). I'm using wireless connection to access websites through the Chrome browser and it works. But ping doesn't work. For ...
3
votes
1answer
360 views

Can ping but cannot wget on host with bridge interface

This is driving me mad, since I have spent the las two days trying to solve this. I have an Ubuntu Server 14.04.2 LTS with KVM and libvirt. I have two guests virtual machines: pfSense-2.2: virtio ...
2
votes
1answer
1k views

Output not redirecting to file

I'm experiencing weirdness (or rather showing Linux ignorance). I want to learn the probability distribution of ping requests, so I thought I'd ping some random site for a while, grep the output to ...
2
votes
2answers
5k views

Ubuntu machine not responding to ping from Windows machine on same network

I want to fix this because it seems the reason why I cannot share ubuntu folders with my Windows machine. Windows 7 machine network configuration: IP: 192.168.2.2 Subnet Mask: 255.255.255.0 Gateway: ...
2
votes
1answer
194 views

Ping option to know whether net is not in a proper way

I need the option of ping which,If the net is disconnected, the pinging need to be stopped.Now if the net connection lost,It will wait and will continue after net came..
2
votes
1answer
154 views

Unable to go online but still able to ping, either with wlan0 or eth0

I have a Dell Inspiron 17 r 5737 with Ubuntu 14.10. Ar the moment, my laptop is able to connect both to eth0 and wlan0 connections, but I cannot go online with any browser, with apt-get or any other ...
2
votes
2answers
812 views

Is it possible to ping a remote Linux machine without using ssh?

I am trying to poke/ping a remote Linux machine without using ssh. Is there any other utilities to do this? Addition: It would be quite a lot of helpful if poke can be done without providing the ...
2
votes
1answer
258 views

Can't ping my ubuntu pc from Windows 7 pc

Windows 7 Ipadress: 192.168.1.3 Subnet mask: 255.255.255.0 Default gateway: 192.168.1.1 Ubuntu 14.10 eth0 Link encap:Ethernet HWaddr 00:1a:4d:49:69:70 inet ...
2
votes
1answer
2k views

Can I use ping to see real time drop rates?

I'm pinging a server which is dropping packets. At the end of my ping I see something like: 100 packets transmitted, 85 received, 15% packet loss, time 100030ms What I'd like to do is run my ping ...
2
votes
2answers
55 views

Everything but ssh does not connect over the internet

I am having trouble getting my Ubuntu server to connect to the internet. To be clear, LAN works perfectly. I am running 14.04 LTS. I cannot ping Google.com yet ssh works over the internet as well as ...
2
votes
1answer
76 views

Autostart script to notify me on connection issues

My network connection is sometimes not very stable and starts to drop packages or entirely break every now and then, which requires me to restart the network connection or sometimes temporarily unplug ...