A tool commonly used to test the reachability of a given host, either on the internet or in a local network.

learn more… | top users | synonyms

0
votes
1answer
2k views

Continues Pinging to background, save logs and show statistics

I'm trying to make a script that save the ping logs to .txt or .log file. To monitor if my connection is intermittent or not, I'm using this script: $nohup ping 8.8.8.8 > timeout.txt & Then ...
0
votes
1answer
260 views

ping timeout differences between OS X and Linux/other OSs

This function I wrote should exemplify the idiosyncrasy between OSX and Linux ping commands, in particular their -W timeout option: # Checks if a host is up-and-running and responding to pings ...
3
votes
1answer
7k views

Cannot reach outside network or IP after upgrading to Ubuntu 12.04

I am running Ubuntu 12.04 on my server but since the upgrade from 10.04 I can no longer reach any outside sources of the server. I can SSH into the box, but from inside here I can not reach anything. ...
3
votes
1answer
1k views

Very slow response from localhost when pinging

Networking is working fine on my gentoo machine. One connection is made, everything works fine with normal speed. But it is slow to wake-up : starting up connection is taking time. Even pinging ...
0
votes
0answers
135 views

Send update ping to ping services in Terminal?

I want to send ping from http://www.mysite.com/rss.xml to http://rpc.pingomatic.com Is there any way using terminal to achieve this?
1
vote
1answer
170 views

Ping from Outside: How do I make my system invisible?

I just did a test that told me my gateway (debian squeeze) responds when being pinged from outside. It's a box with two network cards, eth0 is for my internal network (192.168.1.0/24) and eth1 goes ...
1
vote
2answers
270 views

How to make dns resolve faster

I changed name server of one domain. Then I flush dns root@host [~]# /etc/init.d/named restart Stopping named: [ OK ] Starting named: ...
1
vote
2answers
3k views

What is the difference between ping -w and ping -W?

What is the -w (deadline) flag in ping for? I cannot find a description of it in the ping man page; only for -W, which takes seconds as a parameter. What is the difference between them, and how can I ...
2
votes
1answer
15k views

Unable to ping gateway & other Linux boxes on same network

I'm somewhat new to Linux, but I'm trying to network a few Linux machines. I can't seem to be able ping the gateway or the other Linux machines. My scenario: I have a few Linux boxes set up on a ...
4
votes
1answer
2k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
3
votes
3answers
136 views

SSH to two addresses, use the one that connects first

I have a home computer (let’s call it franklin because that’s what I call it) that I often ssh into from my work laptop. When I’m at home, I ssh to franklin.local, and when I’m at work or anywhere ...
0
votes
0answers
292 views

Host reachable via SSH from my desktop but not my laptop

I try to use ssh to log in to a remote host. This works for my Ubuntu desktop, however, it fails from my Fedora 14 laptop. The failure means after I type ssh username@host and pressed Enter, ...
5
votes
1answer
450 views

root owned program with setuid bit on

Ping is a a program owned by root with the user id bit set. $ ls -l `which ping` -rwsr-xr-x 1 root root 35752 Nov 4 2011 /bin/ping As I understand it, if a user runs the ping process, then the ...
2
votes
1answer
686 views

How to check if apt proxy configuration is correct?

I have to use a proxy server which requires authentication. So, I need to update the apt.conf file to include my proxy settings. All fine. What I need is to check that the configuration is correct so ...
2
votes
2answers
827 views

Quickly check whether many network hosts are up-and-running

Objective: check if a host is up-and-running on the network, with a method that can be efficiently parallelized over many hosts. Emphasis on a QUICK turnaround of the check. Reason to emphasise ...
6
votes
1answer
358 views

Why the difference between network addresses reported by hostname and ping?

I have tried hostname and ping in a cluster machine, with different outputs. I am wondering what is the difference between the two? For example, on the same machine, hostname outputs node4.XXX and ...
6
votes
3answers
9k views

What prevents a machine from responding to pings?

I have a CentOS release 5.4 linux box on Amazon EC2 that I'm trying to set up to be monitored via Nagios. The machine is in the same security group as the nagios server, but it seems to be ...
1
vote
2answers
11k views

Changing the IP Address in Solaris 11

I am trying to change the IP address in Solaris, but am failing to do so. The IP address needs to be a fixed number, like 10.0.11.10 I have tried changing the IP address in /etc/hosts which I ...
0
votes
2answers
335 views

I require some help with traceping

