I installed ubuntu xfce 23.04 on a 2014 macbook pro 11.1.

I’ve been trying to change the mac address with the cli, the same way I do with my main computer (with systemctl, NetworkManager and ip link), but nothing works, even though sudo systemctl status NetworkManager.service shows the NetworkManager as disabled and ip link shows the network’s status as down

Bad luck and I cannot change the mac on any macboook?

ETA: on this computer there is a partition with macOS installed. Could this be the reason?

  • taladar@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    9 months ago

    Originally those were not meant to be changed at all so hardware doesn’t always support changing it at all.

  • 2xsaiko
    link
    fedilink
    arrow-up
    6
    ·
    9 months ago

    I’m assuming you’re talking about the Wi-Fi modem. Can it be changed on macOS? It should do it for Apple’s “Private Address” feature that’s on by default which randomizes the MAC, but I have no idea whether that works on that specific hardware. If it does, it’s probably some chip that Linux doesn’t know how to handle this for, is my guess. If it doesn’t, then the chip probably can’t do it at all.

    ETA: on this computer there is a partition with macOS installed. Could this be the reason?

    It just being installed? No

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    9 months ago

    this is just general info: the other partition can’t be the reason, but fixed mac addresses in hardware were the standard decades ago. being able to change them is an optional feature that basucally has become the default nowadays. some hardware is also not able to run in promiscuous mode.

    if you try to change the mac address on a device that doesn’t support it, it will usually print an error saying so. if you don’t see one, also check the kernel message buffer.

  • Gravitywell@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    Have you tried macchanger? Also don’t disable network manager,.normally you should be able to change your Mac in network manager but it sounds like maybe you’re following a tutorial of some kind that might not be right.