Skip to content

Neo installer: false "m1n1 did not provide the Wi-Fi MAC address" warning (find skips the /proc/device-tree symlink) #75

Open

Description

@scottjones

Drafted with an AI assistant (Claude Code); I reviewed it before posting.

On every Neo install (10.10.5, 10.10.10 and 2026.10.11.13, J700) the installer prints:

warning: m1n1 did not provide the Wi-Fi MAC address (wifi0 local-mac-address); Wi-Fi will refuse to start

m1n1 does provide it, and Wi-Fi starts. On the running .13 boot, /proc/device-tree/soc/pcie@1cb0000000/pci@0,0/wifi@0,0/local-mac-address holds this Neo's Apple-OUI address (7c:d1:ad:…), and wlan0 uses it (addr_assign_type 0).

The cause is in neo_radio_notice():

mac=$(find /proc/device-tree -path '*wifi*' -name local-mac-address 2>/dev/null | head -1)

/proc/device-tree is a symlink to /sys/firmware/devicetree/base. Without -H or -L, find doesn't descend into a symlinked starting point, so this always returns nothing. On the Neo:

$ find /proc/device-tree -path '*wifi*' -name local-mac-address     # (no output)
$ find /proc/device-tree/ -path '*wifi*' -name local-mac-address
/proc/device-tree/soc/pcie@1cb0000000/pci@0,0/wifi@0,0/local-mac-address
$ find -H /proc/device-tree -path '*wifi*' -name local-mac-address
/proc/device-tree/soc/pcie@1cb0000000/pci@0,0/wifi@0,0/local-mac-address

Fix: find -H /proc/device-tree … (or a trailing slash), so the "provided by this Neo's m1n1" branch can be reached. It's worth checking for other find /proc/device-tree calls with the same pattern.

This corrects my guess on chriskearney#122, where I said the warning read the previous m1n1's device tree.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions