Problems with wireless in Linux
Posted on 2008-11-04
Hi. I have several problems with my wireless card and I really need help. I'm using BackTrack 3.0 and the laptop is Dell Latitude D830. The wireless card is Dell Wireless 1505 802.11a/g/Draft n.
I had driver problems and I installed windows drivers using ndiswrapper. Now I have an interface (wlan0) which seems to work for non-secure connections. Actually I couldnt get it to work today but I might have done something wrong. But anyway... The problem is with WPA.
This is what my wpa_supplicant.conf file looks like:
psk=my_psk(generated by wpa_passphrase)
And these are the commands I use after writing the conf file:
ifconfig wlan0 up
wpa_supplicant -D ndiswrapper -i wlan0 -c /etc/wpa_supplicant.conf
When I enter the second and press enter, it seems to freeze for ages and when it's finally finished my wlan0 interface is down. No errors. I also tried running this command before the others:
dhcpcd -o wlan0
This also takes a while to finish and after that wpa_supplicant never actually finishes, at least I havent waited long enough for it to finish. The interface doesnt go down and still no ip. I cancel it with CTRL-C and the interface is down again.
The other problem is that I cant put my wireless card into monitoring mode. This is what I've tried:
When I run:
iwconfig wlan0 mode Monitor
Error for wireless request "Set Mode" (8B06):
SET failed on device wlan0 ; Invalid argument.
When I run:
airmon-ng start wlan0
This time I get an interface list with only wlan0 in it where the Chipset is set as Unknown and the Driver is set as ndiswrapper with (MONITOR MODE NOT SUPPORTED) next to it.
This is a bit long but I just wanted to give you a clear idea. I would appreciate any help