Problems connecting on wireless using DWA-110 adapter
Hi ppl. I am brazilian and my english is not so good, so sorry for any misunderstanding.
My problem is the following: I installed the BackTrack 5 (Gnome) on VirtualBox and cant access the internet!
The details:
- Using a D-Link DWA-110 wireless USB adapter (sharing the adapter on VirtualBox);
- Trying to connect to a router with WPA2-PSK encryption.
- Using the WICD network manager (1.7) I got a Bad password error. I connect only 2 times and the internet was very slow and cant reach any host on the network.
- I using the rt73 driver (looking at http://linux-wless.passys.nl/ is the correct driver)
- My problem is only to connect in wireless, I bridged my notebook internet connection and is fine.
Outputs:
Code:
root@bt:~# iwconfig
lo no wireless extensions.
eth2 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Code:
root@bt:~# ifconfig
eth2 Link encap:Ethernet HWaddr MACADDRESS
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe0d:b324/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3741 (3.7 KB) TX bytes:1638 (1.6 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1280 (1.2 KB) TX bytes:1280 (1.2 KB)
wlan0 Link encap:Ethernet HWaddr MACADDRESS
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Code:
root@bt:~# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
00:06.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:11.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 02)
Code:
root@bt:~# lsusb
Bus 001 Device 003: ID 07d1:3c07 D-Link System Wireless G DWA-110 Adapter
Bus 001 Device 002: ID 80ee:0021
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
The wicd log:
Code:
2011/11/29 19:59:04 :: Connecting to wireless network MYNETWORK
2011/11/29 19:59:04 :: iwconfig wlan0
2011/11/29 19:59:04 :: /sbin/dhcpcd-bin -k wlan0
2011/11/29 19:59:04 :: ifconfig wlan0 0.0.0.0
2011/11/29 19:59:04 :: /sbin/ip route flush dev wlan0
2011/11/29 19:59:04 :: ifconfig wlan0 down
2011/11/29 19:59:05 :: ifconfig wlan0 up
2011/11/29 19:59:06 :: wpa_cli -i wlan0 terminate
2011/11/29 19:59:06 :: ifconfig wlan0
2011/11/29 19:59:06 :: Putting interface down
2011/11/29 19:59:06 :: ifconfig wlan0 down
2011/11/29 19:59:06 :: iwconfig wlan0
2011/11/29 19:59:09 :: Releasing DHCP leases...
2011/11/29 19:59:09 :: /sbin/dhcpcd-bin -k wlan0
2011/11/29 19:59:09 :: Setting false IP...
2011/11/29 19:59:09 :: ifconfig wlan0 0.0.0.0
2011/11/29 19:59:11 :: Stopping wpa_supplicant
2011/11/29 19:59:11 :: wpa_cli -i wlan0 terminate
2011/11/29 19:59:11 :: Flushing the routing table...
2011/11/29 19:59:11 :: /sbin/ip route flush dev wlan0
2011/11/29 19:59:11 :: iwconfig wlan0 mode managed
2011/11/29 19:59:11 :: Putting interface up...
2011/11/29 19:59:11 :: ifconfig wlan0 up
2011/11/29 19:59:13 :: enctype is wpa
2011/11/29 19:59:13 :: Generating psk...
2011/11/29 19:59:13 :: ['/usr/bin/wpa_passphrase', 'MYNETWORK', 'MYPASSWORD']
2011/11/29 19:59:13 :: Attempting to authenticate...
2011/11/29 19:59:13 :: ['wpa_supplicant', '-B', '-i', 'wlan0', '-c', '/var/lib/wicd/configurations/002401a9801e', '-D', 'wext']
2011/11/29 19:59:13 :: ['iwconfig', 'wlan0', 'essid', '--', 'MYNETWORK']
2011/11/29 19:59:13 :: iwconfig wlan0 channel 1
2011/11/29 19:59:13 :: iwconfig wlan0 ap MACADDRESS
2011/11/29 19:59:13 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:14 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:15 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:16 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:17 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:18 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:19 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:20 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:21 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:22 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:23 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:24 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:25 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:26 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:27 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:28 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:29 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:30 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:31 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:32 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:33 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:34 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:35 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:37 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:38 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:39 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:40 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:41 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:42 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:43 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:44 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:45 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:46 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:47 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:48 :: WPA_CLI RESULT IS SCANNING
2011/11/29 19:59:49 :: wpa_supplicant authentication may have failed.
2011/11/29 19:59:49 :: connect result is Failed
2011/11/29 19:59:49 :: exiting connection thread
2011/11/29 19:59:49 :: Sending connection attempt result bad_pass
2011/11/29 19:59:49 :: ifconfig wlan0
2011/11/29 19:59:49 :: Forced disconnect on
2011/11/29 19:59:49 :: iwconfig wlan0
2011/11/29 19:59:49 :: /sbin/dhcpcd-bin -k wlan0
2011/11/29 19:59:49 :: ifconfig wlan0 0.0.0.0
2011/11/29 19:59:49 :: /sbin/ip route flush dev wlan0
2011/11/29 19:59:49 :: ifconfig wlan0 down
2011/11/29 19:59:51 :: ifconfig wlan0 up
2011/11/29 19:59:53 :: wpa_cli -i wlan0 terminate
2011/11/29 19:59:53 :: iwconfig wlan0
2011/11/29 19:59:54 :: ifconfig wlan0
2011/11/29 19:59:56 :: ifconfig wlan0
2011/11/29 19:59:58 :: found netprop_width in configuration 414
2011/11/29 19:59:58 :: found netprop_height in configuration 600
2011/11/29 20:00:00 :: ifconfig wlan0
2011/11/29 20:00:02 :: ifconfig wlan0
Any help is appreciated.
Thank you.
Respuesta: Problems connecting on wireless using DWA-110 adapter
Ok, I give up VirtualBox and use a Live USB of BackTrack 5 and the wireless is now properly working. My problem now seems to be very simple, the Ettercap (Gtk, Curses and Text Interface) dont show passwords. I execute a MITM on my network using either Ettercap or arpspoof and the ettercap gives me nothing. Capturing the traffic in Wireshark give me the passwords, but in Ettercap dont! What is going on?