Does anyone have an idea what Traceping is and where I can find good info about it? Googled for it but could not find some. Is there anywhere I could find out how to use traceping on Ubuntu? I tried ...
2
votes
2answers
12k views

Cannot connect to my Virtual Box Ubuntu system

I have a VirtualBox running an Ubuntu OS. I'd like to access this Ubuntu machine using ssh or telnet. In order to do that I've performed the following steps: sudo apt-get install telnetd sudo ...
2
votes
1answer
303 views

Constantly pinging a server

I am not sure if this is exactly the right place for this question, but there is no networking stack exchange. I want to ping a server a bunch of times (eg.10,000+) to gather information on the ...
4
votes
2answers
31k views

Host unreachable and I do not get why

I can not open a specific website. This is a website hosted by our company, and I know it is up. However, these are my symptoms: VARIABLES: host.com - the website I can not open x.x.x.x - the IP of ...
1
vote
2answers
334 views

need portable crontab host-checking/failover logic across Linux & Cygwin

A host-ping test that always works correctly from the interactive bash command line in Cygwin, is behaving incorrectly in its own crontab--always selecting the second host--and I can't figure out why: ...
3
votes
2answers
1k views

ping -c1, wait for all responses from broadcast

I want to send one packet to the broadcast address, but wait for all responses. If I do ping -c 1 192.168.1.255, it sends just one packet, but it quits after getting the first response.
2
votes
3answers
919 views

Send Email without any settings fast?

I am looking something like this on dummy comp, sending email fast without any login. I mean that I do not want to set up any .muttrc or any other settings. I want just a short msg to person A from ...
5
votes
3answers
9k views

How does traceroute resolve names?

While writing a script, I wanted to reference a machine by the computer name that I gave it (e.g. "selenium-rc"). I could not ping it using "selenium-rc", so I tried the following commands to see if ...
2
votes
2answers
807 views

Behavior of ping with partial packet loss on Ubuntu

I am specifically looking on the return variables of running ping on my Ubuntu server, the variables I am looking for is: error status, output on stdout, output on stderr. When pinging a host the ...
1
vote
1answer
381 views

Command-line way of send pinging

I have lots of Drupal powered website. Each of the website has Multiping module to pinging ping server. Is there any way of send pinging through command-line? I hope I can build dedicated server for ...
15
votes
2answers
47k views

What could DUP mean when using ping?

What could DUP mean when using ping?
4
votes
4answers
3k views

“internet connection checker one-liner”

With this I can check, that there is "internet connection". if there is no "internet connection" (succesfull pings to this 2 places), then it waits 600 sec, then it runs along: ping -W 1 -c 4 ...
3
votes
2answers
2k views

Problem pinging from a specific interface

I'm trying to ping from a specific interface, I have a wired and a wireless connection both going into my laptop. My wired adaptor eth0 is on the IP 172.16.109.75 My wifi adaptor wlan0 is on the IP ...
2
votes
0answers
428 views

Network via ieee1394 is unreachable (PC and laptop)

I decided to connect my PC to the laptop via firewire. All interfaces are up, but no packets can be send/recieved. I'm using Linux Slackware64-current (kernel 2.6.37.4) Laptop (Dell Vostro 3700) has ...
1
vote
2answers
3k views

What is a valid hostname label?

I set up my hostname to a number, where running hostname gives: 6592 But when I run ping 6592, I get: connect: Invalid argument I checked the related Wikipedia page, and it does say that such a ...
13
votes
7answers
10k views

Faster way than ping for checking if computer online?

I'm writing a wake on lan script for a set of our lab computers. We have sqlite db with a list of the computer hostnames, IPs, and MACs and currently I ping each of them with '-c1' so it doesn't run ...
5
votes
2answers
3k views

Can't ping broadcast

We're running four computers connected to a hub (yes a hub not a switch) on Fedora 13. They were installed using images from a colleague that has recently left us to go back to school, they may have ...
4
votes
3answers
6k views

How can i check that a remote computer is online for ssh / script acess?

i'm writting a script that will backup data from my laptop to an ubuntu server. to do so, i'm looking for a (ba)sh command to test if the server is available before starting the backup. something like ...
2
votes
1answer
403 views

Redhat Enterprise Linux 4.7 - Ping problem

When I try to ping some of the IP addresses I get "connect: No buffer space is available" error. Also when I check /var/log/messages, there are some errors like as following printk: 99 messages ...