From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 6 14:13:56 2014 Return-Path: Delivered-To: freebsd-hackers@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 BA30B7E0; Thu, 6 Mar 2014 14:13:56 +0000 (UTC) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 9F00A9C0; Thu, 6 Mar 2014 14:13:56 +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=TbKtV4E48CcneUxWTX7odaq/XGHnJJYcwRW60U7AQGqauC11aEP7h4OYGNnZG0KehgDaj8xSOK8K dBa5KUcdEDLGRv3hCk4xXtydrLKKwd+PkCYbBhr/02U1tszSKwz0 Received: from [10.1.2.6] (46.229.54.117 [46.229.54.117]) by mx.zohomail.com with SMTPS id 1394115229136713.3836502795591; Thu, 6 Mar 2014 06:13:49 -0800 (PST) Subject: Reading burned-in NIC MAC address from the user space. From: clutton To: FreeBSD Hackers , freebsd-drivers@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rRtYReD8DgP0++REMgX1" Date: Thu, 06 Mar 2014 16:13:42 +0200 Message-ID: <1394115222.8935.17.camel@eva02> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-Zoho-Virus-Status: 1 X-ZohoMail: Ss SS_10 UW UB UW UB SF_TD_EXT SGR3_1_19024_40 X-ZohoMail-Owner: <1394115222.8935.17.camel@eva02>+zmo_0_ X-ZohoMail-Sender: 46.229.54.117 X-ZohoMailClient: External X-Mailman-Approved-At: Thu, 06 Mar 2014 14:33:44 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 14:13:56 -0000 --=-rRtYReD8DgP0++REMgX1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi lists. I'm porting a GNU macchanger to the FreeBSD. Everything has almost done, except restoring the mac to the original one. The Linux users can exploit ioctl with SIOCETHTOOL pointing to a proper ifreq(ETHTOOL_GPERMADDR), I have no idea how to do this using FreeBSD, is it even possible? --=-rRtYReD8DgP0++REMgX1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAABAgAGBQJTGIKWAAoJECNkWbjnbjuiwU8P/04mq0aGYhWB+LOZ0ytTGSGm HJgbbGOtuoJ4k02tvw0eIIaIkIXZ3uCehFCbxlLLdNbW1Zk9Zy2zIZ2e4TMnsrFe 6YhP3FBdmPs3a6XkpF0cmTYdWAx0mglIcLAWqF/8IPzf7VRfk1iiQh99//DucfiZ 7fSJPgBfzGELTLckOh+VILbe6MFIj3gy8OtJQUkBV59oANwZY7aml27qTucE3PQq MxebbOdDEv0ctpxLdsu1JUzzw6iB9wfGmrLDlITylHQIBcy1RtAOOkPTCOxC44ii MUoXBSV8Lg1Kl29nwGUqrCjdWxmZvmTYfO3jsVHcW4KtpS0yfEwdTV9mtdp7CRwr OLg9UiweLFTnUxvkSHxb30QliBpkmCOVZEC0MF60aapgdZvkQyoOT6len76WMh/+ h4MbLKBfP/xTE9fqfBt+/UA6VTlHfPSaXwHkGgz2boELGzkNJOroH5Uu9kLhSckd PjXLUsP5uTV7skjFK57XUmmAsxTJTFctUxEJKzu5RjOecNDJg8GuV7w7tRgHIkGM 48jrqp5Vogf3XVNWYv1tHbEZCHE8+AaRFD5eQuu88Sk1kdFxvWTil9hgYbuR6sw/ zb3YgrDxkg3EQHczUlicj2uyZXGecV3N/CGOlLIo5WfBXhPkTL6X5/EOmnJ5DoTV Mt/THI9DBz4++POaWucL =ORkF -----END PGP SIGNATURE----- --=-rRtYReD8DgP0++REMgX1--