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
Revision as of 10:11, 7 September 2020 by Setq (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    ROCK Pi 4 >  Development >  Setting 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 1