Autor Tema: IPW3945 con inyeccion en debian.  (Leído 2372 veces)

0 Usuarios y 1 Visitante están viendo este tema.

unidob

  • Visitante
IPW3945 con inyeccion en debian.
« en: 29-09-2007, 00:32 (Sábado) »
Estoy intentando poner a mi debian inyeccion a mi tarjeta ipw3945. Voy a mostraros los pasos que he seguido y los resultados (desafortunados). Bueno lo primero que hice fue instalar las source:

aptitude install linux-source-2.6.22 linux-source-2.6.21

Despues me descargue las cosas necesarias:

git clone git://intellinuxwireless.org/repos/ipwraw.git
git clone git://intellinuxwireless.org/repos/mac80211.git
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-3945-ucode-2.14.4.tgz

Me meto en mac80211 y hago:
make
make patch_kernel

Pero luego cuando compilo el kernel:

make menuconfig

dentro de las sources busco:

  <M> Generic IEEE 802.11 Networking Stack (dscape)

pero no esta... solo esta:

<M> Generic IEEE 802.11 Networking Stack (mac80211)

y mas abajo

<M> Generic IEEE 802.11 Networking Stack

Aun asi lo compile y todo pero a la hora de cargar el modulo ipwraw, pero en el 22 carga pero no crea ninguna interfaz y en el 21 no carga.

Entonces mi pregunta es si se puede hacer con los source de debian o tengo que descargar un kernel de kernel.org... estoy un poco desesperado...

Gracias.



pianista

  • Visitante
Re: IPW3945 con inyeccion en debian.
« Respuesta #1 en: 29-09-2007, 00:41 (Sábado) »
A ver demasiado kernel a mi con puppy me tiro con un 2.6.20.X, pon un .7, bajalo del kernel.org y compilalo a la debian o a la antigua y despues prueba a ver ok? ;)
Saludos
PD:Mejor que nada, instala los ipwraw-ng 2.0 que no necesitan mac80211 y si no t van instala entonces los mac80211 compilando kernel

unidob

  • Visitante
Re: IPW3945 con inyeccion en debian.
« Respuesta #2 en: 29-09-2007, 18:31 (Sábado) »
Se que es un poco largo pero quiero que vean cuando intento parchear el mac80211, a ver si ven algo raro porque yo no lo veo:

alex@Candy:/usr/src/ipw3945-raw/mac80211-10.0.0$ sudo make clean
Removing staging and built files.
alex@Candy:/usr/src/ipw3945-raw/mac80211-10.0.0$ sudo make patch_kernel
Building modified version in 'modified/' directory:
Copying modified/ from origin/...done
Applying patches and scripts from pending/.
 + Applying: pending/0001-mac80211-Add-basic-IEEE-802.11n-support.patch
        From 26e77a5fef845edcb5c27db52f413e7558db0e20 Mon Sep 17 00:00:00 2001
 + Applying: pending/0002-mac80211-add-IEEE802.11e-WMM-structures.patch
        From f5af9c4fdfbcc2b8ecb60d9d93657a3e2437c909 Mon Sep 17 00:00:00 2001
 + Applying: pending/0003-mac80211-IEEE802.11e-WMM-TS-management-and-DLS-supp.patch
        From 78e5e6d438cb6ec7ba929293b112b12cf0d9042c Mon Sep 17 00:00:00 2001
 + Applying: pending/0004-mac80211-debugfs-support-for-TSM-and-DLS.patch
        From 88b531cc1ce8bd1f9681a4cbcd11bb61de3c6ca1 Mon Sep 17 00:00:00 2001
 + Applying: pending/0005-mac80211-IEEE802.11e-WMM-misc-fix-and-cleanup.patch
        From 503a88f99457be47979874f2a9a5c3454104519e Mon Sep 17 00:00:00 2001
 + Applying: pending/0006-mac80211-add-WE-nick-power-and-txpower-capabilitie.patch
        From 37515341129948f6f8391cd0c8bb0028f7929c98 Mon Sep 17 00:00:00 2001
 + Applying: pending/0007-mac80211-Fix-user-specified-TXPOWER-from-being-over.patch
        From aa958786201069f0a857251a777f687fc9d42219 Mon Sep 17 00:00:00 2001
 + Applying: pending/0008-mac80211-HT-IEEE_802.11n_TX_AMPDU-send-actframes.patch
        From 70fb3487d26d431401e4b659e520177eb434e343 Mon Sep 17 00:00:00 2001
 + Applying: pending/0009-mac80211-HT-add-IEEE-802.11n-TX_AMPDU-API.patch
        From fc5dcdadd03063981268f4df8ef7ffd9519e25f9 Mon Sep 17 00:00:00 2001
 + Applying: pending/0010-mac80211-HT-add-TX-AMPDU-MLME-data.patch
        From 51bc2c9e296a5f6ec210eee04c882fdb4997c130 Mon Sep 17 00:00:00 2001
 + Applying: pending/0011-mac80211-HT-IEEE-802.11n-TX-AMPDU-MLME-implementa.patch
        From a2c09ed2b5cc19d3fdee0b4d3a25ac82c973cd77 Mon Sep 17 00:00:00 2001
 + Applying: pending/0012-mac80211-HT-IEEE-802.11n-debugfs-support.patch
        From 915fb0b275fae6748a38ece9a67a99129fcf3cc8 Mon Sep 17 00:00:00 2001
 + Applying: pending/0013-mac80211-HT-IEEE-802.11n-block-ack-support.patch
        From 0d1fde009eb108f3f379e0868b600c12f7cd943d Mon Sep 17 00:00:00 2001
 + Applying: pending/0014-mac80211-HT-IEEE-802.11n-block-ack-debugfs-suppor.patch
        From 18fcded749fc76222844afc055128da88dbc03d8 Mon Sep 17 00:00:00 2001
 + Applying: pending/0015-mac80211-HT-add-IEEE-802.11n-qos-queues.patch
        From 1fa8243b4711e74d3158e396f3f3971ed103d482 Mon Sep 17 00:00:00 2001
 + Applying: pending/0016-mac80211-HT-IEEE-802.11n-RX-aggregation-BAR-supor.patch
        From e410f6580a9462480cbf3a8f3ecc601e1d8b5fb5 Mon Sep 17 00:00:00 2001
 + Applying: pending/0017-mac80211-HT-IEEE-802.11n-RX-aggregation-API-and-M.patch
        From 428ee27143824bc868a301bb46d9cc34e76a17b6 Mon Sep 17 00:00:00 2001
 + Applying: pending/0018-mac80211-HT-add-addtional-type-parameter-for-ieee.patch
        From 454d6bf4ab1a52a73fe9d5c7940588c84e7fbf5b Mon Sep 17 00:00:00 2001
 + Applying: pending/0019-mac80211-HT-fix-ieee80211_send_addba_resp-interfa.patch
        From 26c1abde043c8186b483fd29715d2a03e864ac4e Mon Sep 17 00:00:00 2001
 + Applying: pending/0020-mac80211-HT-fix-master-mode-net-type.patch
        From 0081fcc92918c45b914158219d255454e0c3bc4a Mon Sep 17 00:00:00 2001
 + Applying: pending/0021-mac80211-HT-IEEE-802.11n-RX-aggregation-MLME-supp.patch
        From 8f997ba42d5da45841bb8178f5f8978c48ef2c0e Mon Sep 17 00:00:00 2001
 + Applying: pending/0022-mac80211-HT-IEEE-802.11n-RX-aggregation-debugfs-s.patch
        From 657427a497a5fd912251740ec4ee9c3b3bad0f49 Mon Sep 17 00:00:00 2001
 + Applying: pending/0023-mac80211-HT-AP-mode-block-ack-MLME-support.patch
        From 8aff6ff750cb985bafa982b4b1ffc37029e8f013 Mon Sep 17 00:00:00 2001
 + Applying: pending/0024-mac80211-HT-fix-wrong-param-used-for-ieee80211_ht.patch
        From 55d47cff2f5944f3f70fbee5f2b41beccbed2762 Mon Sep 17 00:00:00 2001
 + Applying: pending/0025-mac80211-HT-use-KERN_DEBUG-for-HT-debugging-messa.patch
        From f597c02bc8814aa0ba5b3b9fd1aa14d521b284b8 Mon Sep 17 00:00:00 2001
 + Applying: pending/0026-mac80211-rssi-averaging-filter.patch
        From 4f10cf6269ce9a96d21dd220bf8991716d1be24f Mon Sep 17 00:00:00 2001
 + Applying: pending/0027-mac80211-add-802.11h-channel-switch-packet-handling.patch
        From 534b03cd79f6de5cb3c364289cb5fa158bef6632 Mon Sep 17 00:00:00 2001
 + Applying: pending/0028-mac80211-fix-compile-error-if-CONFIG_NET_SCHED-unde.patch
        From 16d350730af21442636dc3ab822a8ae230fecffa Mon Sep 17 00:00:00 2001
 + Applying: pending/0029-mac80211-add-rate-scaling-algorithm-selection-capab.patch
        From 0f936737d9f8cc3a8886f4590c73b20918df213c Mon Sep 17 00:00:00 2001
 + Applying: pending/0030-mac80211-fix-monitor-mode.patch
        From c334da6f6fe935e278ad5fde78e192d16d3c1603 Mon Sep 17 00:00:00 2001
 + Applying: pending/0031-mac80211-fix-an-printk-warning-for-size_t.patch
        From 465d7fb3ee021c8fe50a49432dfc461a4e4595d9 Mon Sep 17 00:00:00 2001
 + Applying: pending/0032-mac80211-fix-kernel-panic-during-shutdown-time.patch
        From a8f8bdd27fbac5f91aabe206f829592facb486a3 Mon Sep 17 00:00:00 2001
