[Asterisk-Users] finding mac addresses

Alexander Lopez Alex.Lopez at OpSys.com
Mon Jun 19 10:52:39 MST 2006


If they are on the same network you can do the following:

arp -a | grep $IPADDRESS |awk '{print $4}'

you may need to adjust awk(ed) position due to you distro.


> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Casey Boone
> Sent: Monday, June 19, 2006 1:30 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] finding mac addresses
> 
> as long as they are in the same network segment as the asterisk server
> you can use arp
> 
> man arp
> 
> 
> 
> 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.
> >
> > Thanks-John
> >
> >
> >
------------------------------------------------------------------------
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list