Wifi adapter not found - Ubuntu 24.04
https://askubuntu.com/questions/1565386/wifi-adapter-not-found-ubuntu-24-04My PC is a Dell Precision m4800. I have just installed Ubuntu on my machine, however the Wi-Fi is not working. It says: No Wi-Fi adapter found. I am new to Linux, and don't know how to diagnosis the issue.
I tried running the following commands.
sudo apt install linux-firmware
sudo apt install broadcom-sta-dkms
Then I rebooted my system, but it is not working. I am not sure if I can use this command, or if I should run another command that is compatible with my PC and corresponding Wi-Fi driver.
Results of sudo apt install linux-firmware:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-firmware is already the newest version (20240318.git3b128b60-0ubuntu2.25).
linux-firmware set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-20-generic
Building initial module for 6.17.0-20-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-20-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Results of sudo apt install broadcom-sta-dkms:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
broadcom-sta-dkms is already the newest version (6.30.223.271-23ubuntu1.1).
0 upgraded, 0 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-20-generic
Building initial module for 6.17.0-20-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-20-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)







