Difference between revisions of "Rockpi4/dev/monitor-mode"
Line 4: | Line 4: | ||
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 | ||
Line 18: | Line 20: | ||
4. Turn off monitor mode | 4. Turn off monitor mode | ||
$ sudo ./dhd_priv monitor 0 | $ 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