Diferencia entre revisiones de «Dispositivos wireless»
De gacq wiki
(→Manual installation) |
(→Patching driver for auditing) |
||
Línea 50: | Línea 50: | ||
*http://madwifi.org/wiki/UserDocs/FirstTimeHowTo | *http://madwifi.org/wiki/UserDocs/FirstTimeHowTo | ||
− | === | + | ===Instalación Manual con patch para aireplay=== |
+ | <pre><nowiki> | ||
ifconfig ath0 down | ifconfig ath0 down | ||
ifconfig wifi0 down | ifconfig wifi0 down | ||
Línea 64: | Línea 65: | ||
depmod -ae | depmod -ae | ||
modprobe ath_pci | modprobe ath_pci | ||
+ | </nowiki></pre> | ||
+ | |||
+ | If during compiling you get a error like this: | ||
+ | <pre><nowiki> | ||
+ | cc1: warnings being treated as errors | ||
+ | /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c: In function 'giwscan_cb': | ||
+ | /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c:1742: warning: ISO C90 forbids mixed declarations and code | ||
+ | /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c:1768: warning: ISO C90 forbids mixed declarations and code | ||
+ | make[3]: *** [/srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.o] Error 1 | ||
+ | make[2]: *** [/srv/software/hardware/madwifi-ng/net80211] Error 2 | ||
+ | make[1]: *** [_module_/srv/software/hardware/madwifi-ng] Error 2 | ||
+ | make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-k7' | ||
+ | make: *** [modules] Error 2 | ||
+ | </nowiki></pre> | ||
+ | you have to comment out "-Werror" line from xxx file | ||
'''References''' | '''References''' |
Revisión del 12:33 27 ago 2006
Contenido
Placas
- Directorio de "Chipsets de adaptadores Wireless"
- Todo sobre placas para Linux
- Como comprar una placa/AP/ProAP y seguir vivo
- Placas con chipset ralink
Recomendadas
Si es para uso bajo linux exclusivamente, yo recomendaria, alguna con chipset Atheros, Ralink o Prism, que son los que estan mas evolucionados los drivers.
Validar
Placas para Auditoria
- http://frikeando.wordpress.com/2006/06/29/auditoria-wireless-%C2%BFque-tarjeta-wifi-debo-usarcomprar/
- MSI PC54G2 (PCI) -> No se consigue
- ENCORE ENLWI-G-RLAM (PCI) -> No se consigue
Donde comprar
Access Point
Revisar
http://wiki.personaltelco.net/index.cgi/LinuxAccessPoint
Placas
D-Link DWG-G520 (Atheros)
There is an official madwifi package in the non-free section of the Debian archive: see http://madwifi.org/wiki/UserDocs/Distro/Debian/MadWifi - If you want the lastest driver you have to install it manually.
Instalacion manual (normal)
Download lastest drivers from http://madwifi.org/
mkdir /root/hardware cd /root/hardware apt-get install subversion wireless-tools apt-get install linux-headers-{your-kernel-version} wget http://easynews.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.2.tar.gz tar zxf madwifi-0.9.2.tar.gz cd /madwifi-0.9.2/scripts ./madwifi-unload.bash ./find-madwifi-modules.sh /lib/modules/ cd .. make make install modprobe ath_pci modprobe wlan_scan_sta ifconfig ath0 up wlanconfig ath0 list scan
References
- http://madwifi.org/wiki/UserDocs/Distro/Debian/InstallingMadWifiByHand
- http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
Instalación Manual con patch para aireplay
ifconfig ath0 down ifconfig wifi0 down rmmod wlan_wep ath_rate_sample ath_rate_onoe ath_pci wlan ath_hal ath_rate_amrr 2>/dev/null find /lib/modules -name 'ath*' -exec rm -v {} \; 2>/dev/null find /lib/modules -name 'wlan*' -exec rm -v {} \; 2>/dev/null svn checkout http://svn.madwifi.org/trunk/ madwifi-ng wget http://patches.aircrack-ng.org/madwifi-ng-r1679.patch cd madwifi-ng patch -Np1 -i ../madwifi-ng-r1679.patch make make install depmod -ae modprobe ath_pci
If during compiling you get a error like this:
cc1: warnings being treated as errors /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c: In function 'giwscan_cb': /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c:1742: warning: ISO C90 forbids mixed declarations and code /srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.c:1768: warning: ISO C90 forbids mixed declarations and code make[3]: *** [/srv/software/hardware/madwifi-ng/net80211/ieee80211_wireless.o] Error 1 make[2]: *** [/srv/software/hardware/madwifi-ng/net80211] Error 2 make[1]: *** [_module_/srv/software/hardware/madwifi-ng] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-1-k7' make: *** [modules] Error 2
you have to comment out "-Werror" line from xxx file
References
Linksys WPC54GS Wireless-G Notebook Adapter with SpeedBooster - Cisco Systems
No tiene soporte nativo de Linux funciona solo con ndiswrapper - http://ndiswrapper.sourceforge.net
Procedimiento:
- Descarregar el driver ndiswrapper i el de la targeta per a l'xp.
- Compilar i instalar l'ndiswrapper
- ndiswrapper -i XXX.inf [XXX.inf fitxer de driver per l'xp]
- modprobe ndiswrapper
- Configurar el dispositiu wlan0 com una wireless qualsevol
- ifup wlan0
Para hacerla funcionar hice algo parecido a esto
apt-get install ndiswrapper-source cd /usr/src tar jxvf ndiswrapper-source.tar.bz2 cd modules/ndiswrapper fakeroot debian/rules binary-modules fakeroot debian/rules binary-utils cd .. dpkg -i ndiswrapper*.deb depmod -a ndiswrapper -i /pathto/your/drivers/inf ndiswrapper -l modprobe ndiswrapper