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

4
votes
1answer
15 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 ...
7
votes
4answers
61k 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 ...
19
votes
3answers
13k 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 ...
0
votes
1answer
41 views

Ping between guest VMs in VirtualBox

Running VirtualBox 5.0.10 in a Windows 10 (64bit) host, I've created 2 guest VMs - Both Ubuntu 15.10 (64bit). Looking for a setting that will allow the 2 guests to ping each other and also connect to ...
1
vote
5answers
138 views

How do I terminate a 'Ping' without closing the command terminal window?

When I use the 'Ping' command in a terminal window, how do I terminate the ping? I have pinged my router (192.168.1.1) and the results have displayed in the terminal window, but the program keeps ...
0
votes
1answer
53 views

TCP/IP Not Able To Ping To Computer

I've attempt to ping another computer on my network and I get 100% packet loss. On the other computer I can ping it, and it works. But, not the other way another. Is there a config file I need to ...
0
votes
0answers
13 views

Error “Unknown host” when using ping through VPN

I have vultr<.>com VPS. I installed ubuntu 14, installed VPN on it, and tried to connect to it. I connected successfully, but when I try to connect to the internet it does not work. Even: ping ...
1
vote
2answers
41 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 ...
0
votes
0answers
20 views

Can ping timeout not count?

I am seeing some odd behavior which I cannot explain so maybe someone here can sher a light on this. When I execute ping -c 15 www.google.com I would expect 15 pings, taking 14 seconds since the ...
0
votes
1answer
37 views

Terminal command (ping) makes sound on fail/success

Is there a way to make the Ubuntu 14.04 terminal trigger a success or, if it fails to ping Google, a different sound, such as if the wifi goes down? If so, how would I do so on constant loop in the ...
6
votes
1answer
171 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 ...
1
vote
4answers
260 views

How to ping all the ip in LAN using Terminal?

I am trying to ping all the systems available in the local area network using terminal command. Can any one tell me how to do this?
0
votes
0answers
14 views

Ping between Ubuntu guest VMs on VitualBox

Running VirtualBox 5.0.10 in a Windows 10 (64bit) host, I've created 2 guest VMs - Both Ubuntu 15.10 (64bit). Looking for a setting that will allow the 2 guests to ping each other and also connect to ...
3
votes
1answer
295 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 ...
0
votes
1answer
39 views

One computer is not able to receive ARP replies (ping) in a local network

I have two computers connected via a router (modem), and I can't ping one from the other. I'm running ARP, TCP dump on both of them. The ARP requests from System 1 are getting passed on to system 2, ...
0
votes
0answers
18 views

ping windows computer to a ubuntu 14.04 PC both connected to a swich and both have their network configured but ping fails from either end

I have a windows 7 computer and an Ubuntu 14.04 Pc both connected to a switch and both have their network configured but ping fails from both ends with message 'Destination Host Unreachable'. Please ...
0
votes
0answers
79 views

Server w/ 2 nics/subnets. Only 1 accessible at once. broadcast and ssh needed on different nics

What I want to have: 1) I need the server to be able to broadcast a Wake-On-Lan Signal to the client network (10.121.1.0/24). 2) I need to access the server via its server ip 10.133.1.3 using ssh ...
5
votes
3answers
10k 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 ...
-1
votes
2answers
20 views

can ping but cannot browse

OS = Ubuntu 15.04 Browser = chrome Problem: Unable to browse websites - i can only ping them Checked host files they are pointing to nameserver 192.168.10.20 (company DNS) - I had changed this ...
13
votes
2answers
26k 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 ...
0
votes
0answers
37 views

Gateway Unreachable via ping but other computers can be seen

I have been struggling with this for 2 days now. I assumed this will be a quick switch over but turned out to be be anything but. I had the following setup. One wlan adapter setup to 2 IP's. One as ...
5
votes
2answers
346 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: ...
-1
votes
2answers
47 views

How can we make use of netcat to determine if a machine is running a web, mail, or ssh server?

Without using the nmap program or ping, How can we make use of the netcat program (nc) to determine whether a particular machine is running web, mail or ssh services.
0
votes
1answer
32 views

OpenVPN seems to connect, yet connect ping anything on the other side

I have installed OpenVPN on my Ubuntu 14.04.04 machine with the intension to connect to the VPN server at work. Before I connect my route tables look like this: root@chuck-ham-pc:/# route -n Kernel ...
0
votes
1answer
3k 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 ...
1
vote
1answer
45 views

Advanced Ping Script [closed]

I want to have a little script which do a ping to 8.8.8.8 every 2 seconds and put only out the time. It should also put a "#" between every time. Like this: 25.5 # 25.4 # and so on... Finally i ...
2
votes
5answers
20k 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
1answer
63 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 ...
0
votes
0answers
35 views

SSH and ping times out, router setting?

I have a somewhat strange problem. SSH and ping times out. tracepath and wget works. Both SSH and ping works when I use a VPN-connection(trough a different server). What could this be? Is it ...
0
votes
0answers
53 views

Ping works but MTR fails

I have been using MTR in the past to check for packet loss in my ISP connection. Now the ISP made some change and mtr example.com reports ~90% packet loss while regular ping example.com consistently ...
0
votes
3answers
53 views

watch internet connection through shell

I just need to run a shell script when an internet connection is available. Is it possible to watch the internet connection availability through shell scripting? ping google.com is the easy command ...
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?
0
votes
2answers
100 views

How to use output of grep for ping

I desperately try to use the output of grep for a script: ping dc"$(grep -o .""\[12].domain.local"" /etc/squid3/squid.conf)" ping "$(grep -o ""dc0\[12].domain.local"" /etc/squid3/squid.conf)" Both ...
4
votes
4answers
860 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?
5
votes
1answer
13k 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 ?
2
votes
1answer
1k 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 ...
8
votes
4answers
7k 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 ...
0
votes
1answer
69 views

cannot ping localhost

I am not able to ping localhost ashish@ashishk:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. ^C --- localhost ping statistics --- 16 packets transmitted, 0 ...
0
votes
2answers
138 views

How do I write an awk script that catch ping's time in seconds?

How can I make ping show ms and time in (seconds)? I found this script: $ ping google.com | awk 'BEGIN {FS="[=]|[ ]"} {print $11}' 16.8 16.8 15.7 18.8 How do I write an awk script which brings out ...
2
votes
1answer
222 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
67 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 ...
0
votes
1answer
63 views

Ubuntu Server ping down

Please help me I am completely new to this. My dedicated server (Ubuntu) ping is down. The support asked me to enter ILO. I have accessed the remote console and this is what i see: ...
0
votes
1answer
91 views

Network connection hangs after 6-8 pings

Ubuntu 15.04 System76 Serval Linksys EA3500 Weird problem. Brand new system. Configured eth0 for static IP. Managed via Network-Manager. When the connection first starts it works and pings succeed ...
1
vote
0answers
59 views

Strange ping result?

I'm new here. I just would like how this is done? Here's the scenario of events: I was pinging randomly some no-ip adresses(i just imagine an adress and ping it) Every thing is fine, most of ...
0
votes
0answers
204 views

Can 'ping' but cannot 'traceroute' to WAN target

In a troubleshooting effort, I have the [mis]opportunity to expand my experience into the packet'y aspect of TCP networking. I am new at this - this is something I'd like to learn more about, ...
0
votes
1answer
110 views

Get latency with fping command

Is it possible to get the latency/RTT value with the fping command? I have tried the following: ~# fping askubuntu.com All I am getting is: askubuntu.com is alive The reason I want to use fping ...
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 ...
0
votes
1answer
146 views

Can't reach my server from another network

setting up my own server lead me to a problem, that i can't solve on my own. My server is a 'Ubuntu-server 14.04.1' and is located behind a 'FR!TZBox 7390'. My ipv4-adress is projected on a ...
0
votes
0answers
820 views

From laptop to Raspberry Pi: ssh: No route to host, ping: Destination Host Unreachable ; works from PC

I have a laptop, raspberry and a PC on network. PC and raspberry can ping each other and connect with SSH. But my laptop can't connect to others: ping: arian@arian-N56VM:~$ ping -c5 192.168.1.100 ...
0
votes
1answer
21 views

Ubuntu Trusty Tahr ping long response

When i do ping google.com i have: 64 bytes from 173.194.113.193: icmp_seq=900 ttl=57 time=694 ms 64 bytes from 173.194.113.193: icmp_seq=901 ttl=57 time=1150 ms 64 bytes from 173.194.113.193: ...