Checking kernel compatibility in:
        /lib/modules/2.6.22-inyection/source//
 * Kernel requires compatibility version:
   - Requires ilog2 compat
   - Requires debugfs_rename() compat
Building compatibility version in 'compatible/' directory:
Copying compatible/ from modified/...done
 + Running: ilog2.sh
        IEEE80211_STYPE_QOS_DATA's mask is 0x0080
 + Applying: patches/debugfs_rename.patch
        diff -urp origin/net/mac80211/debugfs_netdev.c new/net/mac80211/debugfs_netdev.c
Patching from compatible/ to /lib/modules/2.6.22-inyection/source/:
 + Replaced 59 files.
Checking for required kernel build updates...
 - checking net/Kconfig and net/Makefile...
 - checking net/core/Makefile for old 'wireless'...
 - checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
 - checking net/core/dev.c for wireless_process_ioctl v. wext_handle_ioctl...
 - checking net/core/dev.c for linxu/wireless.h v. net/wext.h...
 - checking net/core/dev.c for wireless_proc_init vs. wext_proc_init...
 - checking net/Makefile and Kconfig for old 'd80211'...
 - checking drivers/net/wireless/Kconfig...
Done.

NOTE:  As of mac80211-2.0.0, kernel built-ins for the wireless extension
handlers have been replaced with built-ins provided by mac80211.  This
requires you to rebuild your main kernel image and reboot to that
kernel in order to use the mac80211 subsystem.  We are looking for ways
to correct this in the future.

Patching from patches/ to /lib/modules/2.6.22-inyection/source/:
Checking kernel compatibility in:
        /lib/modules/2.6.22-inyection/source//
 * Kernel supports required features for 'modified' version.

Porque ya lo he compilado el linux-2.6.20 de kernel.org con el mismo resultado, primero no aparece el dscape ese y despues no carga el modulo ipwraw diciendo que no encuentra en link simbolico de mac80211, o algo parecido... Ahora cuando tengo tiempo mirare eso de ipwraw-ng que comentas que no necesitan los mac80211...