Hi,
seems like I am missing some specific part when setting up my WLAN for kind of airodump.
Here I get stuck:
root@OpenWrt:~# airodump-ng prism0
Error setting monitor mode on prism0
And this is how I get there:
- installed brcm-2.4 stock binary of Kamikaze 7.09
- setup lan iface
- setup wifi in non-bridged mode
- setup ipkg
- install both aircrack-{ng|ptw}
- reboot to make sure everything is config'ed correct
- issue "wlc monitor 1"
ifconfig ~>
root@OpenWrt:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:66:C7:78:35
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:311 errors:0 dropped:0 overruns:0 frame:0
TX packets:529 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28991 (28.3 KiB) TX bytes:123227 (120.3 KiB)
Interrupt:5
eth0.0 Link encap:Ethernet HWaddr 00:0F:66:C7:78:35
inet addr:192.168.3.199 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:312 errors:0 dropped:0 overruns:0 frame:0
TX packets:257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23485 (22.9 KiB) TX bytes:33195 (32.4 KiB)
eth0.1 Link encap:Ethernet HWaddr 00:0F:66:C7:78:35
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:88179 (86.1 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
prism0 Link encap:UNSPEC HWaddr 00-0F-66-C7-78-37-00-00-00-00-00-00-00-00-00
-00
UP BROADCAST MTU:0 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wl0 Link encap:Ethernet HWaddr 00:0F:66:C7:78:37
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:23231
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4 Base address:0x1000
root@OpenWrt:~#
looks good
iwconfig ~>
root@OpenWrt:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth0.0 no wireless extensions.
eth0.1 no wireless extensions.
wl0 IEEE 802.11-DS ESSID:""
Mode:Repeater Frequency:2.432 GHz Tx-Power:19 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
prism0 no wireless extensions.
root@OpenWrt:~#
looks good - prism0 is present, but still:
root@OpenWrt:~# airodump-ng prism0
Error setting monitor mode on prism0
root@OpenWrt:~#
Can you give me a hint please! What am I missing?
Many thanks!
harry
--- additional -------------------------------------------
root@OpenWrt:~# airodump-ng prism0
Error setting monitor mode on prism0
root@OpenWrt:~# cat /etc/config/network
#### VLAN configuration
config switch eth0
option vlan0 "1 2 3 4 5*"
option vlan1 "0 5"
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
#option type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.3.199
option netmask 255.255.255.0
option dns 192.168.3.1
#### WiFi interface
config interface wifi
option ifname "wl0"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto dhcp
root@OpenWrt:~#
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device wl0
option type broadcom
option channel 5
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device wl0
option network wifi
option mode sta
option ssid bogus
option encryption none
root@OpenWrt:~#