Skip to content

Instantly share code, notes, and snippets.

@basperheim
Last active April 30, 2024 17:02
Show Gist options
  • Save basperheim/d419491bc7a6889d99fb5cb72d58d0b6 to your computer and use it in GitHub Desktop.
Save basperheim/d419491bc7a6889d99fb5cb72d58d0b6 to your computer and use it in GitHub Desktop.
Fix "No wireless interface found" on a Raspberry Pi

Fix "No wireless interface found" on a Raspberry Pi

Step 1 - Fix the interfaces file

Remove everything but first 'source-directory' line in /etc/network/interfaces.

Using nano:

sudo nano /etc/network/interfaces

Use CTRL+K to delete lines, CTRL+O to save, and CTRL+X to exit nano editor.


Step 2 - Enable dhcpcd

Enable 'dhcpcd' with:

sudo systemctl enable dhcpcd

Step 4 - Disable networking

sudo systemctl disable networking

Step 5 - Restart Raspberry Pi

Restart the Pi to have the changes take effect.

Reboot from GUI, or use terminal command:

sudo reboot

WiFi should work now.

@SammySkycrafts
Copy link

Hey there,

I have been using raspberry pi 2 and 3 for a while with the same wifi dongles. I found them back recently and loaded the latest raspberry pi OS version and my 2 realtek dongles who have been working for years are not anymore recognized, even after installing firmware-realtek.

So I guess the problem comes from the OS as it's the only thing I have changed.

Same issue here with a pi1 B+ with an RTL8188CUS based dongle. Seems the kernel modules may have quietly been deleted for these devices... They work fine on buster, and even earlier bullseye versions, but do not work on the latest Bullseye, they do show when using lsusb though which leads me to think driver / module related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment