smbclient -L host works. ping host doesn't work. What is missing

Posted by DrorCohen on Super User See other posts from Super User or by DrorCohen
Published on 2013-11-11T19:38:45Z Indexed on 2013/11/11 21:58 UTC
Read the original article Hit count: 174

Filed under:
|
|
|

I upgrade my ubuntu desktop to 13.10. When I say upgrade I mean installed on a new partition from scratch (old partition is available if

To the problem: I'm trying to ping a host (Drobo-FS server) by it's netbios name. I get "Unknown Host". However running smbclient -l HostName - give me all the output in the world.

Stracing the ping I can it tries to use resolv.conf (expected fail) and then when accessing mdns stuff it fails (no mdns.allow file) and exits. Here's the host line from /etc/nsswitch.conf:

hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4

I've added wins right after files (and also tried before dns. Nothing helps. Reboot after every change.

What am I missing?

© Super User or respective owner

Related posts about ubuntu

Related posts about networking