Date: Tue, 18 Jun 2002 10:12:51 -0700 From: Darren Pilgrim <dmp@pantherdragon.org> To: "Kevin D. Wooten" <kevin@wooten.com> Cc: freebsd-questions@freebsd.org Subject: Re: Retrieving interface MAC address Message-ID: <3D0F6A13.46E2A4F2@pantherdragon.org> References: <3D0F66EA.1000003@wooten.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[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}' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0F6A13.46E2A4F2>