Home > Cannot Ping > Ping Hostname Not Working Linux

Ping Hostname Not Working Linux

Contents

when winbind is installed, it's always nice to add "wins" to the hosts: line in /etc/nsswitch.conf. There is no /etc/*inetd.conf, so I'm not sure which application serves this port. Try adding them to DNS and see what happens should work Faq Reply With Quote May 31st, 2008,08:11 PM #3 fishtoprecords View Profile View Forum Posts Visit Homepage  Contributing User more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science http://scriptkeeper.net/cannot-ping/cannot-ping-by-hostname-windows-7.html

Can't ping hostnames, only IPs. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed anthias's listing in DNS is for an IPV6 address right now. I have no idea why - it used to work perfectly.

Ping Hostname Not Working Linux

Reason: removed urls to google.com, only string values needed The Following User Says Thank You to frappa For This Useful Post: linuxgeek(11-25-2011) Remove advertisements Sponsored Links frappa View How to fix?0Ping request returns DUP! See this short ancient write-up I did years ago The lmhosts and hosts files for a quick overview. Offline #3 2010-03-05 18:05:47 n0dix Member Registered: 2009-09-22 Posts: 956 Re: Cannot resolve hostname [solved] and your rc.conf.

You didn't mention which version of Windows you're running but do note that a "homegroup" is not a workgroup (or a domain). To use WINS you need a WINS server (!). Thank you so much! Nslookup Works But Ping Fails Linux What does an expansion in early december mean for the standard format?

If it does not, then try running "nslookup hostname dnsip", where hostname is the one you're looking up and dnsip is the correct IP for the network's dns server. Linux Ping Hostname Resolve Any idea what's wrong?? If your local network is small, you could do the following. http://askubuntu.com/questions/339161/i-can-ping-ip-address-but-can-not-ping-hostname doom. (22) 13:25:24.832493 IP 192.168.178.1.53 > 192.168.178.26.42017: 55338 NXDomain 0/1/0 (97)Looks like entries in /etc/hosts have no effect !

on windows, use nslookup in a shell. Ping Cannot Resolve Host While it can still be managed manually, it # HEADER: is definitely not recommended. # Do not remove the following line, or various programs # that require network functionality will fail. Operator ASCII art gawk inplace and stdout How to decline a postdoc interview if there is some possible future collaboration? 40 Vertices And A Connected Graph, Minimum Number Of Edges? Passing parameters to boilerplate text more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life /

Linux Ping Hostname Resolve

I'm using a company VPN to do some emergency work from a mall and could not get some of our sites working despite everything I thought of trying. What happens if you modify nsswitch.conf on the Ubuntu machines so that the "hosts:" line matches what's in the RHE config? Ping Hostname Not Working Linux You tell that you run net view on Windows and you see your Ubuntu PC, so the NetBIOS name is well published on your network, so it works from Windows. Can't Ping Linux Hostname From Windows I just started my first real job, and have been asked to organize the office party.

Originally Posted by m_drunk before you all get too carried away. http://scriptkeeper.net/cannot-ping/cannot-ping-192-168-0-1.html Running "nslookup hostname 192.168.1.1" give the same answer in all machines - simply different hostnames give different types of answers. You have to know that Windows can resolve the Windows hostname to its IP via other mechanisms than standard DNS : NetBIOS lookup, WINS, ... Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation Networking & Wireless Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Cannot Ping Ubuntu Hostname From Windows

The thought of having to manually maintain each individual hosts (and fstab!) file on the linux boxes and set static IPs for each NIC on each box so the hosts files If the enterprise dns returns the wrong address, then there's something wrong somewhere. I'm able to ping the guest by hostname. http://scriptkeeper.net/cannot-ping/ping-destination-host-unreachable-linux.html If I ping IPs on the local network (e.g.

Top spot in Google with no answer. Mdns4_minimal Antonym for Nourish Clearing CD cache in code from the CM Would we find alien music meaningful? In that case just delete the /etc/resolv.conf file and recreate it from the scratch.

I don't want to edit all my LAN windows hosts's file (+40 pcs) and add the entry.

What could be causing this? I tried turning off the firewall, on both sides (sudo ufw enable/disable). share|improve this answer answered May 21 '13 at 19:55 BJ292 1,889911 Just tried the same with Ubuntu Server 12.04.2 and it works the same. Libnss-winbind dhclient should send the system-wide hostname if no alternate is specified in dhclient.conf, but you could always try explicitly specifying one in dhclient.conf, just to see if the problem clears after

May be the library is already installed, you can check it presence by doing dpkg -l|grep libnss-winbind. Why do languages require parenthesis around expressions when used with "if" and "while"? I'm assuming 137 and 139 are open. http://scriptkeeper.net/cannot-ping/vpn-can-t-resolve-hostname.html Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

I also edited /etc/nsswitch.conf to and 'wins'. Also, are you trying to ping/ssh to the machine you're on? The second is that the address for poisson is the wireless address. Is there any known limit for how many dice RPG players are comfortable adding up?

Any guide on how to configure Samba and what to put in it? Draw a hollow square of # with given width Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture? This incident will be reported Can clients learn their time zone on a network configured using RA? In this file, you already have a line starting by hosts:, probably looking like this hosts: files dns This tells your system to first look into the /etc/hosts file and then