Q. Has anyone managed to configure a raspberry-pi 3 b for monitor-mode?
I have an external (Edimax) WiFi USB dongle also, which works with my PC in monitor mode but does not work with the raspberry pi.
I know about the nexmon project and the limitations of the builtin broadcom chips regarding not being able to work in monitor mode.
I already tried the re4son kernel also. The re4son kernel once installed does not let the raspberrypi boot up cleanly. Some errors about not being able to configure network time.
I am unable to compile the nexmon patch because of a missing dependency (libmpfr4). I downloaded the source for that library, but strangely it compiles to libmpfr6 and not libmpfr4 (even though the download source package is named mpfr4.0.2. I mean who came up with that numbering scheme?)
I downloaded rpi-source that is needed to build modules and tried also downloading and compiling two driver versions for the Edimax Dongle - the rtl8192cu driver version and the rtl7611 driver and thought I could compile the driver and loaded into the kernel.
The RTL8192cu compiled and as per the instructions here, I blacklisted the builtin 8192cu driver and installed the compiled driver. Rebooted and was expecting to be able to put the external wifi dongle into monitor mode, but alas. It wouldn't go into monitor mode still.
sudo ifconfig wlan1 down sudo iwconfig wlan1 mode monitor iwconfig