2.6.32-21 ~~ 更新内核后试试看zhengb66 写了:10.04的2.6.32-21 没这个问题,我是inter3945卡,最近破了两个
[解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: 破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
- 2lbj
- 帖子: 19
- 注册时间: 2008-10-15 7:39
- 联系:
Re: [解决]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
=====解决!!!!======
描述:
运行
总是在右上角出现不和谐的小提示
Aircrack-ng的解释是有其他进程在迫使网卡工作在其他信道请自行想辙结束之...靠~~内核级的轮讯咋结束?!
总之这是Ubuntu10.10的一个bug,总之按照官方bug文档已经可以修复,方法摘录如下
After upgrading to Ubuntu 10.10, I found that airodump-ng and aireplay-ng didn't want to work:
Quote:
airodump-ng: Fixed channel to -1 = fixed channel mon0: -1
aireplay-ng: Wouldn't false authenticate OR deauth = mon0 is on channel -1, but the AP uses channel 9
Setup
OS: Ubuntu 10.10
Kernel: 2.6.35-22-generic-pae
WiFi Card: Intel iwlwifi iwlagn Intel Corporation WiFi Link 5100
How?
Code:
ps:code中提到的两个patch胶水文件可能需要翻墙下载~咋这么不顺序....还好不大我只接贴上吧,另外编译时间有点长...耐心点哈~祝好运!
channel-negative-one-maxim.patch:
mac80211.compat08082009.wl_frag+ack_v1.patch:
或者见附件.... 没看见能上传...
描述:
运行
代码: 全选
airodump-ng
代码: 全选
fixed channel mon0: -1
总之这是Ubuntu10.10的一个bug,总之按照官方bug文档已经可以修复,方法摘录如下
After upgrading to Ubuntu 10.10, I found that airodump-ng and aireplay-ng didn't want to work:
Quote:
airodump-ng: Fixed channel to -1 = fixed channel mon0: -1
aireplay-ng: Wouldn't false authenticate OR deauth = mon0 is on channel -1, but the AP uses channel 9
Setup
OS: Ubuntu 10.10
Kernel: 2.6.35-22-generic-pae
WiFi Card: Intel iwlwifi iwlagn Intel Corporation WiFi Link 5100
How?
Code:
代码: 全选
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
channel-negative-one-maxim.patch:
代码: 全选
commit fffd6e63ea75850dafbf2ccfb38a4189f43c0282
Author: Maxim Levitsky <maximlevitsky@xxxxxxxxx>
Date: Tue Jun 1 15:43:21 2010 +0300
wireless: allow to retrieve the channel set on monitor interface
This will allow to preserve compatibility with userspace
Signed-off-by: Maxim Levitsky <maximlevitsky@xxxxxxxxx>
diff --git a/net/wireless/chan.c b/net/wireless/chan.c
index b01a6f6..09d979b 100644
--- a/net/wireless/chan.c
+++ b/net/wireless/chan.c
@@ -49,9 +49,12 @@ int cfg80211_set_freq(struct cfg80211_registered_device *rdev,
{
struct ieee80211_channel *chan;
int result;
+ struct wireless_dev *mon_dev = NULL;
- if (wdev && wdev->iftype == NL80211_IFTYPE_MONITOR)
+ if (wdev && wdev->iftype == NL80211_IFTYPE_MONITOR) {
+ mon_dev = wdev;
wdev = NULL;
+ }
if (wdev) {
ASSERT_WDEV_LOCK(wdev);
@@ -76,5 +79,8 @@ int cfg80211_set_freq(struct cfg80211_registered_device *rdev,
if (wdev)
wdev->channel = chan;
+ if (mon_dev)
+ mon_dev->channel = chan;
+
return 0;
}
代码: 全选
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 0855cac..221bed6 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -677,11 +677,19 @@ int tid;
/*
* Packet injection may want to control the sequence
- * number, if we have no matching interface then we
- * neither assign one ourselves nor ask the driver to.
+ * number, so if an injected packet is found, skip
+ * renumbering it. Also make the packet NO_ACK to avoid
+ * excessive retries (ACKing and retrying should be
+ * handled by the injecting application).
+ * FIXME This may break hostapd and some other injectors.
+ * This should be done using a radiotap flag.
*/
- if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR))
+ if (unlikely((info->flags & IEEE80211_TX_CTL_INJECTED) &&
+ !(tx->sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES))) {
+ if (!ieee80211_has_morefrags(hdr->frame_control))
+ info->flags |= IEEE80211_TX_CTL_NO_ACK;
return TX_CONTINUE;
+ }
if (unlikely(ieee80211_is_ctl(hdr->frame_control)))
return TX_CONTINUE;
- 附件
-
- 补丁.tar.gz
- wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
和wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch - (1.27 KiB) 已下载 210 次
-
- 帖子: 368
- 注册时间: 2009-02-21 20:58
-
- 帖子: 435
- 注册时间: 2010-05-04 14:12
Re: [解决]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
貌似nUbuntu也自带!就是现在nUbuntu现在不能下载了!哎!
只为能打造个能适合自己的ubuntu!
- 黄美姬
- 帖子: 8428
- 注册时间: 2009-10-08 11:15
- 来自: 大城市铁岭
Re: [解决]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
发个视频教程:破解无线WEP密码
http://u.115.com/file/f3ba4cc9bc
http://u.115.com/file/f3ba4cc9bc
我们是命运的妓女,它把我们都嫖了
N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
终端彩色:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
N卡驱动:http://www.nvidia.cn/Download/index.aspx?lang=cn
极品飞车:http://www.geforce.cn/optimize/optimal- ... ts-450-ops
孤岛危机优化设置:http://www.geforce.cn/optimize/optimal- ... tx-450-ops
终端彩色:cp /etc/skel/.bashrc ~/
PS1="\[\e]2;\u@\H \w\a\e[32;1m\]\T$\[\e[0m\] "
http://cdimage.ubuntu.com/
http://releases.ubuntu.com/
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: [解决]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
不需要。黄美姬 写了:发个视频教程:破解无线WEP密码
http://u.115.com/file/f3ba4cc9bc
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: [解决]破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
2lbj, 不需要了,我用双内核,一个用最新版进桌面,一个用旧版命令行,顺利解决
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: 破解无线——遇到—— fixed channel mon0: -1 —— aircrack-ng
最新版内核已解决该问题2.6.36zhengb66 写了:10.04的2.6.32-21 没这个问题,我是inter3945卡,最近破了两个
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
-
- 帖子: 67
- 注册时间: 2009-08-25 15:53
-
- 帖子: 94
- 注册时间: 2007-04-21 13:05
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
我用的是2.6.36.3,依然有这个问题.
即使kill掉那些进程也一样.
下载bt3中.
即使kill掉那些进程也一样.
下载bt3中.
- wowoto
- 帖子: 3050
- 注册时间: 2009-04-11 12:17
- 系统: windows7
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
U R Rightczyhd 写了:我用的是2.6.36.3,依然有这个问题.
即使kill掉那些进程也一样.
下载bt3中.
wowoto>ubuntu8.04>ubuntu9.04>Archlinux>FreeBSD8.0>Archlinux & end here.
-
- 帖子: 6
- 注册时间: 2010-05-18 9:12
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
我的是博通的网卡,更新之后无线没有了,还有没有其他可以解决的办法,谢谢。
-
- 帖子: 1
- 注册时间: 2011-04-30 16:45
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
为什么我在ubuntu11.04下仍然出现这样的问题,难道2.6.38内核又不兼容了?
-
- 帖子: 27
- 注册时间: 2010-05-14 15:05
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
我的也是11.04,出现相同的问题,按方法做了后,问题依旧。
内核版本:2.6.38-10-generic
我用的是64位的系统。
内核版本:2.6.38-10-generic
我用的是64位的系统。
-
- 帖子: 27
- 注册时间: 2010-05-14 15:05
Re: [解决,lts内核或最内核]破解无线——遇到—— fixed channel mon0: -1 —— aircr
刚又试了一下,好像可以了,原因是无线网卡一直连着一个AP,把无线断开后,就不出现这个问题了。duanxianting 写了:为什么我在ubuntu11.04下仍然出现这样的问题,难道2.6.38内核又不兼容了?
回家再试一下。