There's a Windows machine called SUSAN on my network. From a Windows VM on my Linux box I can simply:
C:\>ping susan
I've followed this guide (and looked at several other similar ones) for resolving NETBIOS names from my Linux box itself.
I installed samba
and samba-winbind
. I edited this hosts
line in /etc/nsswitch.conf
from:
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
to
hosts: files wins mdns4_minimal [NOTFOUND=return] dns myhostname
Apparently I should now be able to ping SUSAN by her name (I can already ping her by her IP). But I'm getting:
user@localhost:~ $ ping susan
ping: unknown host susan