Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
What if nbtscan is not installed? – user310807 Sep 11 '15 at 14:11
up vote 5 down vote accepted

The program nbtscan can do this. In Ubuntu to install just use apt-get install nbtscan. Example usage is nbtscan

share|improve this answer

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

share|improve this answer

You could use nbtscan (

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.