Rebooting your Ubuntu laptop after running system upgrades only to find that wireless networking has disappeared – with Settings reporting “No Wi-Fi Adapter Found” – is a common post-update Linux complication. In Ubuntu 22.04 LTS and 24.04 LTS, proprietary or out-of-tree wireless drivers (such as Realtek RTL8821CE/RTL8812AU or Broadcom BCM43142) rely on Dynamic Kernel Module Support (DKMS) to recompile driver binaries for newly installed Linux kernels. If DKMS compilation fails, kernel headers are missing, or UEFI Secure Boot blocks unsigned driver modules, Ubuntu cannot initialise your Wi-Fi card.
Boot into the Previous Working Kernel via GRUB
If you need immediate wireless connectivity to download packages, booting the previous working kernel confirms whether the new kernel image is the sole cause.
- Restart your computer.
- As the manufacturer splash screen appears, press and hold the Shift key (on BIOS/legacy systems) or tap the Escape key repeatedly (on UEFI systems) to display the GRUB bootloader menu.
- Use the arrow keys to highlight Advanced options for Ubuntu and press Enter.
- Scroll down to select the previous kernel release (e.g. choose
Linux 6.8.0-xx-genericinstead of6.8.0-yy-generic). Avoid selecting recovery mode entries. - Press Enter to boot.
- Once on the desktop, verify that your Wi-Fi connects normally. You can now execute the driver repairs below under the new kernel.
Install Matching Linux Kernel Headers and Build Tools
DKMS requires the exact C header files matching your running kernel version in order to build wireless kernel object (.ko) modules.
- Connect your laptop to the internet temporarily using an Ethernet cable or USB smartphone tethering.
- Open a Terminal window (Ctrl + Alt + T).
- Update your repository index:
sudo apt update - Install the essential compilation packages and headers for your active kernel:
sudo apt install -y build-essential dkms linux-headers-$(uname -r) - Check the status of existing DKMS driver modules:
dkms status - If an installed module indicates “broken” or unbuilt, recompile it:
sudo dkms autoinstall
Disable UEFI Secure Boot Validation for Out-of-Tree Drivers
Modern UEFI Secure Boot enforces strict digital signature verification on all kernel modules. If your Wi-Fi driver was compiled locally via DKMS without a machine-owner key (MOK), the kernel refuses to load the module.
- In Terminal, check if Secure Boot is active:
mokutil --sb-state - If Secure Boot is enabled and blocking drivers, initiate Secure Boot disabling:
sudo mokutil --disable-validation - Enter a temporary temporary password (e.g.
12345678) when prompted, and confirm it. - Reboot your laptop:
sudo reboot - Upon reboot, the blue MOK Management screen will appear. Press any key within ten seconds.
- Select Change Secure Boot state.
- Enter the requested characters of your temporary password and confirm disabling validation.
- Select Reboot. Ubuntu will now load out-of-tree wireless drivers without signature blocks.
Reinstall Proprietary Drivers via Additional Drivers Tool
Ubuntu provides an automated repository tool to identify and bind Broadcom and Realtek chipsets.
- Open the application drawer and launch Software & Updates.
- Click on the Additional Drivers tab.
- Allow Ubuntu to scan connected PCI and USB hardware.
- If your wireless adapter appears (e.g. Broadcom 802.11 Linux STA driver), select the radio button Using Broadcom 802.11 Linux STA driver source from bcmwl-kernel-source (proprietary).
- Click Apply Changes.
- Restart your computer once package installation completes.