I noticed that after the latest updates of Kali linux aircrack-ng in some cases has stopped working properly
reading a little, the diff of the new driver backport I noticed that the new wireless driver inhibit the proper functioning of the monitor when an interface up, this in addition to causing the malfunction of airodump-ng (aircrack tool) prevents the use social engineering attacks. For this I have moved in search of a quick and practical solution especially working on the new driver backport because the old patch channel-negative-one-maxim.patch it is no longer usable.Giving an eye on the internet I could not find a patch interesting,http://www.mathyvanhoef.com/2012/09/...-for.html,This patch adds a lot of new drivers fix , everything can be read directly from the blog Mathy Vanhoef. thanks to this patch, and another patch that I created to measure following the guidelines of Mathy Vanhoef are able to permanently solve the problem of channel -1
This solution removes the channel -1, on any wireless drivers
here's how to :
Download backport driver 3.12-1 and extract :
1
2
Code:
sudo wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.12/backports-3.12-1.tar.bz2
3
Code:
sudo tar xvf backports-3.12-1.tar.bz2
4
Code:
cd backports-3.12-1
5
Code:
sudo apt-get install patch
download and apply patch
6
Code:
sudo wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
7
Code:
sudo patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
download compatdrivers_chan_qos_frag.patch by Mathy Vanhoef I recommend using this because I have correct offset
8
Code:
sudo wget -Ocompatdrivers_chan_qos_frag.patch http://www.pastie.org/pastes/8846771/download
9
Code:
patch -p1 < compatdrivers_chan_qos_frag.patch
download my patch
10
Code:
sudo wget -Ofix-channel-negative-1-on-new-backport-by-Devil_D.patch http://pastebin.com/wPwAJaQC
11
Code:
patch -p1 < fix-channel-negative-1-on-new-backport-by-Devil_D.patch
if you do not know what is the proper wireless drivers type and go on step 14
12
13
if you know your driver type for example i have rt2870/3070 i type
make deconfig-wifi To know which driver you just run in terminal airmon-ng
Code:
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
14
15
16
Code:
update-initramfs -u
17
I hope it help Happy Hacking
as always I apologize for the English mistakes are the fault of google translate
and I thank the sources
Mathy Vanhoef http://www.mathyvanhoef.com/2012/09/...patch-for.html
Devil_D
J0K3R-BHS
thanks for the correction of the patch goes to feelingfree