Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2016 22:35:12 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        diffusae <punasipuli@t-online.de>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: How to change MAC address on RPI-B?
Message-ID:  <d722e50a-b3b4-8a3e-63ee-45e7b03d535f@selasky.org>
In-Reply-To: <950d3edd-6b54-4935-ffec-bfcfbd257bb7@t-online.de>
References:  <950d3edd-6b54-4935-ffec-bfcfbd257bb7@t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d722e50a-b3b4-8a3e-63ee-45e7b03d535f>