this post was submitted on 03 Apr 2024
22 points (100.0% liked)

Linux

48397 readers
692 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 5 comments
sorted by: hot top controversial new old
[–] taladar 15 points 8 months ago

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

[–] lurch 4 points 8 months ago* (last edited 8 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.

[–] [email protected] 4 points 8 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

[–] [email protected] 1 points 8 months ago

I would use OpenWRT documentation to get an idea of low level mechanisms and paths. This looks like a rabbit hole but your answer is probably somewhere around here and is just setting an alias somewhere:

https://openwrt.org/docs/guide-developer/mac.address https://github.com/openwrt/openwrt/pull/2159

[–] gravitywell 1 points 8 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.