Date: Tue, 15 Nov 2016 23:25:46 +0100 From: diffusae <punasipuli@t-online.de> To: Hans Petter Selasky <hps@selasky.org>, freebsd-arm@freebsd.org Subject: Re: How to change MAC address on RPI-B? Message-ID: <80880af2-b1cd-5ff9-d089-2722ee8c3bca@t-online.de> In-Reply-To: <471aebe5-b890-4277-3269-977f8a8fefd4@selasky.org> References: <005701d23a7d$71400630$53c01290$@Kitz@xs4all.nl> <20161110065105.77a19e3b@X220.alogt.com> <000c01d23b3a$c06e1ef0$414a5cd0$@Kitz@xs4all.nl> <20161111094930.46f55a60@X220.alogt.com> <000f01d23c14$da3a6c00$8eaf4400$@Kitz@xs4all.nl> <445c56a4-2c35-cb4c-f729-950d4e758d8d@selasky.org> <8cc9d3c6-1c70-c9ac-a3a2-29f73e5ea9c3@t-online.de> <471aebe5-b890-4277-3269-977f8a8fefd4@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Thanks again for your patch. Sorry for the delay. You don't have to hurry. I've started a "buildword" on RPI-B and it tooks 3.5 days until it was finished. :-) I've revert the previous patch and applied the new one. Build the the new kernel and modules and copied the kernel and the relevant driver to /boot/kernel. It works on the fly. Now you can change the MAC address at boot. So settings in /etc/rc.conf: ifconfig_ue0="ether 00:11:22:33:44:55" or in /etc/start_if.ue0: /sbin/ifconfig $1 lladdr 00:11:22:33:44:55 works for me. With IPv6 you better have to use /etc/start_if.name. I am not sure, but do you like to commit the patch to head, so it will be available in FreeBSD 12? That would be great. Best regards, On 13.11.2016 08:42, Hans Petter Selasky wrote: > On 11/12/16 23:45, diffusae wrote: >> So, unfortunately it doesn't solve the problem. Or maybe I did something >> wrong? > > I patched the wrong IOCTL, sorry. I have a RPI2 myself, and will fix > this issue later today. Stay tuned. Meanwhile, can you test the new > attached patch and revert the previous one? > > --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80880af2-b1cd-5ff9-d089-2722ee8c3bca>