Ok I am trying to get all these backtrack tools to work on my computer. Unfortunately I have a broadcom wifi adapter, but thats not the issue. I am able to get the adapter working with ndiswrapper and I am able to see networks through the wifi manager. Until yesterday I didnt know I needed to be in monitor mode to get things to work. So I did some research and found out that monitor mode is not supported through monitor mode. So I did some more searching and found a patch to ndiswrapper called bcmmon that enables it to go into monitor mode. So I followed these steps and as you can see I got everything up and running and put wlan0 into monitor mode but when I try to run airodump-ng and aircrack-ng I get two seperate errors. One saying that ndiswrapper does not support monitor mode and the other that says it cannot see any networks. It shows that I put it into monitor mode and I can view the available wireless networks in the wifi manager. Is there anyone who has dealt with these issues or someone who knows what to do? Below is exactly what I did and what the outputs are. Thanks




bt ~ # rmmod bcm43xx
bt ~ # tar jxf bcmmon.tar.bz2
bt ~ # tar zxf ndiswrapper-1.53.tar.gz
bt ~ # patch -p1 < ./bcmmon.diff
patching file ndiswrapper-1.53/driver/iw_ndis.c
patching file ndiswrapper-1.53/driver/iw_ndis.h
patching file ndiswrapper-1.53/driver/ndis.c
bt ~ # cd ndiswrapper-1.53
bt ndiswrapper-1.53 # make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.53/driver'
make -C /usr/src/linux-2.6.21.5 M=/root/ndiswrapper-1.53/driver
make[2]: Entering directory `/usr/src/linux-2.6.21.5'
LD /root/ndiswrapper-1.53/driver/built-in.o
MKEXPORT /root/ndiswrapper-1.53/driver/crt_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/hal_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/ndis_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/ntoskernel_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/ntoskernel_io_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/rtl_exports.h
MKEXPORT /root/ndiswrapper-1.53/driver/usb_exports.h
CC [M] /root/ndiswrapper-1.53/driver/crt.o
CC [M] /root/ndiswrapper-1.53/driver/hal.o
CC [M] /root/ndiswrapper-1.53/driver/iw_ndis.o
CC [M] /root/ndiswrapper-1.53/driver/loader.o
CC [M] /root/ndiswrapper-1.53/driver/ndis.o
CC [M] /root/ndiswrapper-1.53/driver/ntoskernel.o
CC [M] /root/ndiswrapper-1.53/driver/ntoskernel_io.o
CC [M] /root/ndiswrapper-1.53/driver/pe_linker.o
CC [M] /root/ndiswrapper-1.53/driver/pnp.o
CC [M] /root/ndiswrapper-1.53/driver/proc.o
CC [M] /root/ndiswrapper-1.53/driver/rtl.o
CC [M] /root/ndiswrapper-1.53/driver/wrapmem.o
CC [M] /root/ndiswrapper-1.53/driver/wrapndis.o
CC [M] /root/ndiswrapper-1.53/driver/wrapper.o
CC [M] /root/ndiswrapper-1.53/driver/usb.o
CC [M] /root/ndiswrapper-1.53/driver/divdi3.o
LD [M] /root/ndiswrapper-1.53/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/ndiswrapper-1.53/driver/ndiswrapper.mod.o
LD [M] /root/ndiswrapper-1.53/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/linux-2.6.21.5'
make[1]: Leaving directory `/root/ndiswrapper-1.53/driver'
make -C utils
make[1]: Entering directory `/root/ndiswrapper-1.53/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/root/ndiswrapper-1.53/utils'
bt ndiswrapper-1.53 # cd ..
bt ~ # ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
bt ~ # cd ndiswrapper-1.53/driver/
bt driver # insmod ./ndiswrapper.ko
bt ~ # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSIDff/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

bt ~ # iwconfig wlan0 mode monitor
bt ~ # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11g ESSIDff/any
Mode:Monitor Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:32 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
bt ~ # airodump-ng wlan0
Ndiswrapper doesn't support monitor mode.
bt ~ # aircrack-ng wlan0
Opening wlan0
open failed: No such file or directory
Read 0 packets.

No networks found, exiting.


Quitting aircrack-ng...
bt ~ #