2

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.

  • Unfortunately the rtl7611 driver version just does not compile because of the changes in the kernel API and here, I guess.

  • 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

migrated from stackoverflow.com Jun 30 at 16:18

This question came from our site for professional and enthusiast programmers.

  • Just an update for anyone who stumbles upon this post. I just bought a different USB-Wifi Dongle, which works fine out-of-the-box with the Raspberry pi. I can put it in monitor mode and it works. – Duck Dodgers Jul 24 at 8:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.