From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 18:40:39 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F85CA59 for ; Tue, 30 Sep 2014 18:40:39 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.103]) by mx1.freebsd.org (Postfix) with ESMTP id EB233814 for ; Tue, 30 Sep 2014 18:40:38 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version; b=I0HfgZq37NkaKR9Km1qcNorCj73c2dEkjiXvoUw20aNw8TAh50CWHvpX4ZR3gJ1YjRVxdh1wX0ea hTrum2S2V10DfsnyUciTyARY3wlzbKa4QPlRC/9Dr35QVe1ZRZH6 Received: from [192.168.11.5] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1412101438604867.2155824796317; Tue, 30 Sep 2014 11:23:58 -0700 (PDT) Subject: Re: getting factory MAC address From: clutton To: freebsd-net@freebsd.org In-Reply-To: <201409301129.24825.jhb@freebsd.org> References: <1411301597.21088.7.camel@eva02> <201409301129.24825.jhb@freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 30 Sep 2014 21:23:54 +0300 Message-ID: <1412101434.4372.11.camel@eva02.mbsd> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ZohoMail: Ss SS_10 UW UB ZCF-710TPL UW UB SF_TD_EXT SGR3_1_23094_97 X-ZohoMail-Owner: <1412101434.4372.11.camel@eva02.mbsd>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 X-Zoho-Virus-Status: 2 X-ZohoMailClient: External 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 18:40:39 -0000 Thank you for answering, I looked for functionality by myself, and found none before asking. Drivers do it in different ways. On Tue, 2014-09-30 at 11:29 -0400, John Baldwin wrote: > 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? >