Dear all,

Until recently i've been using backtrack 3 with a dedicated HP laptop.
everything worked beautifully.

about 3 weeks ago i went to backtrack and checked possible supported usb wireless devices and landed on alfa network.

after purchasing it , i downloaded and installed backtrack 4 R1 to a Virtual machine (using vmware fusion) and plugged in the usb to the VM.



I'm facing all sort of trouble, here's the relevant info:

## ifconfig:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
##iwconfig:

wlan0 IEEE 802.11bgn Mode:Managed Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementn

##airmon-ng:

Interface Chipset Driver

wlan0 Ralink RT2870/3070 rt2800usb - [phy1]
##airmon-ng start wlan0

Interface Chipset Driver

wlan0 Ralink RT2870/3070 rt2800usb - [phy1]
(monitor mode enabled on mon0)
##airodump-ng start mon0

CH 6 ][ Elapsed: 8 s ][ 2010-11-20 10:28

BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID


BSSID STATION PWR Rate Lost Packets Probes


After reasrearching in this forum and google, it seems that there's an issue with Alfa network driver.

so i've done the following as advised in a thread in this forum:

cd /usr/src/drivers/compat*
make install
make wlunload
make wlload
modprobe rt2800usb
you can find the full output here: Your old wireless subsystem modules were left in - Output of instaling compat0wireless
note that i face two erros in this:

first is at line 67,68:
#
WARNING: Symbol version dump /usr/src/linux-source-2.6.34/Module.symvers
#
is missing; modules will have no dependencies and modversions.
and in make wlload:

FATAL: Error inserting b43 (/lib/modules/2.6.34/updates/drivers/net/wireless/b43/b43.ko): Unknown symbol in module, or unknown parameter (see dmesg)
b43 loaded successfully
b43legacy loaded successfully






Now airmon-ng gives:



Interface Chipset Driver

wlan0 - [phy0]
wlan1 - [phy1]
wlan2 Ralink RT2870/3070 rt2800usb - [phy2]

##airmon-ng start wlan2:
airmon-ng start wlan2


Found 1 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!

PID Name
8113 dhclient3


Interface Chipset Driver

wlan0 - [phy0]
wlan1 - [phy1]
wlan2 Ralink RT2870/3070 rt2800usb - [phy2]
(monitor mode enabled on mon0)

##airodump-ng mon0

gives the same as above, it doesnt detect any network at times, and at others it fully captures everything.
once it does, if i reboot, it reverts and i cant capture anything no more.


NB:

i' was able to reach aireplay-ng without rebooting, though once started it gives me an error that channel specified is lets say X, even though mon0 is fixed to channel 1


as you can notice i've exhausted my knowledge of troubleshooting in linux, can anyone please help?