Difference between revisions of "Rockpi4/dev/monitor-mode"
(Created page with "{{rockpi4_header}} {{Languages|rockpi4/dev/monitor-mode}} ROCK Pi 4 > Development > Setting Monitor Mode R...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{rockpi4_header}} | {{rockpi4_header}} | ||
{{Languages|rockpi4/dev/monitor-mode}} | {{Languages|rockpi4/dev/monitor-mode}} | ||
− | [[rockpi4 | ROCK Pi 4]] > [[rockpi4/dev | Development]] > [[rockpi4/dev/monitor-mode | Setting Monitor Mode ]] | + | [[rockpi4 | ROCK Pi 4]] > [[rockpi4/dev | Development]] > [[rockpi4/dev/monitor-mode | Setting WiFi Monitor Mode ]] |
ROCK Pi 4 supports monitor mode, more information about monitor mode click [https://en.wikipedia.org/wiki/Monitor_mode here]. | ROCK Pi 4 supports monitor mode, more information about monitor mode click [https://en.wikipedia.org/wiki/Monitor_mode here]. | ||
+ | |||
+ | == For 4.4 vender kernel == | ||
1. Get the tool | 1. Get the tool | ||
− | $ wget https://raw.githubusercontent.com/ | + | $ 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 | ||
Line 17: | Line 19: | ||
4. Turn off monitor mode | 4. Turn off monitor mode | ||
− | $ sudo ./dhd_priv monitor | + | $ sudo ./dhd_priv monitor 0 |
+ | |||
+ | == For mainline kernel == | ||
+ | |||
+ | TBD |
Latest revision as of 13:30, 13 May 2022
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