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

0
votes
1answer
47 views

Unable to ping hostname only IP address

I'm trying to connect to my linux server via the hostname for Samba. I'm have been able to access it with no problem then all of a sudden it stopped working. Here is what is happening. This is what I ...
1
vote
1answer
31 views

I have 5 hosts which i need to ping if any one down i should be alerted through an email it is possible..?

I have 5 hosts which i need to ping if any one down i should be alerted through an email it is possible..? and it will be checked with every 20 minutes. can anyone help me.. Thanks in advance... i ...
0
votes
1answer
20 views

I need a script file for checking (ping) 3 ip address are working or not

I need to create a script for checking (ping) 3 ip address are working or not. using the crone tab and i do want to know how is it working. I was used a script using a test file, but i need to get the ...
1
vote
1answer
5k views

Have internet connection but can't ping External sites

I have an Internet connection and can browse, but I can't ping the google DNS, ping 8.8.8.8 nor can I ping google.com Any ideas why this might occur?
0
votes
0answers
21 views

I Have to ping all the time to get stable connection to samba share folder server

Intel core I3 Ubuntu 14.04 LTS Samba server configuration tool 1.2.63 I have share my folder to network from ubuntu machine. I want to accesses the folder using the IP address from windows 7 ...
0
votes
1answer
29 views

How to plot pinging results into a graph?

I need to find a way of plotting my pinging results into a graph for a project on my raspberrz PI. So ping 192.168.100.2 would display the replies and packet losses on a graph.
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 & ...
0
votes
1answer
49 views

Inherited Ubuntu server will not PING: What am I missing?

Update: It turns out, our in-house network suppresses pings. I demonstrated this by turning my phone into a hot-spot (thus changing my outbound gateway), connecting with a laptop, then pinging the ...
0
votes
0answers
23 views

Can't access to certain webs

I've installed Ubuntu 15.10 and from the start I couldn't access certain websites (and their services). For example, I can't access spotify web (in various browsers, chrome gives ...
1
vote
0answers
50 views

Can browse internet, cannot ping / update / install anything

I recently installed Ubuntu 15.10, but I cannot update softwares. Not even from Ubuntu Software center. I have proxy applied system wide. Here are a few screenshots. Thanking in advance. sudo ...
4
votes
2answers
112 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 ...
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 ...
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 ...
0
votes
1answer
86 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
157 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
80 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
53 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 ...
2
votes
2answers
54 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
47 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
75 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
216 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
606 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
22 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
356 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
54 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
20 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
138 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
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 ...
-1
votes
2answers
27 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
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 ...
0
votes
0answers
65 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
431 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
59 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
38 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
58 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
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
1answer
80 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
38 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
68 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
59 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
141 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
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?
5
votes
1answer
15k 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
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 ...
0
votes
1answer
89 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
196 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
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 ...