nbtstat for Linux

Mike A. Harris mharris at ican.net
Fri Jun 4 16:17:30 GMT 1999


On Fri, 4 Jun 1999, Gerald W. Carter wrote:

>> Is there an equivalent command to Win95's nbtstat for Linux?
>
>nmblookup -h
>
>do a node status request.

Ok, what is the equivalent of:  NBTSTAT -A 192.168.1.10
with the nmblookup command?

If I do "nmblookup -A 192.168.1.10" it waits for a while and then
gives me nothing.

What I'm looking for is the ability to type something like:

bash# NBNAME=$(gimmeyournebiosname 192.168.1.10)

And afterwards have the NBNAME=asdf - which is the name of
192.168.1.10.

What command, can give me this?  I can massage the output of the
command with perl if I need too.

This all assumes no WINS is running as well.


--
Mike A. Harris                   Linux advocate      GNU advocate
Computer Consultant                          Open Source advocate  

Tea, Earl Grey, Hot...



More information about the samba-ntdom mailing list