From owner-freebsd-questions Tue Jun 18 22:40:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from matrix.zssm.zp.ua (matrix.zssm.zp.ua [212.8.32.10]) by hub.freebsd.org (Postfix) with ESMTP id AD2A537B406 for ; Tue, 18 Jun 2002 22:40:26 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by matrix.zssm.zp.ua (8.11.3/8.11.3) with ESMTP id g5J5a3o47581; Wed, 19 Jun 2002 08:36:06 +0300 (EEST) (envelope-from stalker@hermes-comp.zp.ua) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id DABE838302; Wed, 19 Jun 2002 08:40:49 +0300 (EEST) Date: Wed, 19 Jun 2002 08:40:49 +0300 (EEST) From: Alexander V Zubchenko To: "Kevin D. Wooten" Cc: Darren Pilgrim , Subject: Re: Retrieving interface MAC address In-Reply-To: <3D0F6B4D.8040606@wooten.com> Message-ID: <20020619084007.H16224-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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