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

1
vote
1answer
223 views

Why does pinging work when you've shut down your Apache2 webserver?

I'm new to Apache and Linux/Ubuntu and generally interested in understanding all the processes going on. I just set up an Apache2 webserver on my Ubuntu 14.04 partition. I intend to run it as a local ...
0
votes
1answer
518 views

Lag spikes when playing games since upgrade to 14.04 from 12.04

I sometimes play games (Awesomenauts, CS:GO,...) on my Ubuntu 14.04 laptop. After upgrading from 12.04 to 14.04 last week the gameplay of all of my internet games suffers from lags every view minutes. ...
3
votes
1answer
502 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
146 views

How to increase pinging rate?

Is there a way to increase the pinging rate on Ubuntu 10.04 ? ping routerIP Thanks.
0
votes
1answer
47 views

Can't ping machine on LAN from 1 out of 3 Kubuntus

I have three Kubuntu systems running, one 12.04 and two 13.10. I have an HP MediaVault (a network attached storage device) on my LAN. On the 12.04 and one of the 13.10's, I can ping hpmediavault; on ...
0
votes
1answer
2k views

Why ping -f command needs sudo privileges?

When i tried to use ping -f ipaddress command in Ubuntu for testing my system , It fails with a message : ping: cannot flood; minimal interval, allowed for user, is 200ms When i type man ping and ...
7
votes
3answers
3k 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 ?
4
votes
1answer
6k 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 ?
38
votes
4answers
6k 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.
1
vote
1answer
5k 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 ...
-1
votes
2answers
383 views

Differences between ping and ping -c 3 option

I would like to know what the differences between using the commands : ping -c 3 www.google.com and ping www.google.com Any help or information is appreciated. Thanks!
0
votes
1answer
91 views

Cannot access ubuntu from windows

I cannot access my ubuntu shared folders and I cannot ping it too (from windows). In ubuntu, I have smbd and nmbd services started. The ubuntu machine can be seen in the windows Network directory. The ...
1
vote
2answers
1k views

Block ping from a particular IP address

My server is Ubuntu 12.04:-> IP 192.168.56.100 I have a client Ubuntu 13.04:-> IP 192.168.56.101 I have to block the ping from client to server So I wrote the IPTABLE rule. iptables -A INPUT -i eth0 ...
0
votes
1answer
3k views

ping: unknown host

Since few days, my dedicated server (Ubuntu 13.04) is no longer able to ping or connect to my NAS through DNS (hostname -> kr1.synology.me ) . The IP address ( 178.83.88.248 ) address against , is ...
2
votes
4answers
9k 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.
0
votes
2answers
171 views

A script to ping a group of IPs and return with just the Online?

I need a script that ping a group of ips and return as a result the online one , it will echo for example 10.10.10.10 is online 10.10.10.11 is online 10.10.10.15 is online Without using any ...
-1
votes
2answers
466 views

How to know a mac address for a Node knowing its IP on local network? [duplicate]

Is there a way to ping an IP , and know the PC mac address of this IP ? For exapmle in my network there is a printer which has the ip 192.168.1.99 (dynamic) , i need to its mac address to give it a ...
1
vote
2answers
115 views

how do you withdraw statistics from website using ping option in Terminal?

Simple question how do you ping using terminal for example Google and get back the statistics of it? I mean packets transmitted packets lost ttl etc. because I tried different options using ping ...
2
votes
3answers
6k 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 ...
0
votes
1answer
305 views

Ping IP or URL from different IP with same Ubuntu

how to ping a IP or URL from different location or IP with same Ubuntu PC . I want access same IP or URL from the same Ubuntu PC but not with same system IP every time . thank you.
0
votes
1answer
183 views

Problem Connecting to Wired Network

I just installed Ubuntu Desktop on a brand new Dell computer that had windows installed on it. I have the ethernet plugged in, but it does not connect to the internet. I get an IP address. It has ...
0
votes
2answers
9k views

Ping works , but unable to do ssh

