Date: Thu, 6 Mar 2014 08:35:03 -0700 From: Warner Losh <imp@bsdimp.com> To: clutton <clutton@zoho.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org>, freebsd-drivers@freebsd.org Subject: Re: Reading burned-in NIC MAC address from the user space. Message-ID: <10C93415-7C49-459E-921E-EE358C3B886C@bsdimp.com> In-Reply-To: <1394115222.8935.17.camel@eva02> References: <1394115222.8935.17.camel@eva02>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 6, 2014, at 7:13 AM, clutton <clutton@zoho.com> wrote: > Hi lists. >=20 > I'm porting a GNU macchanger to the FreeBSD. Everything has almost = done, > except restoring the mac to the original one. >=20 > 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? I=92d check the source for ifconfig. ifconfig ep0 link 1:2:3:4:5:6 does the trick=85 Warner=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10C93415-7C49-459E-921E-EE358C3B886C>