Dispositivos wireless

De gacq wiki

Contenido

Placas

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

Donde comprar

Access Point

Revisar

http://wiki.personaltelco.net/index.cgi/LinuxAccessPoint

Placas

Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

D-Link DWG-G510 H/W Ver: C2 F/W Ver: 5.00 (Ralink)

ndiswrapper
Linux driver (Not working?) I used ndiswrapper
Related links

D-Link DWG-G520 H/W Ver: B3 F/W Ver: 4.30 (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.

Manual installation (standard)

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

Manual installation with aireplay patch

 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
 svn checkout http://svn.madwifi.org/trunk/ madwifi-ng
 # Check for last version of the patch
 wget http://patches.aircrack-ng.org/madwifi-ng-r2277.patch
 cd madwifi-ng
 patch -Np1 -i ../madwifi-ng-r2277.patch
 make
 make install
 depmod -ae
 modprobe ath_pci
 wlanconfig ath1 create wlandev wifi0 wlanmode monitor

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 "COPTS+= -Werror" line from Makefile.inc file.

References

D-Link DWL-G122 Rev C1 (Ralink)

Chipset: Ralink RT73 (RT2571W) usbid: 07d1:3c03

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
    1. 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
Herramientas personales