We have multiple computers of different OS in a network. Mine is Mac OS X and most others are Window XP or 7. I will need to help monitor what computer gets connected. In past, I use Windows and have McAfee security which products a real-time map of all connected computers including each IP and Computer name.
Now using Mac OS X, I find nothing I can use. I tried nmap and Zenmap, but neither provides computer name, and neither is real-time monitor and scanning takes forever. There is NetworkView but it only works on Window machines.
What can I use?
Best Answer
Zenmap can Absolutely provide NetBIOS names (the names you are referring to).
Furthermore, you can tweak the nMap scan to only scan for up IP addresses, and NetBIOS details, which should really significantly reduce the scan duration.
Furthermore, it should, if you are willing to fall back to the terminal, be possible to make it update pretty rapidly, maybe every ~30 seconds.
For example, with the Zenmap command of:
Note: I use the
10.1.1.1
IP prefix. in your case, this will likely be192.168.something.something
The
/24
is the netmask. In this case, it causes nMap to scan everything from10.1.1.0
-10.1.1.255
. To use, you just paste the line above into the "Command" entry box in ZenmapHere is a scan of my LAN:
As you can see, it has resolved the information for all computers on my LAN that are reporting NetBIOS information. It also did all the above in ~9.4 seconds.
I did this on my windows computer because my mac (Apparently appropriately named iCrap, as you can see in the scan results) is freaking out at the moment, and I cannot restart it because I have some big file transfers in process. Nmap is platform agnostic, so the platform on which you do this scan should not matter. I did test this on the mac from the command line only, and it worked fine there too (well, it did trip the flood protection on my managed switch, but that's another issue).
I've edited the MAC address out from the scan.
I can add more information on how to set this up to scan continuously from the command line, if you would like.
You can see more information on the
nbstat.nse
script that I am using to query NetBIOS information here.The nmap brief man page is also very useful, for understanding what is going on.