Netbios -> IP lookup?

Stuff that don´t fit in the other categories.
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Netbios -> IP lookup?

Post by ayu »

k guys, i'm at work atm and we have a pretty serious ip/netbios name crash.

If i ping a computer, i get the name assigned by the DNS and DHCP servers.

I need to resolve a NETBIOS name to an IP address, but i haven't succeeded so far.

Does anyone have a program that could do this? NOT a scanner that scans the whole net, just a simple app that would resolve the netbios address.

Operating system doesn't matter since i have 4 work computers, 2 win, 1 linux and 1 mac.

Fast answer would be appreciated :wink:

And thanks in advance to anyone who can help me! :D
"The best place to hide a tree, is in a forest"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

k i solved it myself ^^


i found a little app that could resolve all the names. It was a scanner though.

I am having a little textcolor problem with the computer atm so i can't find the app and post it ; /
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

meh...I still post a howto for Linux =P

open etc/nsswitch.conf

look for the line:

Code: Select all

hosts: files dns
and edit it:

Code: Select all

hosts: files dns wins
now install winbind via apt-get

when done you can simply use the ping-command, the ping resolves a netbios name to the IP then and vice versa.

:wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

oh, thanks b_b =D that's still useful even if i don't need it at work anymore, i will still apply it =)

Thanks
"The best place to hide a tree, is in a forest"

Post Reply