Is it possible to replace the wifi card on a Macbook pro 11,2 (Retina, 15-inch, Late 2013)? If so, are there any compatible wifi cards with open source drivers for Linux?
I am running Linux on my macbook pro and it has a Broadcom BCM4360 wifi card. Problem is that the driver for it is proprietary (or more accurately, mostly proprietary with some of the source code available), quite outdated, and I couldn't get it to work with Linux kernel v6.9.5.
I am running Gentoo Linux on my macbook with a custom kernel. I previously had wifi working, but then I reinstalled Gentoo (because I wanted to do full disk encryption), copied over the kernel config file from my previous install (which I knew had working wifi), migrated it to a newer kernel version (plus added support for full disk encryption) and now the wifi drivers won't even compile.
So, I was thinking of replacing the current wifi card with something that has modern and open-source drivers for it. Is it possible to do that on a Macbook pro 11,2 (Retina, 15-inch, Late 2013)? If so, are there any compatible wifi cards with open source drivers for Linux?
I wouldn't bet on it. The Wi-Fi/Bluetooth module in there doesn't seem to have a standard form factor so even if you can slot in a standard module you might not be able to connect the antenna wires. Also, this MBP came out just around the same time as M.2 so you'll probably have to go for an older mPCIe module.
Have you opened it up yet? I think that if it uses a standard connection then you can probably get it working with Gentoo without any issues, or any distro really. Just buy a card that you know the distro has drivers for. It will never work with Mac OS again though once you swap the hardware, unless you swap it back. It doesn't sound like you care about that, so it's a non issue.
Forewarning, Apple solders some components to the board. They've done that with RAM before. So, you may need decent desoldering skills to successfully swap it. Otherwise it should be pretty easy. Those mobile NIC are usually really easy to swap. Un-tape the wire that serves as an antenna, remove one small screw, and pop them out. Reverse it to reinstall.
The hardest part is probably going to be getting the case open, but I'm sure there are YouTube videos for that. Take a piece of paper and trace the MacBook. Then tape every screw you remove to the paper from the spot that you removed it from. For example, if you remove a screw from the top right corner, then tape the screw to the top right corner of the traced shape on the paper. You can also just skip tracing it and treat the outside edges of the paper as the outer edges of the case. Anyways, the taping method is how I used to keep track of where every screw goes when I was working on laptops.
I’m not sure if the first link’s steps were necessary to enable the second step or not. And of course this is for Pop, so the Gentoo equivalent for Pop Shop, but I imagine there’s generally driver compatibility between linux distros?
Could you roll back to the previous kernel version that worked? I know you said you overwrote the config, but figuring out what it was seems like it'd be easier than having to replace the Wifi card