Home > Ubuntu Cannot > Ubuntu Cannot Ping Windows Hostname

Ubuntu Cannot Ping Windows Hostname


In windows simple say ping myhostname and whuala!. EDIT: now you've got me confused, you don't need a DHCP server for a static IP. With DHCP you can't guarantee that. Ubuntu should also be able to see your Windows that way (try avahi-browse -a or avahi-discover) share|improve this answer answered May 21 '13 at 19:23 BatchyX 1,22659 Just a have a peek here

Try moving 'wins' so it's immediately after 'files'. If your local network is small, you could do the following. My co workers said I have to configure the network to point at the router in order for it to understand. If you put 'wins' after 'mdns4_minimal' and before '[NOTFOUND=return]', then you're telling the name resolution routines to return if the NetBIOS name isn't found, which skips dns.

Ubuntu Cannot Ping Hostname

In your case, host name resolution is terminated by the [NOTFOUND=return] statement before WINS name resolution ever happens. My firewall in windows is also disabled. Is there a way to block a President Elect from entering office? GO OUT AND VOTE I am seen in darkness and in light, What am I?

When I change it back, sites open normally. Thanks! Ubuntu Logo, Ubuntu and Canonical Canonical Ltd. Linux Ping Windows Hostname Move 'wins' so it's just after 'files', and you should be good to go: hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4 nmblookup (part of the samba-common-bin package) is another useful troubleshooting

How to handle a common misconception when writing a Master's thesis? How can I correct this? the netbios-ns service should run on these ports for broadcast name resolution. –Frank Thomas May 20 '13 at 12:56 @IgnacioVazquez-Abrams No. http://askubuntu.com/questions/507649/ubuntu-can-not-ping-host-name-but-can-ping-ip share|improve this answer edited Aug 30 '11 at 14:51 Kris Harper 7,71384164 answered May 1 '11 at 20:06 Ian K 5111 add a comment| up vote 5 down vote You may

What is the common, normally open, normally closed? Can't Ping Linux Hostname From Windows Adv Reply Page 1 of 2 12 Last Jump to page: Quick Navigation Server Platforms Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Not the answer you're looking for? Internet works fine, and I can get to places like google.com by name.

Windows Cannot Resolve Ubuntu Hostname

How can I open the next/previous file alphabetically? http://superuser.com/questions/597654/ping-ubuntu-by-hostname-in-a-windows-machine With a static file the mappings are set until you manually change them. Ubuntu Cannot Ping Hostname 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 Ubuntu Netbios Name Resolution facebook google twitter rss Free Web Developer Tools Advanced Search  Forum Operating Systems Linux Help Can't ping hostnames, only IPs Thread: Can't ping hostnames, only IPs Share This Thread 

Copy a single file /etc/hosts file to each of the machines on your network. navigate here asked 4 years ago viewed 5381 times active 1 month ago Related 0Cannot ping ubuntu server by hostname - can only ping by IP0Hostname confusion (Ubuntu Server 10.04)1Can ping IP address We agree. 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 Ping Hostname Not Working Linux

Faq Reply With Quote May 17th, 2011,03:18 PM #9 No Profile Picture m_drunk View Profile View Forum Posts  Registered User Devshed Newbie (0 - 499 posts)  Join Date I'm using a Windows 7 host and a Debian 7 LXDE guest. Is it possible to check where an alias was defined? Check This Out You can set DNS server addresses while using a static address (but on a home network this is likely to be the same as the gateway address).

Do all name lookups fail to resolve, or just NetBIOS names? Ping Ubuntu From Windows Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? share|improve this answer answered Apr 1 at 19:33 palswim 17817 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up

But I also tried setting up an apache server on windows and tried to access it via http from linux, that did not work either.

  • share|improve this answer answered Apr 14 '14 at 12:53 Sandeep Datta 19316 Beautiful, worked for me on Ubuntu 14.04.
  • How do I deal with my current employer not respecting my decision to leave?
  • How can I correct this?
  • Lab colleague uses cracked software.

My cat sat on my laptop, now the right side of my keyboard types the wrong characters Possible repercussions from assault between coworkers outside the office Does calling a function that How is it that I can only ping by IP address and not by hostname to the windows computers? The windows machine needs to use the routers address as the primary DNS resolver. Ubuntu Hostname Not Visible On Network Of course, ping isn't all that wonderful, but it's a lot easer to do "ftp hostname" or "ssh hostname" or browse to "http://hostname" than using raw IP's for the local machines

Assigning only part of a string to a variable in bash How is Anti Aliasing Implemented in Ray Tracing? Mimsy were the Borogoves - why is "mimsy" an adjective? when you ping another pc by name in your network, often it is not because the name is in the DNS server but instead broadcast by the other PC through NETBIOS. this contact form The address of the servers is not what I was taling about.

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