rais, this bug was reported a while ago and there hasn't been any
activity in it recently. We were wondering if this is still an issue? If
so, could you please test for this with the latest development release
of Ubuntu? ISO CD images are available from
http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you please run the following command in
the development release from a Terminal
(Applications->Accessories->Terminal), as it will automatically gather
and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available? It
will allow additional upstream developers to examine the issue. Refer to
https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the
kernel in the daily folder, but the one all the way at the bottom. Once
you've tested the upstream kernel, please remove the 'needs-upstream-
testing' tag. This can be done by clicking on the yellow pencil icon
next to the tag located at the bottom of the bug description and
deleting the 'needs-upstream-testing' text. As well, please comment on
which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not
boot, please add the tag: 'kernel-unable-to-test-upstream', and comment
as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

** Description changed:

  Binary package hint: aircrack-ng
  
  when i enable monitor mode on wlan0 with 'sudo airmon-ng start wlan0'
  followed by  this command 'sudo aireplay-ng  --option  mon0'
  i get this error
  20:58:09  Waiting for beacon frame (BSSID: ************) on channel -1
  20:58:09  mon0 is on channel -1, but the AP uses channel 11
  
  wlan0 is connected to channel 11 but mon0 is not in the same channel.
+ 
+ WORKAROUND: wget 
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
+ tar -jxf compat-wireless-2010-10-16.tar.bz2
+ cd compat-wireless-2010-10-16
+ wget 
http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
+ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
+ wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
+ patch ./net/wireless/chan.c channel-negative-one-maxim.patch
+ gedit scripts/update-initramfs
+ #*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
+ #*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
+ make
+ sudo make install
+ sudo make unload
+ sudo reboot
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: aircrack-ng 1:1.1-1
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  Architecture: amd64
  CheckboxSubmission: 0d1ee44305f4597f855d82fe39cb13fe
  CheckboxSystem: 331fbefb4b1f6727f4a8261fee7507c9
  Date: Mon Sep 20 21:00:25 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
  ProcEnviron:
   LANG=fr_FR.utf8
   SHELL=/bin/bash
  SourcePackage: aircrack-ng

** No longer affects: aircrack-ng (Ubuntu)

** Tags removed: wifi
** Tags added: kernel-wifi

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Description changed:

  Binary package hint: aircrack-ng
  
  when i enable monitor mode on wlan0 with 'sudo airmon-ng start wlan0'
  followed by  this command 'sudo aireplay-ng  --option  mon0'
  i get this error
  20:58:09  Waiting for beacon frame (BSSID: ************) on channel -1
  20:58:09  mon0 is on channel -1, but the AP uses channel 11
  
  wlan0 is connected to channel 11 but mon0 is not in the same channel.
  
- WORKAROUND: wget 
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
- tar -jxf compat-wireless-2010-10-16.tar.bz2
- cd compat-wireless-2010-10-16
- wget 
http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
- patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
- wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
- patch ./net/wireless/chan.c channel-negative-one-maxim.patch
- gedit scripts/update-initramfs
- #*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
- #*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
- make
- sudo make install
- sudo make unload
- sudo reboot
+ WORKAROUND: install linux-image-2.6.32 besides 2.6.35.
+ You need to download the kernel from here :
+ http://packages.ubuntu.com/lucid-updates/linux-image-2.6.32-25-generic
+ sudo dpkg --install linux-image-2.6.32-25-generic_*.deb
+ sudo update-grub
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: aircrack-ng 1:1.1-1
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  Architecture: amd64
  CheckboxSubmission: 0d1ee44305f4597f855d82fe39cb13fe
  CheckboxSystem: 331fbefb4b1f6727f4a8261fee7507c9
  Date: Mon Sep 20 21:00:25 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
  ProcEnviron:
   LANG=fr_FR.utf8
   SHELL=/bin/bash
  SourcePackage: aircrack-ng

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/643788

Title:
  monitor  mode wireless interfaces incorrect channel -1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/643788/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to