2015年6月14日 星期日

airodump, fixed channel -1

方法二
airmon-ng stop wlan0
ifconfig wlan0 down
iwconfig wlan0 mode managed
ifconfig wlan0 up
iwconfig wlan0 channel (这里输入你的channel)
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up





follow the 18 steps:

https://forums.kali.org/showthread.php?20582-HOW-TO-FIX-Airodump-ng-fixed-channel-1-Kali-kernel-3-12-also-on-rt2870-3070usb

here's how to :
Download backport driver 3.12-1 and extract :
1
Code:
cd /usr/src/
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
Code:
make old config
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
Code:
make
15
Code:
make install
16
Code:
update-initramfs -u
17
Code:
reboot

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

沒有留言:

張貼留言