Date: Tue, 18 Jun 2002 10:18:05 -0700 From: "Kevin D. Wooten" <kevin@wooten.com> To: Darren Pilgrim <dmp@pantherdragon.org> Cc: freebsd-questions@freebsd.org Subject: Re: Retrieving interface MAC address Message-ID: <3D0F6B4D.8040606@wooten.com> References: <3D0F66EA.1000003@wooten.com> <3D0F6A13.46E2A4F2@pantherdragon.org>
index | next in thread | previous in thread | raw e-mail
Darren Pilgrim wrote:
>[redirected from -hackers, this is a general technical question]
>
>"Kevin D. Wooten" wrote:
>
>
>>How can I go about retrieving the MAC address for an interface? Since
>>SIOCGHWADDR doesn't seem to be implemented. Can anyone help??
>>
>>
>
>ifconfig [interface] | grep ether | awk '{print $2}'
>
>
>
>
I apologize I should have been more specific, I meant through 'C'.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0F6B4D.8040606>
