My ping command (on Debian 6 or 7) will repeatedly attempt to ping a server even while the network is down, if the network was up when it was started. Is there some way to start ping while the network is down and get this same behavior?
Here's an example. If I start a repeating ping while the network is up, and while the ping is running, the network goes down, the ping continues to repeat.
I have a Ubuntu machine that I want to ping by using its hostname.
I have set the hostname in /etc/hostname and rebooted.
Now, from a Window machine in the same network, I am able to ping the Ubuntu machine by just typing 'ping myHostname', so the hostname seems to be set correctly. However, from the Ubuntu machine itself, this does not work.
I am using FC9 and internet is working fine on it.
Well, I ping to google, it is resolving but if I ping by hostname to other LAN computers. it gives error : unknown host.
but if i ping with IP address it is pinging.
NOTE : 1) My firewall is acting as a dns server and other windows systems are resolving it.
I have a home network of a few computers, one of which is an iMac running Mac OS and another is a PC running Windows 7. The PC is able to ping the iMac both by IP and hostname, but the iMac can only ping the PC by IP. I'd like it to be able to ping the PC by hostname as well.