0
votes
0answers
19 views

kernel upgrade causes ping to fail

I am facing some strange problem. I compiled the latest linux kernel and used "make localmodconfig" to create my .config file. In the new kernel "ping google.com" does not work. However the following ...
79
votes
7answers
7k views

Is it possible to ping an address:port?

I am not into networking, and I have the following question related to the Linux ping command. Can I only ping an address? For example: miner@raspberrypi ~ $ ping onofri.org PING onofri.org ...
0
votes
0answers
53 views

I can't ping google, local ping is okay, resolv.conf is okay

I use Debian7 image under VMware player for Windows 7. All was okay. Pinging google was okay. But after resuming the Linux machine, something happened with network connection. After some playing with ...
0
votes
0answers
25 views

Why does Windows use the same identifier for different ping sessions?

I noticed while debugging some NATing issues at work that Windows (Windows 7 in this case) echo reply and echo responses are always setting the ICMP identifier field to the same value regardless of ...
0
votes
0answers
14 views

Quell ICMPv6 responses using Linux

On Linux, you can use: sysctl -w net.ipv4.icmp_echo_ignore_all = 1 to quell ICMP echo responses from the Linux networking stack. This is different from BLOCKING ICMP responses using ...
1
vote
1answer
81 views

Unable to ping server

I have a Linux server that seems to have lost the ability to respond to a ping.. I recently installed Nagios on another system and need to have this Ubuntu server answer up to a ping.. I'm using ...
0
votes
0answers
76 views

Pinging local machine with external IP

On a Gentoo server, I am trying to wget or curl a page from its url: wget http://example.com/test.html (I can get result for this url from my browser) All I receive is Timeout. With cUrl I get ...
0
votes
3answers
6k views

ping can't resolve hostname, but nslookup can

ping tells me that it can't resolve some hostname ("ping: unknown host domain.company.local") in a URL but when I use host or nslookup on the same computer on the command line, the resolutions works ...
0
votes
0answers
92 views

Unable to ping IP on linux

I have a Linux box which is connected to one machine (say boxer). eth0 of linux box is directly connected to boxer. I have vlan range 500-550. Below is ifconfig details of linux, all o/g and i/c ...
2
votes
1answer
607 views

Can ping/ssh through LAN but not with Wi-Fi

I have bought a new D-link Wi-Fi modem recently, and I have connected one Linux system through LAN and another system through Wi-Fi. I can't ping the host which is connected to the LAN from the Wi-Fi ...
0
votes
1answer
170 views

Ping test for 4 hours

I am trying to perform a ping a test to the servers for 4 hours I tried using ping -t '14400' IP-ADDRESS but i am getting a following error: "ping: ttl 14400 out of range" Is there any other ...
0
votes
5answers
609 views

What should I expect to see when I 'ping' my IP address?

I am using the linux ping command from a linux machine to test connection to a windows machine: I first find my windows machine IP address using ipconfig and then do this from the linux machine: ...
0
votes
0answers
287 views

Linux ARP source address wrong, when pinging from different interface

I'm seeing some weird behavior, and was hoping someone could explain to me why this is happening: I have a linux box with two physical interfaces: arnout@arnout-VirtualBox ~ $ ifconfig eth0 ...
0
votes
1answer
178 views

SIGINT (ctrl-c) not instant for ping

At times I run a ping command (on GNU/Linux) and it won't stop immediately when I press Ctrl-c. To my understanding ctrl-c sends a SIGINT. What are possible causes of the ping command to not exit ...
0
votes
1answer
188 views

what is the effect of using 'ping -m' (tagging the packets)

i was going through the man pages of ping and i found a -m option there.. so how does this effect my packets? its something like tagging the packets. ping 8.8.8.8 -m 2 ...
0
votes
0answers
157 views

packet loss and unable to ssh

I am trying to connect to a linux server from my linux machine using SSH over LAN. I don't know what the problem is but sometimes I can ping the server but can not ssh whereas at other times I am ...
3
votes
2answers
948 views

LINUX Ping host, Display error on failure

I'm writing a bash script to ping a given hostname, and display whether or not the host is active (display a simple message.) Should be easy, but headache instead. Here is what I have so far: ...
0
votes
5answers
277 views

Pinging to a Linux machine to check if it's online

I'm using ping to check if a Linux machine is online and ready to be used. However, ping doesn't really tell you if the system is actually doing anything useful, just that the kernel's network ...
1
vote
0answers
172 views

Under what circumstances does the scp command fail?

I have two linux(redhat 5.6, 64 bit) servers(hp proliant 380p g8), server1's eth0,eth2 bonded to bond0.Similarly server 2's eth0,eth2 bonded to bond0. server1's eth0 connects to cisco(3560 catalyst) ...
-1
votes
1answer
283 views

How to read the route table?

Host: win8 ip: 192.168.1.102 Virtual Machina: gentoo ip:192.168.1.108 I type the command route -n to see the route table. The route table is : root@gentoo-jl ~ # route -n Kernel IP routing ...
0
votes
2answers
1k views

How to suppress “Destination Host Unreachable” when running ping

When I run the ping command, I often do so with the goal in mind to learn when a particular machine has come up, e.g. from rebooting. But recently (read: in the last few years) I have noticed that ...
1
vote
2answers
216 views

Ping isn't acting accurate?

I've been trying to diagnose some latency issues with my internet connection. I've been lagging out of online video games and such, which of course could be their server's fault. So, I've been ...
4
votes
3answers
226 views

How do I check that a *nix machine is online without ping?

I have a bash script that uses rsync to backup files from two remote workstations (unix and linux) to a local hard drive. I want the script to check that the workstation is online before running ...
1
vote
3answers
1k views

Output only “long pings” / Log connection interruptions

I'm on a connection that sometimes gets interrupted for a while, and I'm trying to determine exactly when using ping, which generates output like this: 64 bytes from 192.168.0.1: icmp_req=1196 ttl=64 ...
0
votes
1answer
267 views

ping|awk not responsive

While trying melodyping, I noticed that ping <host> |awk '{print $1}' takes about 30 seconds until the first line is actually displayed. Even though w/o piping to awk each ping is returned in ...
2
votes
1answer
2k views

DNS works, ping/wget/ntp/etc does not. (linux)

I am trying to do a netinstall of archlinux (done that quite a few times before) but i cant get the internet connection to work on my machine. i used the same settings of the previous (working!) ...
0
votes
2answers
388 views

Ping to router not possible from ssh connected machine

I have a ubuntu pc with openssh server installed in my home network. I can connect via SSH to it without any problems. Being connected, every bunch of minutes this machine is not more able to ping ...
5
votes
1answer
1k views

linux ping not actually sending 1 packet per second

I've been experiencing some odd behavior. While on a congested wireless network I run $ ping google.com I expect one packet to be sent out each second and only some of them to come back with a ...
1
vote
2answers
936 views

Can't ping Linux IPv6 address from Windows XP

I gave an IPv6 address to my SUSE Linux machine on a VirtualBox VM with ifconfig eth0 inet6 add ... I can't ping that address from Windows XP (vice versa) The address of the Linux machine is efbb::26 ...
1
vote
1answer
556 views

Second ping within 30 seconds of the first always fails

I ping a host: $ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=53.8 ms 64 bytes from 8.8.8.8: icmp_req=2 ttl=47 time=54.2 ms 64 bytes from ...
2
votes
3answers
4k views

Linux: How to monitor incoming pings

Can I somehow monitor incoming pings on a Linux machine? netcat doesn't seem to support that.
0
votes
2answers
702 views

How do I get computers to respond to ping in Linux?

I'm a newbie and I'd like to know about the Ping command on Linux (I'm using Ubuntu 11.04). After pinging a PC on my network, how can I make the target PC respond to my ping calls? I can see that the ...
0
votes
1answer
838 views

ping request timed out one way

I have two systems in my office LAN. One is running Fedora and the other windows 7. I can ping the windows machine from the Fedora machine but I am unable to ping the Fedora machine from windows ...
0
votes
0answers
2k views

ping and DUP! packets, but network seems to work fine

We have recently set up a small cluster of GPU workstations and have recently got them networked together. Although connectivity looks fine for e.g. web browsers and SSH, pinging other addresses ...
1
vote
1answer
579 views

Configure IP v6 on Linux machine

I use this command to assign a site-scope IP address: $ sudo ifconfig eth0 inet6 add fee3::216:cbff:fe94:1a86/64 $ Check it with ifconfig: $ ifconfig ... eth0 Link encap:Ethernet HWaddr ...
12
votes
3answers
9k views

How can I ping via an alternate gateway?

Our network has two modems, each one hidden behind a router. The primary router is on 10.1.1.1, the backup router is on 10.1.1.2, and are both configured to the 10.1.1.0/24 subnet. Both routers have ...
2
votes
2answers
2k views

Ping two ethernet card on the same computer and on the same subnet

I have two NIC Ethernet card (eth1 and eth2) on the same computer (linux) connected by a cross cable. The two interfaces are on the same subnet : eth1 : 192.168.200.1 255.255.255.0 eth2 : ...
8
votes
5answers
7k views

Linux Ping: Show time out

How can I make the Linux ping to show the requests 'time out' instead of omitting the output? Just like the Windows version of ping.
3
votes
3answers
14k views

How can I get ping timeout below 1 second?

I have a web application that runs through thousands of IP addresses and checks if they're online. Basically, if a server uses more than 250ms to respond, it's considered offline in our case. It would ...
0
votes
2answers
1k views

Ubuntu: Linux can browse sites, bash can't even resolve the dns name - Huh!

I've been work on this all day and I'm as mystified as when I started. I have an Ubuntu 10 system. On the desktop I have firefox and a bash shell running. Firefox can see and browse any site (I'm ...
0
votes
3answers
9k views

How can I ping a computer in Linux?

I have connected to a machine running Linux via SSH and would like to know; is there any command to ping a computer, or translate domain name to ip address in Linux?
2
votes
1answer
1k views

Test script if host is back online

E.g. system: Ubuntu/Debian. As many of you do this probably via ping and a terminal, I always forget this terminal when switching to other task. So a notification pop-up would be useful. So can I do ...
0
votes
2answers
1k views

Linux-Windows 7 Network: Can't ping Linux Box using hostname?

First off I should say that I am a total Linux and Networking Noob. I have used Windows all my life, but I am now trying to get into linux so I have set up an old PC with Fedora. Currently I only ...
6
votes
2answers
11k views

How to ping when behind a proxy?

I am using an HTTP proxy server to connect to the internet. Because of that my pings are not working ping www.google.com says Unreachable Host How can I configure ping to use the HTTP proxy?
3
votes
6answers
2k views

(linux) tool to monitor “quality” of tcp connection?

I am looking for a tool to monitor the quality of a TCP connection. I am trying to describe what I mean: It should be a tool with a client and a server part. The client sends, say, 1kB of data per ...
1
vote
1answer
2k views

Linux 'ping' - Show when timeout occurrs?

Is there a way to make the Linux implementation of 'ping' to act like the Windows implementation in the way that it shows when a timeout occurs. I don't want it to exit, just show a timeout message. ...