Results 1 to 4 of 4

Thread: ALFA AWUS036H wpa supplicant problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Nov
    Posts
    3

    ALFA AWUS036H wpa supplicant problem

    Hello,

    I am experiencing troubles connecting to a WPA protected AP with wpa_supplicant with my external card Alfa AWUS036H.

    card is detected and works fine with other tools.
    Code:
    root@kali:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:0c:29:49:80:0c  
              inet addr:192.168.11.131  Bcast:192.168.11.255  Mask:255.255.255.0
              inet6 addr: fe80::20c:29ff:fe49:800c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:7697 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6475 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:4841516 (4.6 MiB)  TX bytes:1014321 (990.5 KiB)
              Interrupt:19 Base address:0x2024 
    
    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:65536  Metric:1
              RX packets:52 errors:0 dropped:0 overruns:0 frame:0
              TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:3744 (3.6 KiB)  TX bytes:3744 (3.6 KiB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:c0:ca:54:ae:df  
              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@kali:~# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa-supp.conf
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    ioctl[SIOCSIWSCAN]: Device or resource busy
    wlan0: Failed to initiate AP scan
    ioctl[SIOCSIWSCAN]: Device or resource busy
    wlan0: Failed to initiate AP scan
    ioctl[SIOCSIWSCAN]: Device or resource busy
    wlan0: Failed to initiate AP scan
    ioctl[SIOCSIWSCAN]: Device or resource busy
    wlan0: Failed to initiate AP scan
    ^Cwlan0: CTRL-EVENT-TERMINATING - signal 2 received
    wpa supplicant configuration file

    Code:
    network={
    	bssid=00:21:63:0E:29:2E	
    	ssid="some"
    	key_mgmt=WPA-PSK
    	pairwise=TKIP
    	proto=WPA
    	group=TKIP
    	psk="a1s2d3f4Q5"
    }
    any suggestions or similar experience? thank you

  2. #2
    Join Date
    2013-Nov
    Posts
    3
    Hello I forgot additional info. Im runing Kali Gnome version on vmware player 6.0.
    Also I made further development as the error code is now more verbose.

    Code:
    root@kali:~# wpa_supplicant -iwlan0 -c/etc/wpa-supp.conf -Dwext
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    wlan0: Trying to associate with 00:21:63:0E:29:2E (SSID='some' freq=2427 MHz)
    wlan0: Associated with 00:00:00:00:00:00
    wlan0: CTRL-EVENT-DISCONNECTED bssid=00:21:63:0E:29:2E reason=0

  3. #3
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by roottoorroot View Post
    Hello I forgot additional info. Im runing Kali Gnome version on vmware player 6.0.
    Also I made further development as the error code is now more verbose.

    Code:
    root@kali:~# wpa_supplicant -iwlan0 -c/etc/wpa-supp.conf -Dwext
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    ioctl[SIOCSIWENCODEEXT]: Invalid argument
    wlan0: Trying to associate with 00:21:63:0E:29:2E (SSID='some' freq=2427 MHz)
    wlan0: Associated with 00:00:00:00:00:00
    wlan0: CTRL-EVENT-DISCONNECTED bssid=00:21:63:0E:29:2E reason=0
    hi
    i THINK(my-amatour-opinion) the problem is related to network-manager && wpa_supplicant...because:
    I have done many test son my x64 VM-KALI-ONLY_TEST
    before I had your same results...but after:
    -remove network-manager network-manager-gnome and consequently wpasupplicant
    -reboot my vm-test && autoconnect via eth0
    -install wicd with dependency && auto-reinstall wpasupplicant as recommended package!!!
    -reboot && disconnect eth0 (make it down) && connect my alfa36H
    -follow the procedures in the picture
    WORKED-FINE !!!!!
    http://imageshack.us/f/14/l3v0.png/
    @zoom 1600x1200
    bye
    Last edited by zimmaro; 2013-11-11 at 21:53.

  4. #4
    Join Date
    2013-Nov
    Posts
    3
    Hi zimmaro, thank you for you input :-)
    I followed your steps and finally managed to connect via wpa_supplicant!
    Furthermore I tested an alternative: I did all the above without wpa_supplicant reinstallation and this time also worked fine >>> so this must be related to the network-manager.

Similar Threads

  1. Alfa AWUS036H Problem. wierd interface name and error log for monitor mode
    By HaraldGer123 in forum TroubleShooting Archive
    Replies: 16
    Last Post: 2016-06-08, 14:18
  2. Replies: 0
    Last Post: 2015-06-03, 14:10
  3. Install problem with DRIVER ALFA AWUS036h - hELP me please
    By netdestroyer in forum General Archive
    Replies: 7
    Last Post: 2014-07-29, 11:25
  4. Alfa AWUS036H Connection Drop Problem
    By kaboyish in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2014-03-02, 09:33

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •