getting the MAC address from an ip

2005-06-24 Thread LeVA
Hi! How can I get a machines mac address, if I only know it's ip? Thanks! Daniel -- LeVA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: getting the MAC address from an ip

2005-06-24 Thread martin f krafft
also sprach LeVA [EMAIL PROTECTED] [2005.06.24.1452 +0200]: How can I get a machines mac address, if I only know it's ip? ping it, then use /usr/sbin/arp. There are also tools that can do this, but I can't find their names now. -- Please do not send copies of list mail to me; I read the list!

Re: getting the MAC address from an ip

2005-06-24 Thread Felix Seeger
Hi, you could try arping, just ping the ip with it: http://packages.debian.org/stable/net/arping -- fs Am Friday, 24. June 2005 14:52 schrieb LeVA: Hi! How can I get a machines mac address, if I only know it's ip? Thanks! Daniel -- LeVA -- To UNSUBSCRIBE, email to [EMAIL

Re: getting the MAC address from an ip

2005-06-24 Thread Ray Miller
On Friday 24 June 2005 13:52, LeVA wrote: Hi! How can I get a machines mac address, if I only know it's ip? In general you can't, but if it's on the same physical network you can ping it and look in your system's ARP cache: $ ping -c 1 IPADDR $ /usr/sbin/arp -a IPADDR -- Ray Miller,

Re: getting the MAC address from an ip

2005-06-24 Thread Steve Kemp
On Fri, Jun 24, 2005 at 02:52:40PM +0200, LeVA wrote: How can I get a machines mac address, if I only know it's ip? If it's on your LAN ping it then look at your arp cache: [EMAIL PROTECTED]:~$ ping -c 1 192.168.1.1 /dev/null [EMAIL PROTECTED]:~$ /usr/sbin/arp 192.168.1.1 Address

Re: getting the MAC address from an ip

2005-06-24 Thread Bernd Eckenfels
In article [EMAIL PROTECTED] you wrote: How can I get a machines mac address, if I only know it's ip? if it is on your local network you can ping it and then use arp -a. If it is remote you cant. (you need to login or use other applications which use the mac for stuff like uuid generation) BTW: