My CM4 doesn't have wifi, so I tried with a couple devices:
Both support monitor-mode and injection. I'm not sure, but I think kali's extended kernel has support for them buit in, but it also doesn't have Gpi2 LCD support.
To check that it's working:
sudo apt install aircrack-ng
sudo airmon-ng check kill
sudo ip link set wlan0 down
sudo iw dev wlan0 set type monitor
WARNING: I couldn't get this to work with LCD patches, so I switched to PiOS + kali packages
- Install Kali for CM4 (64bit)
- Setup ssh & wpa_supplicant.conf files
- Install pi os lite (64bit), setup wifi, ssh & first user in Raspberry Pi Imager
- add LCD patches (use the retroarch folder)
- Install safe shutdown script
- Hold the kernel with
sudo apt-mark hold raspberrypi-kernel
- add
deb http://http.kali.org/kali kali-rolling main contrib non-free
to /etc/apt/sources.list sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6
sudo apt update && sudo apt-get dist-upgrade
If it asks, Choose "Y" to install the package-mantainer's version every time