[Asterisk-Users] finding mac addresses

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jun 19 10:45:34 MST 2006


On Mon, Jun 19, 2006 at 10:21:16AM -0700, mojowrkn wrote:
> All, Can anyone point me to the best way to find the mac address of a phone
> on my system?? I can get the ip's just fine but dont seem to be able to pull
> mac addresses from any network tools.

Is it in your LAN?

if so, arp(8) is your friend. /proc/net/arp likewise.

You may need to ping the phone beforehand to make sure its address is
actually in the table.

If the phone is not in your LAN, there is no direct way to tell.

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list