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
2answers
1k views

Block ping from a particular IP address

My server is Ubuntu 12.04:-> IP 192.168.56.100 I have a client Ubuntu 13.04:-> IP 192.168.56.101 I have to block the ping from client to server So I wrote the IPTABLE rule. iptables -A INPUT -i eth0 ...
0
votes
1answer
3k views

ping: unknown host

Since few days, my dedicated server (Ubuntu 13.04) is no longer able to ping or connect to my NAS through DNS (hostname -> kr1.synology.me ) . The IP address ( 178.83.88.248 ) address against , is ...
2
votes
4answers
6k 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.
0
votes
2answers
154 views

A script to ping a group of IPs and return with just the Online?

I need a script that ping a group of ips and return as a result the online one , it will echo for example 10.10.10.10 is online 10.10.10.11 is online 10.10.10.15 is online Without using any ...
-1
votes
2answers
361 views

How to know a mac address for a Node knowing its IP on local network? [duplicate]

Is there a way to ping an IP , and know the PC mac address of this IP ? For exapmle in my network there is a printer which has the ip 192.168.1.99 (dynamic) , i need to its mac address to give it a ...
0
votes
2answers
102 views

how do you withdraw statistics from website using ping option in Terminal?

Simple question how do you ping using terminal for example Google and get back the statistics of it? I mean packets transmitted packets lost ttl etc. because I tried different options using ping ...
1
vote
0answers
108 views

Unable to Ping From Ubuntu Server 12.04 Terminal

I used mode_switch and was able to connect my 3G USB dongle with Internet, i am also able to download that data, but unfortunately i am not able to Ping any Website Any Suggestion ?? No pinging of ...
2
votes
3answers
5k 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 ...
0
votes
1answer
271 views

Ping IP or URL from different IP with same Ubuntu

how to ping a IP or URL from different location or IP with same Ubuntu PC . I want access same IP or URL from the same Ubuntu PC but not with same system IP every time . thank you.
0
votes
1answer
173 views

Problem Connecting to Wired Network

I just installed Ubuntu Desktop on a brand new Dell computer that had windows installed on it. I have the ethernet plugged in, but it does not connect to the internet. I get an IP address. It has ...
0
votes
2answers
7k 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: ...
3
votes
2answers
1k 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 ...
0
votes
1answer
716 views

Internet extremelly slow UBUNTU 13.04 Alfa Awus036h

I have a peculiar problem. Presently I have Win7, Backtrack 5r3, and freshly installed Ubuntu 13.04. I have Alfa Awus036h as my 2nd usb Wifi card. Both backtrack and this new Ubuntu recognize it ...
1
vote
1answer
571 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 ...
2
votes
1answer
6k views

I can ping IP address but can not ping hostname

My address: user@pc1:~$ ifconfig eth0 |grep "inet " inet addr:192.168.2.10 Bcast:192.168.2.255 Mask:255.255.255.0 I can ping this address user@pc1:~$ ping -c 1 192.168.2.11 PING ...
1
vote
0answers
269 views

Can't reach PC over network until it pings me

I have two Ubuntu PC's in my setup. PC A is wired into the home router. PC B is wireless. When I reboot PC A, I can't ping PC B until PC B pings PC A. After that it works just fine. Also I think ...
0
votes
1answer
950 views

Unable to get ping output to text file

Below is my script to store the ping result on a text file, but the result stored in the output file is not complete, it is missing the last statement where ping stats are shown. Can anyone help in ...
2
votes
1answer
436 views

Ubuntu 13.04 wifi issues (realtek 8188ce) [duplicate]

I have ping issues meaning that my ping is normal but I get lag spikes, ping reaching 500-600ms. I suspect there is something wrong with the drivers because on windows there is no problem. Also I have ...
0
votes
0answers
252 views

Ad Hoc Network IP Issue

I'm trying to set up an ad hoc network between an ARTiGO a1000 system (running ubuntu 11.10) and my computer (running mac os x), and I can't seem to get the connection working. I've tried setting up ...
1
vote
1answer
4k views

Unable to ping Ubuntu from Windows

I'm using wireless router for internet access and local wireless network. When I ping from Ubuntu to Windows XP over a wireless LAN, it works using either IP or hostname of the Windows device. But ...
8
votes
5answers
10k 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/ ...
0
votes
1answer
2k views

Ubuntu 12.04 ping 8.8.8.8 does not work on one network only [closed]

I'm using Ubuntu 12.04. I can connect to and use the internet on one wireless network (say A) and not on the other network (say B). I can connect to B and get an IP address. When I ping 127.0.0.1 it ...
6
votes
4answers
77k 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 ...
1
vote
1answer
311 views

My network disconnects and reconnects all the time

Every few minutes my internet connection fails and then reconnects automatically, though the Network indicator never changes. I can post some logs if needed, I just don't know what, any help would be ...
2
votes
1answer
1k 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 ...
2
votes
1answer
1k views

Output not redirecting to file

I'm experiencing weirdness (or rather showing Linux ignorance). I want to learn the probability distribution of ping requests, so I thought I'd ping some random site for a while, grep the output to ...
0
votes
1answer
600 views

IPv6: ping6 from foreign host works, but cannot ping6 on same host

