Resolving NETBIOS names from Linux
12
votes
5
answers
46611
views
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
Asked by Juicy
(4125 rep)
Feb 6, 2015, 01:43 PM
Last activity: Nov 5, 2020, 07:27 PM
Last activity: Nov 5, 2020, 07:27 PM