Re: Getting a stable MAC address for a RPI CM3+ with ue0 interface

"Patrick M. Hausen" <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hi!


> Am 20.09.2023 um 20:25 schrieb Mark Millard <[email protected]>:
> Quoting a post from a "Raspberry Pi Engineer & Forum Moderator"
> (PhilE) from https://forums.raspberrypi.com/viewtopic.php?t=327562 :
> 
> QUOTE
> Re: /boot/cmdline.txt help
> Thu Jan 13, 2022 8:35 am
> 
> And on all Pis you can use the config.txt setting "force_mac_address":
> 
> force_mac_address=aa:bb:cc:dd:ee:ff
> END QUOTE
> 
> That makes the live dtb match and is the earliest assignment
> available, before any external visability.


No worky.

root@generic:~ # ifconfig ue0
ue0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
ether 5e:2f:31:ef:bc:b4

root@generic:~ # cat /boot/efi/config.txt 
[all]
arm_64bit=1
dtparam=audio=on,i2c_arm=on,spi=on
dtoverlay=mmc
dtoverlay=disable-bt
device_tree_address=0x4000
kernel=u-boot.bin
force_mac_address=b8:27:eb:09:cb:7d

In that thread you cited PhilE also wrote:

> With the right overlay and a supporting Ethernet driver it could be made to change the MAC address of any
> single interface - it depends on where the ethernet0 alias points to.

So do we possibly not have the "right overlay and supporting Ethernet driver"?

I'll go with static configuration for now to get this puppy up and running - still very interested in a proper solution.

Kind regards,
Patrick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.