Search This Blog

Thursday, February 17, 2011

Determine Windows ComputerName only by IP address

To determine Windows ComputerName (DomainName) on linux when you only have IP address
you can call:
smbclient -L  ip_address
or
nmblookup ip_address

To get MAC address of the client's network card:
Linux (you need root privileges for that):
ping ip_address
arp | grep ip_address

Windows:
ping ip_address
arp -a

To determine you own IP address on Windows:
getmac
(it's a new command introduced in Vista)

No comments:

Post a Comment

If you like this post, please leave a comment :)