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
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
51 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
12 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
36 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
256 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 ...
0
votes
1answer
40 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 ...
0
votes
1answer
38 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
76 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 ...
-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 ...
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
46 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 ...
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 ...
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
51 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
2answers
99 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
857 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?
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 ...
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
90 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
58 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
109 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 ...
0
votes
0answers
811 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: ...
0
votes
3answers
292 views

What's the Windows ping -t (continue until interrupted) equivalent in iputils ping

In windows 8 I used to do in run: ping 166.18.0.1 -t where 166.18.0.1 is my DNS IP(suppose). How to do this same thing in ubuntu? I have already tried this in the terminal window but it shows an ...
0
votes
1answer
105 views

How to ping a specific port

I often use the ping command to check if a website is available or not, or if I can access a machine, so basically mostly for diagnostics, and what would be really useful is if I could specify which ...
3
votes
1answer
214 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
0
votes
0answers
64 views

Virtual Machine can not ping to internet but still use apt-get update?

I'm installing VMware version 11 on Windows 7 Pro to create Virtual machines. VMs is running Ubuntu 14.04. My problem is I can not ping from the virtual machines to the Internet (8.8.8.8). but still ...
0
votes
0answers
144 views

No NETWORK for any Linux (guests) on Mac (host) with VirtualBox

In my company I have a mac hosting an official VirtualBox 4.3.22. There is an official guest Win7 with NAT-network configured and working. I tried any linux distro (Ubuntu 14.10, Kubuntu, Mint, ...
0
votes
1answer
36 views

Couldnot able to install anything

I tried to use sudo apt-get install its not working. So I did ping google.com it gave me ping: unknown host google.com I have net connection and I able to access Internet in browser. How ...
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 ...
1
vote
1answer
3k 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?
3
votes
3answers
897 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 ...
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 ...
1
vote
1answer
59 views

outbound networking not working any more on ubuntu 14.04

I changed my ip address of my ubuntu server from 192.168.86.13 to 192.168.86.1 and now I cannot even ping any ip addresses except the own. on the other hand I can connect with putty to the server ...
2
votes
1answer
128 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 ...
1
vote
1answer
66 views

no network in ubuntu13 when virtal box is configured with bridged adpater

I am using Ubuntu 13 on virtual box with my host being Windows 8. My aim is I want to ping from host to guest or from any physical machine to guest (Ubuntu).I am able to ping from guest to host but ...
3
votes
1answer
292 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
2answers
594 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 ...
0
votes
0answers
226 views

browser unable to resolve host

I want to visit some websites, but I always get "unable to visit", unable to resolve the host. I tried ping, and I get: esolve@mypad:~$ ping http://www.santaihu.com/ ping: unknown host ...
0
votes
0answers
120 views

ping working but browsing not working in ubuntu 12.04

In the terminal, to ping to yahoo.com works well. - any website In the browser, to visit yahoo.com is not working. - any website 'telnet yahoo.com 80' is not working, too. When I reset the network, ...