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.
Enable 'dhcpcd' with:
sudo systemctl enable dhcpcd
sudo systemctl disable networking
Restart the Pi to have the changes take effect.
Reboot from GUI, or use terminal command:
sudo reboot
WiFi should work now.
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.