Código:
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
Reemplazar linea 13: KLIB=/lib/modules/2.6.31-wl/build
por esto: KLIB=/lib/modules/$(uname -r)/build
make
pero al darle make le lanza lo sgt.
Código:
root@chino:/home/chino/compat-wireless-2010-10-16# make
/home/chino/compat-wireless-2010-10-16/config.mk:196: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
make -C /lib/modules/2.6.38-1-amd64/build M=/home/chino/compat-wireless-2010-10-16 modules
make: *** /lib/modules/2.6.38-1-amd64/build: No existe el fichero o el directorio. Alto.
make: *** [modules] Error 2
EL fichero si lo tengo. osea el /lib/modules/2.6.38-1-amd64
Saludos.