User Tools

Site Tools


wlan-ng

This is an old revision of the document!


Wlan-ng

Important note: when the card is inserted, wlan-ng will flash the firmware in RAM (volatile download) with versions PRI 1.1.4 and STA 1.8.3.

Many users experienced problems with this operation, so in any case it's safer to just use hostap instead. Furthermore, HostAP works more reliably and supports iwconfig whereas wlan-ng doesn't.

If your card appears to hang (no packets captured or injected), disable the interface, reload the drivers and re-insert the card. Also consider updating the firmware (if Prism2).

ifconfig wlan0 down
wlanctl-ng wlan0 lnxreq_ifstate ifstate=disable
/etc/init.d/pcmcia stop
rmmod prism2_pci
rmmod hostap_pci
find /lib/modules \( -name p80211* -o -name prism2* \) -exec rm -v {} \;
wget ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-0.2.5.tar.gz
wget http://patches.aircrack-ng.org/linux-wlan-0.2.5.packet.injection.patch
tar -xvzf wlanng-0.2.5.tar.gz
cd linux-wlan-ng-0.2.5
patch -Np1 -i ../linux-wlan-0.2.5.packet.injection.patch
make config && make all && make install
mv /etc/pcmcia/hostap_cs.conf /etc/pcmcia/hostap_cs.conf~
/etc/init.d/pcmcia start
modprobe prism2_pci &>/dev/null
wlan-ng.1178485059.txt.gz · Last modified: 2007/05/06 22:57 by mister_x