[解决]aircrack-ng错误:mon0 is on channel -1, but the AP uses channel *

aircrack是个很强大的工具,最近在ubuntu上用它时,出现了错误:mon0 is on channel -1, but the AP uses channel * 。网络上搜索到的解决方法,说是ubuntu的bug,解决方法如下面:

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

原文链接来自这里

 

» 本文链接地址:https://www.xidige.com/245

打开支付宝扫一扫,即可进行扫码打赏哦

扫码支持
扫码打赏,你说多少就多少

标签:

分享到:

扫一扫 在手机阅读、分享本文

上一篇: 下一篇:
评论区0人评论112人参与

电子邮件地址不会被公开。 必填项已用*标注

*

loading

赞助商广告