Wednesday, October 16, 2024

TP-Link TL-WN821N v2 on Raspbian Bullseye

Having updated to bullseye, my Wifi dongle stopped working with the error 

[ 2270.938923] usb 1-1.4: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 2270.938940] usb 1-1.4: Product: USB2.0 WLAN
[ 2270.938959] usb 1-1.4: Manufacturer: ATHER
[ 2270.938997] usb 1-1.4: SerialNumber: 12345
[ 2271.050454] usb 1-1.4: reset high-speed USB device number 8 using dwc_otg
[ 2271.218098] usb 1-1.4: Direct firmware load for carl9170-1.fw failed with error -2
[ 2271.218139] usb 1-1.4: firmware not found.

Solution

sudo apt install firmware-linux-free
sudo apt install firmware-linux-nonfree

Unplug/plug the dongle
Use iwlist scan to find the SSID for my wifi network
Use raspi-config to set the SSID and password
Connection is established in a few seconds

Note - ensure you have a decent USB power supply and cable to the RPi as the dongle draws some extra current.

No comments: