Skip to main content

Questions tagged [ping]

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.

Filter by
Sorted by
Tagged with
72 votes
6 answers
168k 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 (...
Olivier Pons's user avatar
  • 1,483
71 votes
3 answers
311k 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 with ...
lambda23's user avatar
  • 3,252
65 votes
7 answers
558k 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 ...
61 votes
4 answers
61k views

nslookup finds ip for a hostname in .local domain, but ping does not

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 ...
Fernando's user avatar
  • 1,015
51 votes
6 answers
80k 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 ...
王子1986's user avatar
  • 2,402
41 votes
4 answers
15k 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.
mjazzy's user avatar
  • 413
38 votes
3 answers
70k 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?
nux's user avatar
  • 38.2k
27 votes
6 answers
88k 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 ...
Mechanical snail's user avatar
26 votes
4 answers
151k 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?
user avatar
24 votes
2 answers
46k views

NordVPN local network addresses not reachable when connected

I'm using nordvpn CLI on Ubuntu for quite a while but, since a few days, when I'm trying to reach any other client in my local network, I'm getting e.g. the following problem: $ ping 192.168.178.1 ...
ShEepCr3eper's user avatar
16 votes
7 answers
4k 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 ...
user avatar
16 votes
7 answers
161k 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.
Raja G's user avatar
  • 103k
16 votes
1 answer
48k views

Bash wait for a ping success

I'm writing on a script rebooting various Server's. After the reboot I want to "wait" until all Server's are back online. (To keep things simple I defined for me online=pingable) So for each Server I ...
derHugo's user avatar
  • 3,366
15 votes
1 answer
42k 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 ...
One Zero's user avatar
  • 27.3k
11 votes
8 answers
14k 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?
ændrük's user avatar
  • 77.2k
11 votes
5 answers
21k 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/ ...
chollinger's user avatar
10 votes
5 answers
57k 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 ...
Matthew's user avatar
  • 211
10 votes
3 answers
6k 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? ...
Egy Mohammad Erdin's user avatar
10 votes
4 answers
47k 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?
KVK's user avatar
  • 311
9 votes
4 answers
34k 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 ...
user avatar
9 votes
2 answers
14k 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 ...
Mudit Kapoor's user avatar
9 votes
1 answer
39k views

How to check if ICMP blocking is enabled in a system..?

A VLAN pool enabled newly is not pinging the device. Connectivity issues are not there. Can this be because if ICMP Blocking is enabled? How to check the status of the same?
kiran bbnl's user avatar
8 votes
4 answers
16k views

Change the size of a ping

I would like to change the default size of my ping, to be able to test the MTU on my link. How can I do that?
Antoine Orsoni's user avatar
8 votes
3 answers
18k 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 ...
Anuj's user avatar
  • 177
7 votes
2 answers
29k 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 ...
Jonathan Gurebo's user avatar
7 votes
2 answers
4k 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 ...
pablot's user avatar
  • 71
7 votes
1 answer
5k views

Ubuntu server can access internet but cannot ping systems in the LAN

I have 2 ethernet interface eth0 with IP 192.168.1.11 and eth1 with IP 192.168.1.12 and i have modem/router as 192.168.1.1. I can access internet from this server machine, but cannot access any ...
kannuruser's user avatar
6 votes
2 answers
26k views

Ping for 60 seconds

I want to ping an IP Address for 60 seconds. Like in Windows, you specify the time with '-t' flag. ping 192.168.1.1 -t60 Is it possible in Linux?
mgmihir's user avatar
  • 71
6 votes
2 answers
3k views

Why can't I ping over IPv6?

I can browse normally, I can create this question for example, apt update works fine, but when I was trying to install firebase using npm, I received a time out (npm ERR! network request to http://...
Felipe Cristiano's user avatar
6 votes
2 answers
33k 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 ?
nux's user avatar
  • 38.2k
6 votes
1 answer
3k 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 ...
ashok's user avatar
  • 271
6 votes
2 answers
34k 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 avahi-...
zje's user avatar
  • 221
6 votes
1 answer
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.
THM's user avatar
  • 271
6 votes
2 answers
7k 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 ...
oskar's user avatar
  • 183
5 votes
2 answers
4k 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: Ping: ...
mtszkw's user avatar
  • 223
5 votes
1 answer
3k views

Why does ping -f act like this?

ping -f -s 65500 ip_address I'm using this command to try a sample DoS attack. Generally cursor is progressing but sometimes cursor is blinking like this: Generally: What is the meaning of this? ...
mertyildiran's user avatar
  • 1,956
5 votes
1 answer
11k 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. ...
emeraldhieu's user avatar
  • 2,410
5 votes
1 answer
21k 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?
dylan7's user avatar
  • 185
5 votes
3 answers
72k 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: ...
gpuguy's user avatar
  • 259
5 votes
1 answer
865 views

One single ping, Vasily

The BSD version of Ping(8), notably on OS X, includes a convenient "one ping only" option (-o) that mirrors Sean Connery's famous quote from Hunt for Red October. The option terminates Ping once the ...
0xF2's user avatar
  • 3,154
5 votes
2 answers
4k 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 pc-test....
McArthor Lee's user avatar
5 votes
2 answers
17k 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 ...
user avatar
5 votes
1 answer
5k 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 warning,...
Drew Noakes's user avatar
  • 5,748
5 votes
4 answers
6k views

Is there a Linux utility for monitoring hosts with GUI? [closed]

I need a program for Linux desktop to monitor hosts with GUI. Like PingInfoView for Windows. Or 10-Strike Network Monitor. What would you recommend? Please, before you answer view functionality ...
user avatar
5 votes
2 answers
192 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 ...
Rich Dell's user avatar
  • 101
4 votes
1 answer
2k views

I can only ping google and ubuntu

I am using ubuntu-server 19.10 and I can only ping (from what I have tried) google.com, youtube.com and ubuntu.com. I however cannot ping, wget or git clone from github.com, cnet.com, duckduckgo.com, ...
bird-dancer's user avatar
4 votes
1 answer
10k views

How to increase pinging rate?

Is there a way to increase the pinging rate on Ubuntu 10.04 ? ping routerIP Thanks.
Heba's user avatar
  • 143
4 votes
3 answers
53k 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 ...
user253985's user avatar
4 votes
3 answers
19k 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 ...
ushadow's user avatar
  • 151
4 votes
1 answer
6k 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 ...
tzenes's user avatar
  • 141

1
2 3 4 5
8