Tuesday, June 8, 2010

Getting netbios name in linux

If you are using linux and administering a network full of windows machine, there is a tool called nbtscan to easily scan through the network and list all machines with their netbios name.

To install nbtscan in fedora:

# yum install nbtscan

To use it on single machine(let's say the machine's ip is
# nbtscan

To scan the whole class C and list netbios names:
# nbtscan

To scan ip range:
# nbtscan

To get all options to use nbtscan:
# nbtscan -h

No comments: