Bueno he avanzado un poco en el tema pero ya empiezan los problemas... Os cuento.
Mirando por la red, he visto que tengo que instalar un compat-wiriles en mi sistema para parchearlo.
He seguido este manual , que aunque es antiguo me parece simple y facil de seguir.
http://www.espaciolinux.com/2009/01/instalar-compat-wireless-en-linux/Lo primero que he hecho ha sido instalar el genérico de Linux Headers:
apt-get install linux-headers-`uname -r`
y después he instalado el kernel resources:
apt-get source linux-image-$(uname -r)
hasta ahora todo bien, el problema viene cuando descargo el compat-wriles más actual, que por cierto tengo mis dudas al respecto de que solo haya salido hasta 2012. Lo he descargado de esta web.
http://linuxwireless.org/download/compat-wireless-2.6/Pues bien una vez descargado y descomprimido, al usar el comando make para compilar, me salen los siguiente errores:
/Downloads/compat-wireless-2012-12-18# make
./scripts/gen-compat-autoconf.sh /root/Downloads/compat-wireless-2012-12-18/.config /root/Downloads/compat-wireless-2012-12-18/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.18.0-kali3-686-pae/build M=/root/Downloads/compat-wireless-2012-12-18 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-3.18.0-kali3-686-pae'
CC [M] /root/Downloads/compat-wireless-2012-12-18/compat/main.o
CC [M] /root/Downloads/compat-wireless-2012-12-18/compat/crc8.o
CC [M] /root/Downloads/compat-wireless-2012-12-18/compat/compat_atomic.o
LD [M] /root/Downloads/compat-wireless-2012-12-18/compat/compat.o
CC [M] /root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.o
In file included from /root/Downloads/compat-wireless-2012-12-18/include/linux/bcma/bcma.h:8:0,
from /root/Downloads/compat-wireless-2012-12-18/drivers/bcma/bcma_private.h:8,
from /root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:8:
/root/Downloads/compat-wireless-2012-12-18/include/linux/bcma/bcma_driver_pci.h:217:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bcma_core_pci_init’
In file included from /root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:8:0:
/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/bcma_private.h:25:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bcma_bus_register’
/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:195:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bcma_bus_register’
/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:18:21: warning: ‘bcma_bus_next_num’ defined but not used [-Wunused-variable]
/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:84:28: warning: ‘bcma_find_core_unit’ defined but not used [-Wunused-function]
/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.c:106:12: warning: ‘bcma_register_cores’ defined but not used [-Wunused-function]
make[5]: *** [/root/Downloads/compat-wireless-2012-12-18/drivers/bcma/main.o] Error 1
make[4]: *** [/root/Downloads/compat-wireless-2012-12-18/drivers/bcma] Error 2
make[3]: *** [_module_/root/Downloads/compat-wireless-2012-12-18] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-3.18.0-kali3-686-pae'
make: *** [modules] Error 2
Y aquí me he quedado atascado y nosé como solucionar estos problemas.
PD: Información adicional:
Kernel:
# uname -r
3.18.0-kali3-686-pae