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

37
votes
4answers
4k 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.
16
votes
2answers
7k 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 ...
13
votes
5answers
9k 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 & ...
8
votes
5answers
7k 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/ ...
7
votes
3answers
2k 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? ...
7
votes
3answers
4k 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?
6
votes
3answers
893 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 ?
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.
6
votes
2answers
14k 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 ...
6
votes
3answers
2k 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 ...
5
votes
4answers
55k 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 ...
4
votes
2answers
8k 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 ...
4
votes
1answer
4k 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
1answer
7k 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 ...
4
votes
2answers
5k 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
1k 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
758 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 ...
3
votes
2answers
22k 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 ...
3
votes
3answers
644 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
854 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 ?
3
votes
2answers
14k 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 ...
3
votes
1answer
90 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 ...
2
votes
1answer
885 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
1answer
6k 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?
2
votes
1answer
3k 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
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 ...
2
votes
1answer
180 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
4answers
4k 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 ...
2
votes
2answers
682 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 ...
2
votes
3answers
6k 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 ...
2
votes
1answer
990 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
1answer
77 views

How to increase pinging rate?

Is there a way to increase the pinging rate on Ubuntu 10.04 ? ping routerIP Thanks.
2
votes
1answer
1k 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 ...
2
votes
2answers
3k 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 ...
2
votes
1answer
5k views

I can ping IP address but can not ping hostname

My address: user@pc1:~$ ifconfig eth0 |grep "inet " inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 I can ping this address user@pc1:~$ ping -c 1 192.168.2.11 PING ...
2
votes
2answers
314 views

DSL modem drops connection intermittently

I have a dual-boot machine: Windows 7 and Ubuntu 10.04. The computer is connected directly to the Baudtec modem by a LAN cable. The modem is connected to the phone jack. Under Windows, the internet ...
2
votes
1answer
1k views

Take action if remote server responds to ping

I have a network attached storage (NAS) at home where I store pretty much all my media stuff (songs, videos, etc). I would like to mount it to a local directory in my notebook automatically every time ...
2
votes
1answer
399 views

Ubuntu 13.04 wifi issues (realtek 8188ce) [duplicate]

I have ping issues meaning that my ping is normal but I get lag spikes, ping reaching 500-600ms. I suspect there is something wrong with the drivers because on windows there is no problem. Also I have ...
2
votes
0answers
597 views

Stateless auto configuration IPv6 in ubuntu 12.04

I have installed ubuntu 12.04. i heard that ethernet interface automatically get a link local address but in my ubuntu box it's not getting link local address. Command ifconfig -a output Link ...
2
votes
1answer
527 views

Cannot ping localhost after a half day of uptime

This just started like 4 or 5 days ago. I'm running Ubuntu 12.04 desktop, and after about 12 hours of uptime it seems the loopback device just stops working. If I do an ifconfig, it looks like it's ...
1
vote
2answers
1k views

sudo apt-get install returns a 404 error but ping returns packets. Is it a problem with my network configurations?

I'm trying to install openjdk on an Ubuntu 11.04 VM in a Mac. However, I'm running into 404 errors on the command line which I can't diagnose why. sudo apt-get install openjdk-6-jre-headless ... Err ...
1
vote
4answers
2k 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.
1
vote
1answer
4k views

pingtest.net gives “Packet Loss Test Error”

This is what I get when trying the pingtest.net on Ubuntu 11.10 I don't have any firewall running on my router. Is there a firewall running on Ubuntu that I don't know about?
1
vote
1answer
60 views

Set wildcard mask for ping

Is there a way to do a command like ping 10.0.0.0 0.255.255.255 (wildcard masks), without installing a program, or a similar way to ping every node within a specific network/subnet? I see something ...
1
vote
3answers
1k views

Cannot Ping from server when logged in from another machine

So I found out my problem when I would use the curl method on my linux Ubunutu 12.10 Server at home while logged in from my laptop (Mac OSX Lion). Nothing was happening when I would use the curl ...
1
vote
1answer
385 views

Can't ping my own local machine by IP address?

I have an Ubuntu machine named ci-server, with wired connection and fixed IP address of 192.168.0.214. When I ping by IP I get the following output: administrator@ci-server:~$ ping 192.168.0.214 ...
1
vote
1answer
4k views

How to install and setup SmokePing?

Any have good link to how to for SmokePing that is upto date for 10.10 or 10.04(aka mint11)?
1
vote
1answer
53 views

Can't ping Arch Linux machine from Ubuntu Server

I have a server and a desktop. Server: OS: Ubuntu Server 14.04.1 IP address: DHCP from Asus router, allocated by MAC address to 192.168.1.4 Connection: wired Ethernet, always on Desktop: OS: ...
1
vote
1answer
1k views

can not ping google using proxy

I am using a proxy to connect to internet. I can use firefox and software center. but can not ping google. when I try it says ping google.com ping: unknown host google.com I have tried with ip ...