I just started using Ubuntu on my old MacBook, and the WiFi doesn't work. When I go to the WiFi settings, it says "No Wi-Fi Adapter Found". I went to Software & Updates>Additional Drivers, and tried to install network drivers, but when I clicked "apply changes" it said "error while applying changes pk-client-error-quark: Cannot download packages whilst offline (257)". Before I installed Ubuntu, I booted it off of a live USB, and the WiFi worked just fine, but now it doesn't. I can confirm that it is not a hardware problem, because when I booted into mac OS, the WiFi worked. I am using Ubuntu 20.04.1 LTS.
04:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
Subsystem: Apple Inc. AirPort Extreme [106b:00ef]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 256 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at c1900000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma