From owner-freebsd-questions Tue Jun 18 10:18:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from c000.snv.cp.net (h008.c000.snv.cp.net [209.228.32.72]) by hub.freebsd.org (Postfix) with SMTP id 84FC537B410 for ; Tue, 18 Jun 2002 10:18:06 -0700 (PDT) Received: (cpmta 8351 invoked from network); 18 Jun 2002 10:18:05 -0700 Received: from 63.114.153.104 (HELO wooten.com) by smtp.wooten.com (209.228.32.72) with SMTP; 18 Jun 2002 10:18:05 -0700 X-Sent: 18 Jun 2002 17:18:05 GMT Message-ID: <3D0F6B4D.8040606@wooten.com> Date: Tue, 18 Jun 2002 10:18:05 -0700 From: "Kevin D. Wooten" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Darren Pilgrim Cc: freebsd-questions@freebsd.org Subject: Re: Retrieving interface MAC address References: <3D0F66EA.1000003@wooten.com> <3D0F6A13.46E2A4F2@pantherdragon.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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