aqui estoy de nuevo e usado esta guia
Esta es una pequeña traducción de
http://aircrack-ng.org/doku.php?id=zd1211rw-mac80211sobre como instalar el driver para inyectar en Ubuntu 9.04 al 06/06/2009
DESCONECTAR LA TARJETA USB
instalar el programa patch (en el Live cd no viene instalado)
sudo -s
apt-get install patch
todo lo bajo a la carpeta por ejemplo: /media/C_PC1_WIN98/Linux/inyectar3
1. bajar la ultima version del compat-wireless-2.6
http://wireless.kernel.org/download/compat-wireless-2.6o la estable
http://wireless.kernel.org/en/users/Download/stable/ and download the latest version of compat-wireless
el compat-wireless-2.6.tar.bz2 no lo pude bajar, bajo
compat-wireless-2009-06-05.tar.bz2
OJO ME ANDUVO OK CON LA VERSION compat-wireless-2009-05-30
LA DEL 2009-06-05.tar.bz2 DA ERROR AL COMPILAR !!
ath9k.h:469: error: el campo ‘ops’ tiene tipo de dato incompleto
LA DEL old-2009-06-05.tar.bz2
da error al correr los patch
ir a terminal
cd /media/C_PC1_WIN98/Linux/inyectar3
and untar the package:
tar xfj compat-wireless-2.6.tar.bz2
/tira un monton de errores de: No se puede cambiar el propietario a uid 1012,.., no hay problema)
renombrar la carpeta a compat-wireless y
cd compat-wireless
2. a esta carpeta bajar estos 2 archivos,
Next up, cd to your /path/to/compat-wireless directory and download the patch required for injection:
http://patches.aircrack-ng.org/zd1211rw_inject_2.6.26.patcharchivo, guardar como...
and the mac80211 patch for higher injection speed here:
http://patches.aircrack-ng.org/mac80211_2.6.28-rc4-wl_frag+ack_v3.patcharchivo, guardar como...
Visit the mac80211 wiki page for details.
http://www.aircrack-ng.org/doku.php?id=mac802113. Apply the patch by,
aplique el patch tipeando:
patch -Np0 -i zd1211rw_inject_2.6.26.patch
If successful, the screen will return:
Si esta ok retornará
patching file drivers/net/wireless/zd1211rw/zd_mac.c
Hunk #1 succeeded at 191 (offset 32 lines).
Hunk #2 succeeded at 666 (offset -18 lines).
4. Apply the mac80211 patch by:
patch -Np1 -i mac80211_2.6.28-rc4-wl_frag+ack_v3.patch
A successful patching will yield similar output.
saldrá algo similar a
Hunk #1 succeeded at 672 (offset 61 lines)
Note: the zd1211rw_inject_2.6.26.patch and mac80211_2.6.28-rc4-wl_frag+ack_v3.patch files must be in your compat-wireles-xxxx-xx-xx directory while patching, otherwise you will be asked to provide the full path of the file which needs to be patched, example: /home/user/compat-wireless-xxxx-xx-xx/drivers/net/wireless/zd1211rw/zd_mac.c
colocá todo en la misma carpeta como ya lo hiciste si no te pedirá la ruta...)
5. The injection patch now is applied and we are ready to compile our driver, type make for the process to begin and wait for few minutes to complete.
El patch de inyección ya está listo, ahora compilaremos el driver,
tipea make y tomate un cafe de 15 minutos para una AMD XP 2000+ con 768 mb con Ubuntu live cd 9.04
6. Barring any errors, next up is installing, make install
tipea make install para instalar
7. Now that the newly compiled driver is installed, we are ready to use it but before that we have to unload the old driver by typing make unload
tipea make unload para descargar el viejo driver de la memoria
8. To load the new driver, you could either issue make load, or modprobe zd1211rw
tipea make load
9. That's it! This concludes the zd1211 injection tutorial. You should now be able to inject. Test your USB device, by setting it to monitor mode (airmon-ng)
------------------------------------------------------------------------------------------------
Si tienes el linux instalado en el disco duro esto es permanente.
Si usas Live CD y compilaste en disco o pendrive la próxima vez
puedes hacerlo mucho mas rápido, dentro de la carpeta donde compilaste tipea:
make unload
make install
make load
------------------------------------------------------------------------------------------------
CONECTA LA TARJETA USB
si no tienes instalado el aircrack-ng revisa
https://foro.seguridadwireless.net/index.php?topic=22591airmon-ng start wlan2 6
cuando pongo
patch -Np0 -i zd1211rw_inject_2.6.26.patch
me tira error deonly garbage was found on the input patch. AYUDA!