From owner-freebsd-questions Tue Jun 18 10:13: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146]) by hub.freebsd.org (Postfix) with ESMTP id B738837B406 for ; Tue, 18 Jun 2002 10:12:59 -0700 (PDT) Received: from spark.techno.pagans (spark.techno.pagans [4.61.202.145]) by spork.pantherdragon.org (Postfix) with ESMTP id A7428471DA; Tue, 18 Jun 2002 10:12:55 -0700 (PDT) Received: from pantherdragon.org (speck.techno.pagans [172.21.42.2]) by spark.techno.pagans (Postfix) with ESMTP id B65D4FDA0; Tue, 18 Jun 2002 10:12:51 -0700 (PDT) Message-ID: <3D0F6A13.46E2A4F2@pantherdragon.org> Date: Tue, 18 Jun 2002 10:12:51 -0700 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Kevin D. Wooten" Cc: freebsd-questions@freebsd.org Subject: Re: Retrieving interface MAC address References: <3D0F66EA.1000003@wooten.com> Content-Type: text/plain; charset=us-ascii 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 [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