FS#20734 - [aircrack-ng] mon0 channel hops after setting mon0 to a specific channel (iwlagn)

Attached to Project: Community Packages
Opened by Jay Tanzman (jt512) - Friday, 03 September 2010, 17:19 GMT
Last edited by Lukas Fleischer (lfleischer) - Sunday, 09 January 2011, 19:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After setting mon0 to a specific channel, injection test with aireplay-ng shows that mon0 is channel hopping.

I think this problem began after update to kernel 2.6.35 (stock Arch kernel).

Additional info:
* package version(s)
aircrack-ng 1.1-1
kernel26-2.6.35-4
madwifi-0.9.4.4133-2

Steps to reproduce:
As root,
1. airmon-ng stop wlan0
2. airmon-ng start mon0 3
3. aireplay-ng -9 -e "theSSID" -a xx:xx:xx:xx:xx:xx mon0

Output:
09:52:12 Waiting for beacon frame (BSSID: xx:xx:xx:xx:xx:xx) on channel -1
09:52:12 mon0 is on channel -1, but the AP uses channel 3

This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Sunday, 09 January 2011, 19:24 GMT
Reason for closing:  No response
Additional comments about closing:  No response for more than a month, also the reporter seems to have solved this (local) issue by himself.
Comment by Gavin Bisesi (Daenyth) - Friday, 03 September 2010, 23:21 GMT
This sounds like either a bug in the kernel networking or in aircrack. Can you file a ticket with the aircrack project and link to it? I don't think there's any action I can take here.
Comment by Balrogs Lord (GoThMoG) - Saturday, 18 September 2010, 10:21 GMT
I solved it by installing the compat-wireless package with a patch. *** tested with driver 'ath9k'***
compat-wireless stable 2.6.35-1: http://wireless.kernel.org/en/users/Download/stable/
patch: https://patchwork.kernel.org/patch/103589/

Steps:

1) I installed the recommended packages: wireless-regdb, CRDA, iw.
2) Prerequisites. Install: kernel26-headers
3) $ tar -xf /path/to/compat-wireless-2.6.35-1.tar.bz2
4) Patch: $ patch -Np1 -i Path-for-fixed-channel-issue-in-aircrack-ng-suite-V2.patch
5) $ cd /path/to/compat-wireless-2.6.35-1
$ ./scripts/driver-select <driver-name>
$ make
$ sudo make install
6) Reboot

Remember kill the processes that can cause problems:
$ sudo airmon-ng check
$ sudo killall NetworkManager wpa_supplicant
Comment by Lukas Fleischer (lfleischer) - Wednesday, 01 December 2010, 23:11 GMT
So I guess we can close this now as it doesn't seem to be related to the aircrack-ng package itself at all?

Loading...