Nistar36 - Silent & Secure

A computer designed especially for you.

3 November 2026 · 5 min read

MacBook Air without a bad driver

Tails boots on an old MacBook Air without a hitch, but the list of Wi-Fi networks stays empty. This is not a fault but a deliberate decision by the Tails developers: the card in this computer works on Linux only with a closed driver, and Tails does not let such code into the system. It turns out the problem can be solved for about 5 euros and a quarter of an hour with a screwdriver.

A card Linux does not like

MacBook Airs from 2013-2017 have a Wi-Fi and Bluetooth module labelled BCM94360CS2. Inside is a Broadcom BCM4360 chip. None of the free drivers in the Linux kernel, neither b43 nor brcmfmac, supports it. The only option is the wl driver, which Broadcom distributes in binary form only.

Many distributions install it for the user's convenience. From a security point of view this is a bad compromise. Code that no one but the manufacturer can read runs in the system kernel with full privileges. On top of that, it directly processes radio frames that any device in range can transmit, which means it is exposed to attack from outside. In 2019 buffer overflow bugs were described in it (CVE-2019-9501 and CVE-2019-9502).

The driver is also abandoned. Its last release dates back roughly a decade, and distributions merely patch it so that it compiles against new kernels. Compilation happens on the user's computer through DKMS, so the system has to include a compiler and kernel headers, tools that a hardened system should not have. All it takes is a failed compilation after a kernel update, and after a restart Wi-Fi simply disappears. For these reasons the wl driver is excluded from the Nistar36 OS distribution.

A MacBook Pro card fits the Air

The solution is a module from another Apple computer. MacBook Pros from 2015 (models A1398 and A1502) have a BCM943602CS card with a Broadcom BCM43602 chip. It has the same connector as the module in the MacBook Air and, most importantly, it is supported by the brcmfmac driver, which has been part of the Linux kernel for years.

So there is no compilation, no DKMS and no code from outside the kernel. The system only needs the firmware file brcmfmac43602-pcie.bin, which in Debian comes in the firmware-brcm80211 package. To be fair, this firmware is closed. It runs, however, on the card's own chip rather than in the system kernel, just as it does in Intel or MediaTek cards, which are considered the model of good Linux support.

Cards taken from MacBook Pros can be bought on Polish auction sites for about 20 zlotys, roughly 5 euros. When buying, look for the marking 653-0194 or Z653-0194. It is easy to confuse it with the BCM94360CS and BCM94360CSAX cards, which show up in the same search results but contain the familiar BCM4360 chip and again require the wl driver. Offers of a BCM943602CS card with three antennas for about 90 zlotys are not suitable either, because these are desktop versions mounted on a PCIe adapter.

The MacBook Pro card is slightly longer than the original and sticks out a little once fitted, which according to tests in the A1465 model does no harm. It also has three antenna connectors, while the MacBook Air has only two antennas, so one connector stays free.

A quarter of an hour with a screwdriver

The swap requires two screwdrivers, a Pentalobe P5 for the bottom cover and a Torx T5 for the card itself, as well as a plastic spudger. The computer must be switched off.

The bottom cover is held by ten Pentalobe screws, two longer and eight shorter, so it is worth remembering where the longer ones went. Once they are out, the cover comes off by sliding your fingers between it and the screen and pulling gently upwards.

The first thing to do inside is always to disconnect the battery. The connector is lifted from both of its shorter sides, and the cable is bent slightly aside so that it cannot accidentally touch the socket. Only then is it safe to work on the motherboard.

The Wi-Fi card sits next to the battery. Use the spudger to disconnect the two antenna cables, undo the single Torx T5 screw, lift the free end of the card slightly and slide it straight out of the socket. The new card goes into the same place, and the antennas are connected to two of its three connectors. Finally, reconnect the battery and screw the cover back on.

After the system starts, it is easy to check that the card works. The command lspci -nnk should show the entry Kernel driver in use: brcmfmac next to the network card, and the network manager will display a list of available Wi-Fi networks.

What we lose and what we gain

The swap has one practical limitation. The Internet Recovery feature in the MacBook firmware, which downloads Apple's recovery system from the network, works over Wi-Fi only with the original card. After the swap, a wired connection through a Thunderbolt-Ethernet adapter remains, so it is worth keeping the old card.

The BCM43602 chip usually runs stably on Linux, although there are reports of dropped connections, mainly in the 5 GHz band. Should that happen, a fallback is a USB adapter with a MediaTek MT7921AU chip, supported by an in-kernel driver. Those who want to go a step further can use a USB adapter with an Atheros AR9271 chip, in which both the driver and the firmware are open, at the cost of working only in the 2.4 GHz band.

The gain, however, is clear. For the price of a cup of coffee, a closed kernel module disappears from the system, and with it the compiler on the user's computer and the risk of losing Wi-Fi after every update. The computer also stays fully mobile, with no extra adapter taking up one of its only two USB ports. A ten-year-old MacBook Air thus gets a second life as a light, properly working Linux laptop.

Sources

← All articles