Beaglebone Green Gateway

Connmanctl keeps assigning a new mac address on power cycle. Did anyone else have seen this issue?

When I had a similar issue is was due to an out of date bb-usb-gadgets package:
https://groups.google.com/g/beagleboard/c/dtnHtzUvlhg/m/zwWc34B_AgAJ

HI @controlsforall we need to find a better solution for this… The USB Ethernet adapter doesn’t seem to have a default mac address, unless we are missing something in the kernel driver. Which we didn’t really catch till users started receiving units, by then the default image was essentially broken, on the shipped units.

We should either update the device tree in U-Boot and patch an address in, or another fix.

Today we sort of change the mac after bootup by the “am335x_evm.sh” script, but yeah we need a better solution:

cpsw_4_mac, is the unique MAC eFUSE burned in all AM335x’s, + “5”…

Regards,

Hard coding it did not help.
image

debian@beaglebone:~$ connmanctl services
*AO Wired ethernet_ba3f6add5dbc_cable
wifi_64694e7e839d_hidden_managed_psk
bassg wifi_64694e7e839d_6261737367_managed_psk
DIRECT-25710_PT-P950NW wifi_64694e7e839d_4449524543542d32353731305f50542d503935304e57_managed_psk
SpectrumSetup-A0 wifi_64694e7e839d_537065637472756d5365


ethernet_b2ade99e4f0b_cable
wifi_64694e7e839d_hidden_managed_psk
bassg wifi_64694e7e839d_6261737367_managed_psk
DIRECT-25710_PT-P950NW wifi_64694e7e839d_4449524543542d32353731305f50542d503935304e57_managed_psk
BTHnetwork wifi_64694e7e839d_4254486e6574776f726b_managed_psk
SpectrumSetup-A0 wifi_64694e7e839d_537065637472756d53657475702d4130_managed_psk
wifi_64694e7e839d_hidden_managed_ie