Fedora 14 Not able to ping the hostname from any system.
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fedora 14 Not able to ping the hostname from any system.
I did a new install of Fedora 14. This is my first time using Linux seriously and I am trying to figure it all out.
I am able to ping my hostname of sinbad only from the linux system itself. On all my windows boxes, I am not able to ping it. I can only ping the IP address.
I have been messing with this all day and it is starting to make me mad. I looked over all 7 pages here and was not able to find a resolution, so I am hoping that someone will be able to have an answer to this.
You are going about this from the wrong direction. The problem isn't on the Linux box, it is on the Windows systems. Your system isn't in DNS, and therefore they don't know the IP address associated with the Linux hostname (computers don't care about hostnames, they only know how to talk addresses and need some way to convert the name you tell them to the address they can understand). You need to add the hostname and IP address to c:\Windows\system32\drivers\etc\hosts on your Windows systems or set up a local DNS server and have that serve the hostname/ip resolution (I'd op for the former since it requires much less technical knowledge).
You are going about this from the wrong direction. The problem isn't on the Linux box, it is on the Windows systems. Your system isn't in DNS, and therefore they don't know the IP address associated with the Linux hostname (computers don't care about hostnames, they only know how to talk addresses and need some way to convert the name you tell them to the address they can understand). You need to add the hostname and IP address to c:\Windows\system32\drivers\etc\hosts on your Windows systems or set up a local DNS server and have that serve the hostname/ip resolution (I'd op for the former since it requires much less technical knowledge).
HTH
Forrest
This was exactly it. I was just trying to reply to that effect. I am guessing that I need to add all my windows systems to the linux /etc/hosts file as well.
Might have to look at setting up a DNS server then. This is all a learning experience for me anyway so this will be good.
Do all of your windows boxes have the hosts file entries for all of your systems? Each name should be set to each boxes ip in all systems. Every box should be in the list.
I don't know what you are using a router/gateway/firewall; but if you were using IPCop or SmoothWall Express, the hosts file on the firewall box would be served to the LAN as a "master" hosts file. You'd also get a good firewall .
This behavior is a feature of dnsmasq, which you could install on your Linux box. I found both .deb & .rpm packages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.