6

I want to scan my network periodically and get the Ip, mac, OS and netbios name.

So far I got everything done with a bashscript that runs nmap, but the netbiosname is still a problem.

wurlog
  • 303
  • 1
  • 4
  • 17

3 Answers3

11

The program nbtscan can do this. In Ubuntu to install just use apt-get install nbtscan. Example usage is nbtscan 192.168.1.0/24 on a class C network.

Aleksandar Ivanisevic
  • 3,327
  • 19
  • 24
Kyle Brandt
  • 82,107
  • 71
  • 302
  • 444
6

more specifically, nbtscan -v 192.168.1.0/24, This will scan the whole c class, if your node is part of the broadcast address network. (192.168.1.0)

LJacob
  • 61
  • 1
  • 1
1

You could use nbtscan ( http://unixwiz.net/tools/nbtscan.html)

Dominik
  • 2,198
  • 13
  • 9