Date: Wed, 19 Jun 2002 08:40:49 +0300 (EEST) From: Alexander V Zubchenko <stalker@hermes-comp.zp.ua> To: "Kevin D. Wooten" <kevin@wooten.com> Cc: Darren Pilgrim <dmp@pantherdragon.org>, <freebsd-questions@freebsd.org> Subject: Re: Retrieving interface MAC address Message-ID: <20020619084007.H16224-100000@server.hermes-comp.zp.ua> In-Reply-To: <3D0F6B4D.8040606@wooten.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Greetings! ethers(3) may help. Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 On Tue, 18 Jun 2002, Kevin D. Wooten wrote: > 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 > 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?20020619084007.H16224-100000>