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 6: Line 6:
  
 
1. Get the tool
 
1. Get the tool
   $ wget https://raw.githubusercontent.com/rockchip-linux/rkwifibt/master/brcm_tools/dhd_priv.c
+
   $ wget https://raw.githubusercontent.com/radxa/rkwifibt/master/brcm_tools/dhd_priv.c
 
   $ gcc dhd_priv.c -o dhd_priv
 
   $ gcc dhd_priv.c -o dhd_priv
  

Revision as of 01:35, 21 April 2022

    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/radxa/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