From owner-freebsd-net@FreeBSD.ORG Sun Sep 21 12:13:29 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F120B1C for ; Sun, 21 Sep 2014 12:13:29 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [74.201.84.156]) by mx1.freebsd.org (Postfix) with ESMTP id 407A2236 for ; Sun, 21 Sep 2014 12:13:28 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:from:to:content-type:date:message-id:mime-version; b=jUKi2p6zROkOLTli3KgQxDiu9UJLOhFDeTFoVo6qh31OiNVOYsbcfIyJxf4ryXu1LmmddyffbOeb 0eF3/viYvISmMswt2yb9B6pLcS37c9ZjbMQ1soDS/m9CgkdseE9T Received: from [192.168.0.100] (host-176-36-82-223.la.net.ua [176.36.82.223]) by mx.zohomail.com with SMTPS id 141130160175125.734277567280287; Sun, 21 Sep 2014 05:13:21 -0700 (PDT) Subject: getting factory MAC address From: clutton To: freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" Date: Sun, 21 Sep 2014 15:13:17 +0300 Message-ID: <1411301597.21088.7.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ZohoMailClient: External X-Zoho-Virus-Status: 2 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: Sun, 21 Sep 2014 12:13:29 -0000 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