pwn-to-own

External Wi-Fi Dongle

Firstly, your adapater needs to support monitor mode (as well as packet injection). I used this one which works well and supports 5ghz bands too, it has okay range and is quite affordable! There are plenty of other ones on the market that may even work better but are much more expensive.

For an adapter that does work out of the box, and you don’t care about the Pi internal wifi module add “dtoverlay=disable-wifi” to your /boot/firmware/config.txt. It disables the internal Wi-Fi and the external adaptor should work. Then do a reboot.

Not all Wi-Fi adapater drivers are supported (nor installed on the Pi) out of the box. For certain popular chipsets, there may be workarounds to getting it recognized and working nonetheless, but for beginners it is a pain (I know from personal experience)!

If it isn’t recognized and ready out of the box:

If you have a Pi Zero (or Zero 2), ensure the USB Wi-Fi dongle is connected to the DATA PORT (the one in the middle) and not the POWER ONLY PORT. You will most likely need a USB OTG Adapter to connect the dongle.

Scripts

Credit

[Advanced users only] withouut disabling the internal wifi adapter… you can access both wireless interfaces on the pi at the same time and then change the interface names, and have more flexibility.