Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rockpi4/dev/monitor-mode"

< Rockpi4‎ | dev
Line 17: Line 17:
  
 
4. Turn off  monitor mode
 
4. Turn off  monitor mode
   $ sudo ./dhd_priv monitor 1
+
   $ sudo ./dhd_priv monitor 0

Revision as of 10:16, 18 December 2020

    ROCK Pi 4 >  Development >  Setting WiFi Monitor Mode 

ROCK Pi 4 supports monitor mode, more information about monitor mode click here.

1. Get the tool

  $ wget https://raw.githubusercontent.com/rockchip-linux/rkwifibt/master/brcm_tools/dhd_priv.c
  $ gcc dhd_priv.c -o dhd_priv

2. Turn on monitor mode

  $ sudo ./dhd_priv channel 6
  $ sudo ./dhd_priv monitor 1

3. Test monitor mode

  $ sudo tcpdump -i wlan0 -s 0

4. Turn off monitor mode

  $ sudo ./dhd_priv monitor 0