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.

Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer. Source

361 questions
79
votes
3 answers

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 Ctrl+C. Can I ping only for 4 times then stopped?…
lambda23
  • 3,362
75
votes
6 answers

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 (173.194.67.94): icmp_seq=508 ttl=46 time=44.9 ms 64…
Olivier Pons
  • 1,543
69
votes
7 answers

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 solutions answered there. Unfortunately, none worked. I…
62
votes
4 answers

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 eventually handle a lot of computers connecting to it. I…
Fernando
  • 1,025
56
votes
6 answers

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 want simple solution, I don't want to get a long…
王子1986
  • 2,452
  • 6
  • 27
  • 30
41
votes
4 answers

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
  • 413
39
votes
3 answers

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
  • 39,152
29
votes
2 answers

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 PING 192.168.178.1 (192.168.178.1) 56(84) bytes of…
28
votes
4 answers

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?
user448053
28
votes
6 answers

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 about 5 requests after associating with an AP, ping…
17
votes
7 answers

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
  • 105,327
  • 107
  • 262
  • 331
16
votes
1 answer

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 do ServerXY_W=1 echo -n "waiting for ServerXY…
derHugo
  • 3,376
  • 5
  • 34
  • 52
16
votes
7 answers

What non malicious uses are there for ping's flood (-f) option?

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 the fact that with the Ubuntu ping tool there is…
user364819
15
votes
1 answer

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 application example i want to ping google from wlan0 example for…
One Zero
  • 27,761
11
votes
5 answers

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/ SaaS impossible. I'm using Ubuntu 13.04 and my…
1
2 3
24 25