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

Rockpi4/dev/monitor-mode

< Rockpi4‎ | dev
    ROCK Pi 4 >  Development >  Setting WiFi Monitor Mode 

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

For 4.4 vender kernel

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

For mainline kernel

TBD