OpenWrt Forum Archive

Topic: OpenWrt and monitor mode (RFMON)

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hey people,


i got a problem by using aircrack on my wrt54g. I also installed iw-tools


iwpriv shows:
--------------------------------------------------------------------------------------
iwpriv

eth1 Available private ioctls :
set_monitor (8BE0) : set 1 int & get 0
get_monitor (8BE1) : set 0 & get 1 int
set_txpwr_force (8BE2) : set 1 int & get 0
get_txpwr_force (8BE3) : set 0 & get 1 int
set_antdiv (8BE4) : set 1 int & get 0
get_antdiv (8BE5) : set 0 & get 1 int
set_txant (8BE6) : set 1 int & get 0
get_txant (8BE7) : set 0 & get 1 int
set_bss_force (8BE8) : set 1 int & get 0
get_bss_force (8BE9) : set 0 & get 1 int

... and this means that monitor mode is available !

............................................................................................................

iwconfig eth1 mode monitor channel 6


eth1 IEEE 802.11-DS ESSID:""
Mode:Monitor Frequency:2.472 GHz Tx-Power:31 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Link Quality:0 Signal level:0 Noise level:159
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:117 Invalid misc:0 Missed beacon:0

...this is working without problems !!!

............................................................................................................

BUT:

when i use airodump i get the following error:

airodump eth1 test 06 01


ARP linktype is set to 1 (Ethernet) - expected ARPHRD_IEEE80211
or ARPHRD_IEEE80211_PRISM instead. Make sure RFMON is enabled:
run 'ifconfig eth1 up; iwconfig eth1 mode Monitor channel <#>'

But iwconfig shows that the card is already set to monitor mode !!

............................................................................................................
dmesg

eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
device eth1 entered promiscuous mode

... das zeigt es ja auch !!

Does anybody know what i´m doing wrong ??
I would be very greatful !!!!

use the prism0 interface for capture instead of eth1

yaer, it worx !!!

Tank´s You!!!

And do you know if packet injection is possible ??

(Last edited by Mux on 19 Jan 2006, 19:04)

Mux wrote:

yaer, it worx !!!

Tank´s You!!!

And do you know if packet injection is possible ??

1) Do you have some problem with "channels" in airodump? My problem is that airodump still sniff others channels sad
2) Packet injection isn't possible

nbd wrote:

use the prism0 interface for capture instead of eth1

Hello,

I would to know how to use the prism0 instead of eth1 ??

Thanks in advance !

The discussion might have continued from here.