How to change MAC address on RPI-B?
diffusae
punasipuli at t-online.de
Tue Nov 15 22:25:51 UTC 2016
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
More information about the freebsd-arm
mailing list