Kismet Wireless

Kismet Forums

 

Posted by:cutter409
Subject:ath9k w/ kismet
Date:19:11:09 31/08/2010

> Okay, sorry for the volume of posts but I'm getting somewhere.
>
> I noticed on the doc page for the iw command, "Note that in case you want to monitor 802.11n you will need to specify channel width (20 or 20/40MHz) and in case of 20/40MHz if the upper or lower channel is being used."
>
> SO.
>
> If I start kismet, with my source set to "hop=false", and then run "iw wlan0 set channel 11 HT20" (HT40- works too, doesn't seem to matter which one you pick) from another shell, kismet starts seeing packets.
>
> However, using "iw wlan0 set channel 11" without specifying HT20/HT40-/HT40+, I don't get any packets.
>
> The same applies when I use tcpdump, I have to set the correct mode ahead of time or I don't get anything.

Changing packetsource_wext.cc from

689 if ((err = mac80211_setchannel_cache(interface.c_str(), globalreg->nlhandle,
690 nlfamily, in_ch, 0, errstr)) >= 0) {

to

689 if ((err = mac80211_setchannel_cache(interface.c_str(), globalreg->nlhandle,
690 nlfamily, in_ch, NL80211_CHAN_HT20, errstr)) >= 0) {

makes kismet hop and see networks without having to change it externally.

I'm sure this isn't the correct solution, but it's a start.


Reply to this message