I have a strange issue with ipv6 on Ubuntu 12.04. There are two hosts, directly connected to the internet. Both have assigned a /64 network. They are properly configured with a /128 endpoint each ...
7
votes
3answers
3k 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 ...
3
votes
3answers
724 views

Upgraded from 10.04 to 12.04, lost internet connectivity

Since I upgraded my HP Proliant Server from Ubuntu 10.04 to 12.04, I am unable to: ping google.com ping 8.8.8.8 browse the internet with Firefox git fetch origin cap deploy from a remote machine I ...
2
votes
0answers
686 views

Stateless auto configuration IPv6 in ubuntu 12.04

I have installed ubuntu 12.04. i heard that ethernet interface automatically get a link local address but in my ubuntu box it's not getting link local address. Command ifconfig -a output Link ...
4
votes
1answer
2k views

Destination unreachable with ping6 between two local machines

I have 2 Ubuntu machines one acting as IPv6 wireless router (running hostap and radvd on wlan0) and the other is connected to that router. the router wlan0 interface has the address 2001:db8:1:1::1/64 ...
1
vote
2answers
1k views

Why am I unable to ping the same interface after configuring an IPv6 address

I setup IPv6 in my Ubuntu 12.04 on eth0 using command ifconfig eth0 inet6 add 2001:db8:fedc:cdef::1/64 but when i try to ping eth0 itself using ping6 2001:db8:fedc:cdef::1 it always gives ...
1
vote
3answers
2k views

Cannot Ping from server when logged in from another machine

So I found out my problem when I would use the curl method on my linux Ubunutu 12.10 Server at home while logged in from my laptop (Mac OSX Lion). Nothing was happening when I would use the curl ...
4
votes
2answers
17k 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 ...
0
votes
1answer
423 views

ubuntu as router, 2 nics, 2 lans, outside lan can not connect to inside lan

How can I make LAN on 192.168.1.xxx (eth2) forward packets to other LAN (eth0) 10.42.0.19 (Win7 PC)? Both the LANs are connected to Ubuntu PC. I can ping from PC connected to eth0 to PC connected to ...
1
vote
1answer
563 views

Windows xp able to ping ubuntu but not vice versa

I am trying to get both my virtual machines to ping each other. My first virtual machine is running on Ubuntu (brdige connection, using a external network adapter) IP: 192.168.1.148, my second virtual ...
2
votes
2answers
345 views

DSL modem drops connection intermittently

I have a dual-boot machine: Windows 7 and Ubuntu 10.04. The computer is connected directly to the Baudtec modem by a LAN cable. The modem is connected to the phone jack. Under Windows, the internet ...
11
votes
3answers
18k 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 ...
4
votes
2answers
32k 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 ...
0
votes
2answers
250 views

My Ubuntu Server 12.04 box cannot ping my ADSL modem

My Ubuntu Server (12.04) box doesn't ping my ADSL modem. I've setup a simple network which connects a XP box, a Ubuntu Server box and an ADSL modem. The XP box pings the Ubuntu Server and the ADSL ...
4
votes
3answers
7k 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 ...
4
votes
2answers
844 views

Linux got IP from DHCP, but still can't connect to WPA2 WIFI

Here I got a problem. I have a Wireless Router which is Buffalo WCR-HP-GN, and I setting a WIFI which use WPA2-PSK authentication and the passphrase encrypted by TKIP. The password is a 9-letter ...
2
votes
1answer
620 views

Cannot ping localhost after a half day of uptime

This just started like 4 or 5 days ago. I'm running Ubuntu 12.04 desktop, and after about 12 hours of uptime it seems the loopback device just stops working. If I do an ifconfig, it looks like it's ...
1
vote
1answer
450 views

Why can't I ping “http:/ushou-appeng01/ufm/…”? [closed]

I am not able to ping http://ushou-appeng01/ufm/Firmware/packages in Kubuntu 10.04. This link is accessed in my ltib file. When I tried to ping this link from the bash shell, it gave me a "Host Not ...
-1
votes
1answer
7k views

Cannot ping any computers on LAN

I havem't been able to find a straight forward answer on this yet. I'm hoping people here are able to help! Keep in mind that I'm a complete beginner at this - this is the first installation i've ...
2
votes
1answer
7k views

VirtualBox: How do I ping a Windows guest from the Ubuntu?

I use Ubuntu 12.04 (64-bit) as host OS and Windows 7 as guest OS. How can I ping the Windows 7 system from Ubuntu? And is that possible even when Internet is off?
0
votes
2answers
1k views

Computer becomes unreachable on lan after some time

I work on my laptop and ssh into my desktop. I use a lot of key based authentication for many servers for work but recently I couldn't login because ssh would pick up and try all the keys and it stops ...
7
votes
2answers
12k 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
2answers
2k views

Problem with Samba + NetBIOS. Can't ping Ubuntu from Windows

I cannot ping my Ubuntu box from Windows. I have Samba installed and I have checked iptables and NetBIOS ports are not blocked. smbd and nmbd are both running. I'm running Ubuntu 11.10 Server. I was ...
2
votes
2answers
3k views

Ubuntu machine not responding to ping from Windows machine on same network

I want to fix this because it seems the reason why I cannot share ubuntu folders with my Windows machine. Windows 7 machine network configuration: IP: 192.168.2.2 Subnet Mask: 255.255.255.0 Gateway: ...