Nexmon Driver keeps crashing on Pi3B+
Thanks for the great work on kali-arm for the Raspberry Pi target.
My setup is: HW: Raspberry Pi 3B+ SW: kali-linux-2021.2-rpi4-nexmon
I noticed that the Nexmon Driver (loaded via: monstart) somehow keeps crashing the Pi3B+ WiFi-firmware. The phenomen is as follows and can easily be recreated:
Scenario1:
- Bring up the integrated WiFi-Adapter in monitoring mode: monstart
- Start monitoring: airodump wlan0mon
- --> wlan0mon will crash within the next 5-15min
Scenario2:
- Bring up the integrated WiFi-Adapter in monitoring mode: monstart
- Start monitoring on a specific channel : airodump --channel 4 wlan0mon
- Stop Monitoring: CTRL+C
- Test injection: aireplay --test wlan0mon
- Injection will start and work (but instantly get slower)
- --> wlan0mon will crash instantly after first try.
I noticed that this completely kills the WiFi interface (i.e. wlan0mon AND(!) wlan0 are completely gone -- you can check with iwconfig that no more wireless interfaces are in existance). Wireless Interfaces can not be brought up again.... only thing that helps is a reboot.
I also tried to update firmware on my RPi using rpi-update. That seems to have made the phenomenon even worse. I have a feeling that now the interface crashes even faster.
Is the Nexmon Driver only compatible with a specific WiFi-Firmware maybe?
Thanks for the help and your awesome work! Cheers!
UPDATE: I tried with an external WiFi-adapter (CS300: Ralink rt2800usb driver). Despite knowing that this card works exceptionally well for packet injection also this card freezes up when being used with Pi3B+. I tried both cards (internal + CS300) and a Pi3B(non+) and both work perfectly. Something seems to be wrong with the kernel/drivers for the 3B+ model