I disabled the firewall with sudo ufw disable, I can ping the server, the server can ping me but I can't ssh to it: root@ubuntu:/home/acme# ssh 192.168.1.6 ssh: connect to host 192.168.1.6 port 22: ...
4
votes
2answers
1k 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 ...
0
votes
1answer
756 views

Internet extremelly slow UBUNTU 13.04 Alfa Awus036h

I have a peculiar problem. Presently I have Win7, Backtrack 5r3, and freshly installed Ubuntu 13.04. I have Alfa Awus036h as my 2nd usb Wifi card. Both backtrack and this new Ubuntu recognize it ...
1
vote
1answer
693 views

How to ping an IDN domain with its non-ASCII name?

For all I see, I cannot ping (or dig) IDN domain names using their non-ASCII names, only their ASCII 'backend' with xn-- prefix. I am about to add several such names to the configuration of a DNS ...
2
votes
1answer
7k 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 ...
1
vote
0answers
304 views

Can't reach PC over network until it pings me

I have two Ubuntu PC's in my setup. PC A is wired into the home router. PC B is wireless. When I reboot PC A, I can't ping PC B until PC B pings PC A. After that it works just fine. Also I think ...
1
vote
1answer
1k views

Unable to get ping output to text file

Below is my script to store the ping result on a text file, but the result stored in the output file is not complete, it is missing the last statement where ping stats are shown. Can anyone help in ...
2
votes
1answer
440 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 ...
1
vote
1answer
4k views

Unable to ping Ubuntu from Windows

I'm using wireless router for internet access and local wireless network. When I ping from Ubuntu to Windows XP over a wireless LAN, it works using either IP or hostname of the Windows device. But ...
8
votes
5answers
11k 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/ ...
0
votes
1answer
2k views

Ubuntu 12.04 ping 8.8.8.8 does not work on one network only [closed]

I'm using Ubuntu 12.04. I can connect to and use the internet on one wireless network (say A) and not on the other network (say B). I can connect to B and get an IP address. When I ping 127.0.0.1 it ...
7
votes
4answers
90k 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 ...
1
vote
1answer
335 views

My network disconnects and reconnects all the time

Every few minutes my internet connection fails and then reconnects automatically, though the Network indicator never changes. I can post some logs if needed, I just don't know what, any help would be ...
3
votes
1answer
3k 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
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 ...
0
votes
1answer
647 views

IPv6: ping6 from foreign host works, but cannot ping6 on same host

I have a strange issue with ipv6 on Ubuntu 12.04. There are two hosts, directly connected to the internet. Both have assigned a /64 network. They are properly configured with a /128 endpoint each ...
7
votes
3answers
4k 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 ...
3
votes
3answers
760 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 ...
2
votes
0answers
718 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 ...
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 ...
1
vote
2answers
1k views

Why am I unable to ping the same interface after configuring an IPv6 address

I setup IPv6 in my Ubuntu 12.04 on eth0 using command ifconfig eth0 inet6 add 2001:db8:fedc:cdef::1/64 but when i try to ping eth0 itself using ping6 2001:db8:fedc:cdef::1 it always gives ...
1
vote
3answers
2k 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 ...
4
votes
2answers
19k 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 ...
0
votes
1answer
443 views

ubuntu as router, 2 nics, 2 lans, outside lan can not connect to inside lan

How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)? Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to ...
1
vote
1answer
608 views

Windows xp able to ping ubuntu but not vice versa

I am trying to get both my virtual machines to ping each other. My first virtual machine is running on Ubuntu (brdige connection, using a external network adapter) IP: 192.168.1.148, my second virtual ...
2
votes
2answers
361 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 ...
11
votes
3answers
21k 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 ...
4
votes
2answers
38k 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 ...
0
votes
2answers
257 views

My Ubuntu Server 12.04 box cannot ping my ADSL modem

My Ubuntu Server (12.04) box doesn't ping my ADSL modem. I've setup a simple network which connects a XP box, a Ubuntu Server box and an ADSL modem. The XP box pings the Ubuntu Server and the ADSL ...