From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 15:33:15 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8F6ADB2 for ; Tue, 30 Sep 2014 15:33:15 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A433DD11 for ; Tue, 30 Sep 2014 15:33:15 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2E441B939; Tue, 30 Sep 2014 11:33:14 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: getting factory MAC address Date: Tue, 30 Sep 2014 11:29:24 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <1411301597.21088.7.camel@eva02> In-Reply-To: <1411301597.21088.7.camel@eva02> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201409301129.24825.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 30 Sep 2014 11:33:14 -0400 (EDT) Cc: clutton X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2014 15:33:15 -0000 On Sunday, September 21, 2014 8:13:17 am clutton wrote: > Hi list. I'm relatively new here. So, Hi. :) > > I don't know how to read the real MAC, I mean the one which is burned in > ROM. Is it possible from the user space? I've ported GNU macchanger and > it's the last non ported feature. > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187363 > > In Linux it can be done like this: > https://github.com/alobbs/macchanger/blob/master/src/netinfo.c#L118 There is currently not a way to do this, though there is a patch to add this functionality currently on the lists. I believe gnn@ is looking at that patch? -- John Baldwin