Andrew Jorgensen wrote:

I think what you're looking for is:

nmblookup -A <IP Address>

This will return a bunch of stuff. It should be fairly obvious which is the name you're looking for. You could then write a wrapper to pull off just the answer you want.

Beautiful! That is exactly what I wanted. Now, I can send linpopups to Windows users on my network!


--Dave

David Smith wrote:

If I've got an IP address, i.e. 10.0.0.5, and I want to do a reverse lookup to find the Windows name, i.e. "mydesktop", how would I do that on Linux?

--Dave


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list



____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to