How to change MAC address on RPI-B?
Hans Petter Selasky
hps at selasky.org
Tue Nov 8 21:30:10 UTC 2016
On 11/08/16 22:12, diffusae wrote:
> Hello!
>
> Does anyboy know how to change the MAC address on a Raspberry Pi with
> FreeBSD 11.0-STABLE?
>
> I've tried it this way in /etc/start_if.ue0:
>
> ifconfig ue0 down delete
> ifconfig ue0 promisc
> ifconfig ue0 ether 00:FF:CC:00:11:11
>
> But it's only possible to do it in promicous mode of the device.
> Without there is no more network connection after applying these settings.
>
> It could be properly a bug due to the USB network driver.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=168268
>
> Maybe there is another way, how with the Linux kernel command line or an
> config option, like this: smsc95xx.macaddr=00:FF:CC:00:11:11.
Hi,
The sys/dev/usb/net/if_smsc.c driver needs a patch to set the mac
address runtime. I think you can change the mac address in the RPI FDT
file and it will pick it up.
--HPS
More information about the freebsd-arm
mailing list