View Issue Details

IDProjectCategoryView StatusLast Update
0001120Kali LinuxKali Package Bugpublic2025-07-14 09:36
ReporterJimboV Assigned Tomuts  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platformx64OSKaliOS Version1.0
Product Version1.0.6 
Summary0001120: Aircrack channel -1 after apt-get upgrade
Description

If i capture WLAN-Pakets with airmon-ng my WLAN-card doesnt switch to the specific channel. airmon switches to channel -1. The problem affects many users. I related with the new kernel kernel 3.12 in kali 1.0.6.

More Infos in this Thread: https://forums.kali.org/showthread.php?19863-Aircrack-channel-1-after-apt-get-upgrade/page7

Steps To Reproduce

Capture an wifi Access-Point with airmon-ng and specific the channel with the "-c"-option. I have the AWUS036H WIFI-Adapter. But the problem affects many other cards.

Additional Information

Fix (from thread above):

kali linux 1.0.6 has kernel 3.12 but i came across with aircrack-ng channel -1 error.
Some people are going back to kali's old kernel 3.7 or wheezy's kernel 3.2.
but why to play with old toy when you can fix the new one

here is the fix

cd /usr/src/
sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2
tar xvf backports-3.12-1.tar.bz2
cd backports-3.12-1
Code:
sudo apt-get install patch
sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
sudo apt-get install libncurses5-dev
Now check your wireless driver first, mine is ath9k. The simplest way to check yours is by typing airmon-ng in terminal.

USE ONE THE FOLLOWING COMMANDS TO SELECT YOUR REVELENT WIRELESS CARD DRIVER, NOT ALL OF THEM !!!

(IN MY CASE IT IS make defconfig-ath9k)

make defconfig-alx
make defconfig-ar5523
make defconfig-ath10k
make defconfig-ath5k
make defconfig-ath6kl
make defconfig-ath9k
make defconfig-b43
make defconfig-b43legacy
make defconfig-brcmfmac
make defconfig-brcmsmac
make defconfig-carl9170
make defconfig-drm
make defconfig-ieee802154
make defconfig-iwlwifi
make defconfig-media
make defconfig-nfc
make defconfig-regulator
make defconfig-rtlwifi
make defconfig-wifi
make defconfig-wil6210
Now

sudo make
sudo make install
reboot
enjoy !!!!

I have also reported this bug to kali's bugs section

Injection Rates are awesome

I have also made a thread here

http://black-hat-sec.org/index.php?topic=175.0

Regards J0K3R

Activities

muts

muts

2014-04-02 16:30

reporter   ~0001650

Last edited: 2014-04-02 16:32

Bad "fix" for a non-existant problem. Your recommendations in these various sites will break peoples Kali installations.

Issue History

Date Modified Username Field Change
2014-04-02 13:50 JimboV New Issue
2014-04-02 16:30 muts Note Added: 0001650
2014-04-02 16:30 muts Status new => closed
2014-04-02 16:30 muts Assigned To => muts
2014-04-02 16:30 muts Resolution open => fixed
2014-04-02 16:31 muts Resolution fixed => no change required
2014-04-02 16:32 muts Note Edited: 0001650
2025-07-14 09:36 g0tmi1k Priority high => normal