Unable to connect to wireless usb out of bridged mode in VMware
Hello forum,
I have learned that this forum only helps individuals who help themselves.I'm going to show you all the steps I made to try to get this problem resolved via, google, back track 4 and linux forums.
VMware
Backtrack 4 Final
Belkin USB Wireless F5D9050
WRT54G IP address: 192.168.1.1 wpa2
First Step I made was configure my wireless interfaces nano etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wireless-essid Bain's
wireless-key lakers313
Second step start networking etc/init.d/networking start
Code:
Configuring network interfaces...done.
Third step ran a scan on my interface wlano iwlist wlan0 scan
Code:
wlan0 Scan completed :
Cell 01 - Address: 00:14:BF:E8:EB:FE
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=44/70 Signal level=-66 dBm
Encryption key:on
ESSID:"Bain's"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000ec21b518a
Extra: Last beacon: 846ms ago
IE: Unknown: 00064261696E2773
IE: Unknown: 010882848B9624B0486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32048C129860
IE: Unknown: DD06001018020014
I also ran a airmon-ng
Code:
Interface Chipset Driver
wlan0 Ralink 2573 USB rt73usb - [phy0]
I ran a test on my wireless usb aireplay-ng -9 mon0
Code:
10:57:46 Trying broadcast probe requests...
10:57:48 No Answer...
10:57:48 Found 1 AP
10:57:48 Trying directed probe requests...
10:57:48 00:14:BF:E8:EB:FE - channel: 6 - 'Bain's'
10:57:50 Ping (min/avg/max): 0.934ms/7.826ms/69.120ms Power: -59.95
10:57:50 19/30: 63%
10:57:50 Injection is working!
When I take my vmware out of bridged mode I'm unable to connect to the internet.
This is what I want to do, I would like to run my BT4 on my hard drive vs. running it on Vmware. I get a faster response from BT4 on my hardrive and everything works extremely better on my hard drive. But before I start doing that I need to get BT4 to be able to network without being in bridged mode on Vmware.
I hate that I had to come in here to ask for help, I really tried looking for the answer all week, this is my last resort. Hopfully this post can end up being a sticky to help others in the forum once I get it working.
Thanks
Damon Jones
Re: Unable to connect to wireless usb out of bridged mode in VMware
Other than your wlan0 actually seeing the networks, have you verified if it is in fact connected? Being that you've scaned using your wireless card I'll presume that you have connected it to the guest OS (being BT4). To verify wireless connection use ifconfig wlan0 and iwconfig wlan0 commands. If the ifconfig doesn't return an IP address in your address range then it is not connected. If so then search on wpa_supplicant and try to configure it manualy.
Re: Unable to connect to wireless usb out of bridged mode in VMware
Yeah you're close, but should read up on wpa_supplicant.
Here are the steps to manually configure your wireless card for a wpa connection.
Paste the below written code into a file named wpa_supplicant.conf (in a let's say /root/wpa/wpa_supplicant.conf).
It doesn't matter where it's placed, I am used to having a wpa folder on my desktop so it's easier for me to manage my wireless connections.
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="Bain's"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="lakers313"
}
Then in terminal
wpa_supplicant -i wlan0 -c /root/wpa/wpa_supplicant.conf
New terminal (or tab)
dhclient wlan0
Now you should get an ip address and the connection should be established.
Re: Unable to connect to wireless usb out of bridged mode in VMware
I have fixed the problem!
1. You have to connect to your Wicd Manager
2. Check to see what networks are available in your area.
3. Connect to that network and put in the password
4. Run a ifconfig wlan0 ( you should now see an ip address in there!)
Thread closed
iwlist will not scan, but aireplay-ng & airodump is working?
This is weird, after I spent 2 days trying to get my Wicd working I ran into a problem after reseting my backtrack 4 final.
Iwlist will not scan wlan0! I need it to scan in order to get Wicd to recognize available networks!
VMware
Backtrack 4 Final
Belkin USB Wireless F5D9050
WRT54G IP address: 192.168.1.1 wpa2
airmon-ng
Code:
Interface Chipset Driver
wlan0 Ralink 2573 USB rt73usb - [phy2]
iwlist wlan0
Code:
wlan0 Interface doesn't support scanning : Network is down
ifup wlan0
Code:
ifup: interface wlan0 already configured
iwconfig wlan0
Code:
wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.452 GHz Access Point: Not-Associated
Tx-Power=22 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
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
airodump-ng mon0
Code:
CH 3 ][ Elapsed: 58 s ][ 2010-04-18 11:52
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
00:14:BF:E8:EB:FE -63 4 92 0 6 54 . WPA2 CCMP PSK Bain's
aireplay-ng -9 mon0
Code:
11:36:46 Trying broadcast probe requests...
11:36:48 No Answer...
11:36:48 Found 2 APs
11:36:48 Trying directed probe requests...
11:36:48 00:0C:41:B1:F4:64 - channel: 6 - 'linksys'
11:36:53 Ping (min/avg/max): 13.075ms/39.785ms/180.887ms Power: -88.00
11:36:53 8/30: 26%
11:36:53 Injection is working!
11:36:53 00:14:BF:E8:EB:FE - channel: 6 - 'Bain's'
11:36:56 Ping (min/avg/max): 2.205ms/8.234ms/63.416ms Power: -62.12
11:36:56 16/30: 53%
SEE! It sees that I have a network open in airodump-ng but for some reason it will not do a iwlist scan so Wicd can be available for me to use my wireless usb online. If anyone has any suggestions as to what may be the problem and can lead me in the right direction this will be well appreciated.
Thanks
Damon Jones
Re: Unable to connect to wireless usb out of bridged mode in VMware
Yes, that's the GUI way ;)
Re: iwlist will not scan, but aireplay-ng & airodump is working?
I seem to be following you around :) (not intentionally)
To see if the interface is up use ifconfig (only ifconfig with no interface assignments or flags). If it is it will be listed. The iwlist command stated that the network (in this case the interface) is down.
So,
Code:
ifconfig wlan0 up
iwlist wlan0 scan
Re: iwlist will not scan, but aireplay-ng & airodump is working?
merged so others can follow along, better provide assistance.