Home > Ubuntu Cannot > Ubuntu Cannot Ping Windows Hostname

Ubuntu Cannot Ping Windows Hostname

Contents

My co workers said I have to configure the network to point at the router in order for it to understand. I'm assuming 137 and 139 are open. Faq Reply With Quote May 19th, 2011,07:38 AM #13 No Profile Picture SimonJM View Profile View Forum Posts  Contributing User Devshed Frequenter (2500 - 2999 posts)    What I have to do/check? this contact form

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 Good then. There's plenty of howtos on this, google it, or try this example; http://www.ezlan.net/host.html A long-term solution (if you have plenty of machines you want to access the server by host-name) is I would try to ping the WI-FI router from both systems to confirm that outbound is working against a 3rd machine (which it likely is, since you're getting IP addresses from http://askubuntu.com/questions/27541/why-cant-my-machine-resolve-local-windows-hostnames

Ubuntu Cannot Ping Hostname

on real OS, use dig in a shell. After some searching I found a threat where somebody suggested modifying /etc/dhcp3/dhclient.conf and adding 'send hostname "blahblah"' This allowed me to see the hostname in my router but I still cannot I can ping computer B from computer A using the IP address. After a little bit of digging I found a really simple solution in this forum topic All you have to do is: sudo nano /etc/nsswitch.conf change the line that says hosts:

  • NetBIOS was originally a LAN protocol that could not cross routers, so if your network was divided into subnets or consisted of multiple networks, you needed a WINS server to enable
  • DistroUbuntu 14.04 Trusty Tahr Re: cant resolve ubuntu hostname from windows Originally Posted by doas777 one way, is to configure samba as a wins server ("wins support = yes" in smb.conf
  • My router did not show a hostname under it's active clients table.
  • You have to know that Windows can resolve the Windows hostname to its IP via other mechanisms than standard DNS : NetBIOS lookup, WINS, ...
  • Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" My boss asks me to stop writing small functions and do everything in the same loop more
  • Edit An excerpt from my smb.conf which is located at /etc/samba/smb.conf.
  • So in theory it should be pretty straightforward.
  • When I change it back, sites open normally.
  • My cat sat on my laptop, now the right side of my keyboard types the wrong characters Why does Cutie act like this and lesser robots listen to it?

Not the answer you're looking for? Once again the OP sets the conditions and he/she said dhcp. Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] cant Linux Ping Windows Hostname How can I accurately cross-cut a board that is too wide for my table saw?

Not the answer you're looking for? Windows Cannot Resolve Ubuntu Hostname Browse other questions tagged 11.10 networking samba or ask your own question. May be the library is already installed, you can check it presence by doing dpkg -l|grep libnss-winbind. http://askubuntu.com/questions/507649/ubuntu-can-not-ping-host-name-but-can-ping-ip It also goes by the names: "reserved DHCP", "reserved leases", and "Pre-assigned DHCP" .

How can I open the next/previous file alphabetically? Can't Ping Linux Hostname From Windows 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). I cannot ping computer B from computer A using its hostname. Adv Reply March 3rd, 2010 #10 redmk2 View Profile View Forum Posts Private Message Grande Half-n-Half Cinnamon Ubuntu Join Date Jul 2008 BeansHidden!

Windows Cannot Resolve Ubuntu 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 I don't figure out how to add only one simple lan ip with the hostname:\ –Kreker May 16 '12 at 12:16 add a comment| up vote 1 down vote Add an Ubuntu Cannot Ping Hostname Not the answer you're looking for? Ubuntu Netbios Name Resolution However, as suggested in the answers to that question I have the winbind package installed and have wins in /etc/nsswitch.conf: hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4 Nevertheless, attempts to ping

I put a new Ubuntu server in my LAN and I can't ping it but the hostname. http://rinfix.com/ubuntu-cannot/ubuntu-cannot-move-windows.html Do service winbind start to activate it. Ubuntu Computer can only Ping by IP address only Not by hostname. As Samba is installed on Ubunut, for your Windows PC, they see the Ubuntu PC as a Windows PC and the same resolution is possible. Ping Hostname Not Working Linux

when winbind is installed, it's always nice to add "wins" to the hosts: line in /etc/nsswitch.conf. US Election results 2016: What went wrong with prediction models? But Ubuntu can ping itself by IP address and Hostname and windows computers can ping Ubuntu by hostname as well? navigate here Symmetric group action on Young Tableaux How to reduce the width of the equation in a text paragraph?

What is the meaning of ''cry oneself"? Ping Ubuntu From Windows share|improve this answer answered May 6 '14 at 22:33 user320938 1 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Basic Geometric intuition, context is undergraduate mathematics Why do some banks have more than one routing number in the US?

Please click the link in the confirmation email to activate your subscription.

What is the point of update independent rendering in a game loop? I installed some avahi, mdns, zeroconf packages (forget which ones) and now can ping from Windows <--> Ubuntu by pinging HOSTNAME.local Still can not ping actual hostnames (e.g. Good then. Ubuntu Hostname Not Visible On Network The ping does work with the modified hosts line. –vitaut Jan 23 '12 at 16:48 The 'wins' statement needs to go after 'files', not after 'mdns4_minimal'.

My Debian boxes now work as well as the Windows boxes Works a treat, thanks again! On Ubuntu, I still need to ping everything with .local Does anyone know if it's possible to ping without requiring the .local extension?? OP is welcome (and encouraged) to change their network configuration to achieve their goals of being able to use hostname rather than IP address to access their ubuntu server I personally his comment is here DistroUbuntu 14.04 Trusty Tahr Re: cant resolve ubuntu hostname from windows Originally Posted by techstop By suggesting to add an entry to the hosts file, I expected that it was understood

share|improve this answer answered Apr 14 '14 at 12:53 Sandeep Datta 19316 Beautiful, worked for me on Ubuntu 14.04. Either static (lmhosts, hosts) or dynamic (wins, dns). OS: Ubuntu 10.04 Samba & Miredo are installed 10.04 windows dns lan ping share|improve this question edited Feb 24 '11 at 5:31 asked Feb 22 '11 at 13:24 David 191115 add Faq Reply With Quote May 19th, 2011,04:01 AM #12 No Profile Picture punkboii View Profile View Forum Posts  Contributing User Devshed Newbie (0 - 499 posts)   

EDIT: now you've got me confused, you don't need a DHCP server for a static IP. After some searching I found a threat where somebody suggested modifying /etc/dhcp3/dhclient.conf and adding 'send hostname "blahblah"' This allowed me to see the hostname in my router but I still cannot DistroUbuntu 10.04 Lucid Lynx Re: cant resolve ubuntu hostname from windows one way, is to configure samba as a wins server ("wins support = yes" in smb.conf and point your win With DHCP you can't guarantee that.

How good should one be to participate in PS? How can I accurately cross-cut a board that is too wide for my table saw? How to capture disk usage percentage of a partition as an integer? Browse other questions tagged wireless networking server samba dns or ask your own question.

Location may be distro dependent but mine is at /var/lib/samba/wins.dat. Possibly some sort of firewall/AV issue on your host. –BJ292 May 21 '13 at 20:13 add a comment| up vote 2 down vote You need name resolution. Adv Reply March 3rd, 2010 #7 redmk2 View Profile View Forum Posts Private Message Grande Half-n-Half Cinnamon Ubuntu Join Date Jul 2008 BeansHidden! Maybe also allow to Apple and linux devices discover linux hosts.