Igorsl
(usa Linux Mint)
Enviado em 02/04/2014 - 04:38h
Tentei tambem
http://www.vivaolinux.com.br/topico/Aircrack/erro-no-fixed-channel-mon0-1/
"Olá... segue aqui um passo a passo que encontrei num fórum de língua inglesa, espero que ajude...
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"
Quando usei o make deu o segunte erro:
/bin/sh: 1: [: -gt: argument expected
/bin/sh: 1: test: -ge: unexpected operator
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
make -C /lib/modules/3.8.0-19-generic/build M=/home/andoid/compat-wireless-2010-10-16 modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
/sbin/modprobe: invalid option -- 'l'
/sbin/modprobe: invalid option -- 'l'
CC [M] /home/andoid/compat-wireless-2010-10-16/compat/main.o
In file included from include/linux/mm.h:8:0,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:38,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/gfp.h: In function ‘gfp_zonelist’:
include/linux/gfp.h:272:2: error: implicit declaration of function ‘IS_ENABLED’ [-Werror=implicit-function-declaration]
In file included from include/net/net_namespace.h:13:0,
from /home/andoid/compat-wireless-2010-10-16/include/net/net_namespace.h:7,
from include/linux/netdevice.h:43,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/net/netns/mib.h: At top level:
include/net/netns/mib.h:15:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/netns/mib.h:15:15: error: missing binary operator before token "("
In file included from include/net/net_namespace.h:17:0,
from /home/andoid/compat-wireless-2010-10-16/include/net/net_namespace.h:7,
from include/linux/netdevice.h:43,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/net/netns/ipv6.h:75:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/netns/ipv6.h:75:15: error: missing binary operator before token "("
In file included from include/net/net_namespace.h:24:0,
from /home/andoid/compat-wireless-2010-10-16/include/net/net_namespace.h:7,
from include/linux/netdevice.h:43,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/net/netns/xfrm.h:59:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/netns/xfrm.h:59:15: error: missing binary operator before token "("
In file included from /home/andoid/compat-wireless-2010-10-16/include/net/net_namespace.h:7:0,
from include/linux/netdevice.h:43,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/net/net_namespace.h:87:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/net_namespace.h:87:15: error: missing binary operator before token "("
include/net/net_namespace.h:101:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/net_namespace.h:101:15: error: missing binary operator before token "("
In file included from include/linux/cgroup.h:51:0,
from include/net/netprio_cgroup.h:16,
from include/linux/netdevice.h:48,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/cgroup_subsys.h:10:37: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:10:37: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:16:42: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:16:42: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:22:42: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:22:42: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:28:44: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:28:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:34:35: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:34:35: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:40:43: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:40:43: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:46:44: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:46:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:52:44: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:52:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:58:40: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:58:40: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:64:41: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:64:41: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:70:44: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:70:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:76:44: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/cgroup_subsys.h:76:44: error: missing binary operator before token "("
In file included from include/linux/cgroup.h:510:0,
from include/net/netprio_cgroup.h:16,
from include/linux/netdevice.h:48,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/cgroup_subsys.h:10:37: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:10:37: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:16:42: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:16:42: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:22:42: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:22:42: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:28:44: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:28:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:34:35: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:34:35: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:40:43: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:40:43: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:46:44: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:46:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:52:44: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:52:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:58:40: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:58:40: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:64:41: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:64:41: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:70:44: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:70:44: error: missing binary operator before token "("
include/linux/cgroup_subsys.h:76:44: warning: "IS_BUILTIN" is not defined [-Wundef]
include/linux/cgroup_subsys.h:76:44: error: missing binary operator before token "("
In file included from include/linux/netdevice.h:48:0,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/net/netprio_cgroup.h:21:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/net/netprio_cgroup.h:21:15: error: missing binary operator before token "("
In file included from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5:0,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/netdevice.h:139:39: error: missing binary operator before token "("
include/linux/netdevice.h:145:7: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:145:17: error: missing binary operator before token "("
include/linux/netdevice.h:151:6: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:151:16: error: missing binary operator before token "("
In file included from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.29.h:5:0,
from /home/andoid/compat-wireless-2010-10-16/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/netdevice.h:955:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:955:15: error: missing binary operator before token "("
include/linux/netdevice.h:972:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:972:15: error: missing binary operator before token "("
include/linux/netdevice.h:1139:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:1139:15: error: missing binary operator before token "("
include/linux/netdevice.h:1142:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:1142:15: error: missing binary operator before token "("
include/linux/netdevice.h:1306:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:1306:15: error: missing binary operator before token "("
include/linux/netdevice.h:1310:5: warning: "IS_ENABLED" is not defined [-Wundef]
include/linux/netdevice.h:1310:15: error: missing binary operator before token "("
include/linux/netdevice.h: In function ‘netdev_uses_dsa_tags’:
include/linux/netdevice.h:1421:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
include/linux/netdevice.h:1422:31: error: ‘struct net_device’ has no member named ‘dsa_ptr’
include/linux/netdevice.h: In function ‘netdev_uses_trailer_tags’:
include/linux/netdevice.h:1431:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
include/linux/netdevice.h:1432:35: error: ‘struct net_device’ has no member named ‘dsa_ptr’
cc1: some warnings being treated as errors
make[3]: *** [/home/andoid/compat-wireless-2010-10-16/compat/main.o] Error 1
make[2]: *** [/home/andoid/compat-wireless-2010-10-16/compat] Error 2
make[1]: *** [_module_/home/andoid/compat-wireless-2010-10-16] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [modules] Error 2