I try to change config Managed Mode to Monitor Mode
I use Linux OpenWrt 3.18.29 - BusyBox v1.23.2
The following is my wireless configuration
|------------------------------
|config wifi-device radio0
| option type ralink
| option ht 20
|
|config wifi-iface
| option device radio0
| option network lan
| option mode monitor
| option hidden 1
|------------------------------
The following is my network configuration
|-------------------------------------
|config interface 'loopback'
| option ifname 'lo'
| option proto 'static'
| option ipaddr '127.0.0.1'
| option netmask '255.0.0.0'
|
|config globals 'globals'
| option ula_prefix ''
|
|config interface 'lan'
| option ifname 'eth0.1'
| option force_link '1'
| option macaddr ''
| option type 'bridge'
| option proto 'static'
| option ipaddr '192.168.8.1'
| option netmask '255.255.255.0'
|
|config interface 'wan'
| option ifname 'radio0'
| option force_link '1'
| option macaddr ''
| option proto 'dhcp'
|--------------------------------------
when i use 'iw reg get', i can see the changed mode
|------------------------------------------------------------------
|root@OpenWrt:/etc/config# iw reg get
|global
|country 00: DFS-UNSET
| (2402 - 2472 @ 40), (6, 20), (N/A)
| (2457 - 2482 @ 40), (6, 20), (N/A), PASSIVE-SCAN
| (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
| (5170 - 5250 @ 160), (6, 20), (N/A), PASSIVE-SCAN
| (5250 - 5330 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
| (5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
|------------------------------------------------------------------
but, when i use 'iwconfig', it was not changed
|-------------------------------------------------
|ra0 RTWIFI SoftAP ESSID:"WRTnode1A7C"
| Mode:Managed Channel=11 Access Point:
|-------------------------------------------------
How can I set it to monitor mode?
***
I had download package from the following site:
#1.
https://github.com/openwrt-mirror/openwrt
I had used the following commands:
git clone
https://github.com/openwrt-mirror/openwrt.git
(i fixed the url)
and then I did make menuconfig
#2. I tried the following link, too.
https://github.com/wrtnode-sdk/openwrt
But the same result.
After setting menuconfig, "make V=s" has been done.
I don't know what to look at further.
cf)
Menuconfig
Language - Lua - libwiinfo-lua
Libraries - libiw
Libraries - libiwinfo
Network - iw
Utilities - iwcap
Utilities - iwcap
with defalut config