Page 15 of 16 FirstFirst ... 513141516 LastLast
Results 141 to 150 of 155

Thread: HowTo: WPA with wpa_supplicant

  1. #141
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: HowTo: WPA with wpa_supplicant

    I love doing it manually as well, but is there some reason you have to do this manually? Network Manager or WICD isn't sufficient?

  2. #142
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: HowTo: WPA with wpa_supplicant

    Ok, I need to pick someone's brain.

    I have an old Dell Inspiron 5100 that I just picked up a Broadcom internal wireless card for (BCM4309). I installed the B43legacy driver for it, and managed to get it connected using NetworkManager. Only one problem. It connects at 80-90% signal strength, but the speed is slow to none (i.e. it only actually resolves websites on rare occasion).

    So I disabled NetworkManager, and tried the steps in this tutorial. Same thing. It *sometimes* connects, and when it does, the speed is dead slow.

    Any ideas as to what might be causing this?
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

  3. #143
    Join Date
    Apr 2007
    Beans
    35

    Re: HowTo: WPA with wpa_supplicant

    I love doing it manually as well, but is there some reason you have to do this manually? Network Manager or WICD isn't sufficient?
    Hmm, Network Manager fails to connect. It spends ages trying and then eventually 'fails' showing the form to enter the passcode. I had tried wicd but as 9.10 reinstalled Network Manager hadn't tried again. Thought I'd get it working manually first.

  4. #144
    Join Date
    Dec 2009
    Beans
    1

    Re: HowTo: WPA with wpa_supplicant

    When I open interfaces to place those two lines in, it has nothing with in it. I'm a noob so I don't know if that's a problem or not.
    Last edited by Kiru0293; January 1st, 2010 at 09:21 PM.

  5. #145
    Join Date
    May 2008
    Beans
    2,526

    Re: HowTo: WPA with wpa_supplicant

    It's been roughly 4.5 years since this how to was created and for those that wonder if it still works the answer is YES.
    I disabled network manager under System > Preferences > Startup Applications
    and am now connected without it using 9.10.

    Actually I'm using Ubuntu Ultimate Edition 2.5, which is based on 9.10, so if you don't have Startup Applications you can install it with
    Code:
    sudo apt-get install gnome-session-properties
    For those using AES encryption instead of TKIP just change them around in the instructions when doing it.

    EDIT: I also removed these 2 lines, otherwise I would get an error.
    pairwise=CCMP AES
    group=CCMP AES
    Thanks to the OP for the how to, to Chili555 for pointing me to it, and to others that have added to it over the years.
    Last edited by 2hot6ft2; March 30th, 2010 at 05:17 PM. Reason: more info
    Ultimate Edition Links

  6. #146
    Join Date
    Mar 2010
    Beans
    29

    Re: HowTo: WPA with wpa_supplicant

    This is by far one of the most helpful howto's in this entire forum. I keep coming back every few months when I have to re-install my system cause I play around with it too much..

    Works every time!

  7. #147
    Join Date
    Jan 2009
    Beans
    25

    Smile Re: HowTo: WPA with wpa_supplicant

    I only read the first three pages of posts but it still helped me a lot. I just tried FreeBSD and had to configure wireless 'manually' with wpa_supplicant because of the Atheros based PCMCIA card. It was basically the same thing. Here's what my .conf file looks like if it will help anyone:

    Code:
    ctrl_interface=/var/run/wpa_supplicant
    network={
      ssid="my_access_point_name"
      proto=WPA
      key_mgmt=NONE
      wep_key0=<10 digits in here - no quotes>
      wep_tx_keyidx=0
    }
    So there is a _lot_ of possibilities in that file.

    Thanks for the help.

    Oh yeh - this was in Xubuntu FWIW
    Last edited by pnguine; April 9th, 2010 at 02:52 AM. Reason: Added last line

  8. #148
    Join Date
    Aug 2007
    Beans
    14

    Re: HowTo: WPA with wpa_supplicant

    Hi,

    I'm trying to connect to a AP by command line but I can't yet. Using the network manager it's possible but I need the command lines to use in my code programming.

    Here it's what I tryed:
    Code:
    sudo iwconfig wlan0 mode managed channel 6 key restricted s:'12345' essid 'cassiano-PC_AP'
    and the tail: sudo tail -f /var/log/syslog
    Code:
    05:55 cassiano-linux kernel: [13476.935795] wlan0: direct probe to AP 00:15:af:84:29:d3 (try 1)
    Aug 13 14:05:55 cassiano-linux kernel: [13476.935943] wlan0: deauthenticating from 00:15:af:84:29:d3 by local choice (reason=3)
    Aug 13 14:05:55 cassiano-linux kernel: [13476.936002] wlan0: direct probe to AP 00:15:af:84:29:d3 (try 1)
    Aug 13 14:05:55 cassiano-linux kernel: [13476.939620] wlan0: direct probe responded
    Aug 13 14:05:55 cassiano-linux kernel: [13476.939628] wlan0: authenticate with AP 00:15:af:84:29:d3 (try 1)
    Aug 13 14:05:55 cassiano-linux kernel: [13476.942595] wlan0: authenticated
    Aug 13 14:05:55 cassiano-linux kernel: [13476.942631] wlan0: associate with AP 00:15:af:84:29:d3 (try 1)
    Aug 13 14:05:55 cassiano-linux wpa_supplicant[828]: No network configuration found for the current AP
    Aug 13 14:05:55 cassiano-linux kernel: [13476.944736] wlan0: RX AssocResp from 00:15:af:84:29:d3 (capab=0x431 status=0 aid=20)
    Aug 13 14:05:55 cassiano-linux kernel: [13476.944742] wlan0: associated
    Aug 13 14:05:55 cassiano-linux kernel: [13476.965044] wlan0: deauthenticating from 00:15:af:84:29:d3 by local choice (reason=3)
    Aug 13 14:05:55 cassiano-linux wpa_supplicant[828]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    I think that the error is:
    Code:
    Aug 13 14:05:55 cassiano-linux wpa_supplicant[828]: No network configuration found for the current AP
    And when I connect with the network manager appears this on the tail:
    Code:
    NetworkManager: <info>  Activation (wlan0/wireless): connection 'Auto cassiano-PC_AP' has security, and secrets exist.  No new secrets needed.
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'ssid' value 'cassiano-PC_AP'
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'scan_ssid' value '1'
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'key_mgmt' value 'NONE'
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'auth_alg' value 'OPEN'
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'wep_key0' value '<omitted>'
    Aug 13 14:31:31 cassiano-linux NetworkManager: <info>  Config: added 'wep_tx_keyidx' value '0'
    and this:
    Code:
    Aug 13 14:31:32 cassiano-linux wpa_supplicant[828]: Associated with 00:15:af:84:29:d3
    My /etc/wpa_supplicant.conf
    Code:
    ctrl_interface=/var/run/wpa_supplicant
    
    network={
            ssid="cassiano-PC_AP"
            scan_ssid=1
            key_mgmt=NONE
            auth_alg=OPEN
            wep_key0="12345"
            wep_tx_keyidx=1
    }
    And when I run this:

    sudo wpa_supplicant -dd -iwlan0 -c/etc/wpa_supplicant.conf

    Code:
    Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
    Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
    Reading configuration file '/etc/wpa_supplicant.conf'
    ctrl_interface='/var/run/wpa_supplicant'
    Line: 10 - start of a new network block
    ssid - hexdump_ascii(len=14):
         63 61 73 73 69 61 6e 6f 2d 50 43 5f 41 50         cassiano-PC_AP 
    scan_ssid=1 (0x1)
    key_mgmt: 0x4
    auth_alg: 0x1
    wep_key0 - hexdump(len=5): [REMOVED]
    wep_tx_keyidx=1 (0x1)
    Priority group 0
       id=0 ssid='cassiano-PC_AP'
    SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
      capabilities: key_mgmt 0xf enc 0xf flags 0x0
    WEXT: Operstate: linkmode=1, operstate=5
    Own MAC address: 00:19:d2:22:99:4f
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_countermeasures
    wpa_driver_wext_set_drop_unencrypted
    RSN: flushing PMKID list in the driver
    Setting scan request: 0 sec 100000 usec
    WPS: UUID based on MAC address - hexdump(len=16): a5 33 8d 4b 44 f7 5d bd ac b3 f9 23 07 2b 46 f4
    WPS: Build Beacon and Probe Response IEs
    WPS:  * Version
    WPS:  * Wi-Fi Protected Setup State (0)
    WPS:  * Version
    WPS:  * Wi-Fi Protected Setup State (0)
    WPS:  * Response Type (2)
    WPS:  * UUID-E
    WPS:  * Manufacturer
    WPS:  * Model Name
    WPS:  * Model Number
    WPS:  * Serial Number
    WPS:  * Primary Device Type
    WPS:  * Device Name
    WPS:  * Config Methods (0)
    WPS:  * RF Bands (3)
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: KEY_RX entering state NO_KEY_RECEIVE
    EAPOL: SUPP_BE entering state INITIALIZE
    EAP: EAP entering state DISABLED
    Added interface wlan0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    State: DISCONNECTED -> SCANNING
    Starting AP scan (specific SSID)
    Scan SSID - hexdump_ascii(len=14):
         63 61 73 73 69 61 6e 6f 2d 50 43 5f 41 50         cassiano-PC_AP 
    Trying to get current scan results first without requesting a new scan to speed up initial association
    Received 1123 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Trying to associate with 00:15:af:84:29:d3 (SSID='cassiano-PC_AP' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    Overriding auth_alg selection: 0x1
    WPA: clearing AP WPA IE
    WPA: clearing AP RSN IE
    WPA: clearing own WPA/RSN IE
    No keys have been configured - skip key clearing
    wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=0 seq_len=0 key_len=5
    wpa_driver_wext_set_drop_unencrypted
    State: SCANNING -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=ForceAuthorized
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1123 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Already associated with the selected AP.
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c08 len=24
    AssocResp IE wireless event - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:15:af:84:29:d3
    Association info event
    resp_ies - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated with 00:00:00:00:00:00
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state S_FORCE_AUTH
    EAPOL: SUPP_BE entering state IDLE
    Cancelling authentication timeout
    State: ASSOCIATED -> COMPLETED
    CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=0 id_str=]
    wpa_driver_wext_set_operstate: operstate 0->1 (UP)
    WEXT: Operstate: linkmode=-1, operstate=6
    Cancelling scan request
    RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    Added BSSID 00:15:af:84:29:d3 into blacklist
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    State: COMPLETED -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Trying to associate with 00:15:af:84:29:d3 (SSID='cassiano-PC_AP' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    Overriding auth_alg selection: 0x1
    WPA: clearing AP WPA IE
    WPA: clearing AP RSN IE
    WPA: clearing own WPA/RSN IE
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=0 seq_len=0 key_len=5
    wpa_driver_wext_set_drop_unencrypted
    State: DISCONNECTED -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=ForceAuthorized
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Already associated with the selected AP.
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c08 len=24
    AssocResp IE wireless event - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:15:af:84:29:d3
    Association info event
    resp_ies - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated to a new BSS: BSSID=00:15:af:84:29:d3
    Associated with 00:15:af:84:29:d3
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state S_FORCE_AUTH
    EAPOL: SUPP_BE entering state IDLE
    Cancelling authentication timeout
    Removed BSSID 00:15:af:84:29:d3 from blacklist
    State: ASSOCIATED -> COMPLETED
    CTRL-EVENT-CONNECTED - Connection to 00:15:af:84:29:d3 completed (reauth) [id=0 id_str=]
    wpa_driver_wext_set_operstate: operstate 0->1 (UP)
    WEXT: Operstate: linkmode=-1, operstate=6
    Cancelling scan request
    RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
    WEXT: Operstate: linkmode=-1, operstate=6
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    Added BSSID 00:15:af:84:29:d3 into blacklist
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    State: COMPLETED -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Trying to associate with 00:15:af:84:29:d3 (SSID='cassiano-PC_AP' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    Overriding auth_alg selection: 0x1
    WPA: clearing AP WPA IE
    WPA: clearing AP RSN IE
    WPA: clearing own WPA/RSN IE
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=0 seq_len=0 key_len=5
    wpa_driver_wext_set_drop_unencrypted
    State: DISCONNECTED -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=ForceAuthorized
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Already associated with the selected AP.
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c08 len=24
    AssocResp IE wireless event - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:15:af:84:29:d3
    Association info event
    resp_ies - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    Associated to a new BSS: BSSID=00:15:af:84:29:d3
    Associated with 00:15:af:84:29:d3
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state S_FORCE_AUTH
    EAPOL: SUPP_BE entering state IDLE
    Cancelling authentication timeout
    Removed BSSID 00:15:af:84:29:d3 from blacklist
    State: ASSOCIATED -> COMPLETED
    CTRL-EVENT-CONNECTED - Connection to 00:15:af:84:29:d3 completed (reauth) [id=0 id_str=]
    wpa_driver_wext_set_operstate: operstate 0->1 (UP)
    WEXT: Operstate: linkmode=-1, operstate=6
    Cancelling scan request
    RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    Added BSSID 00:15:af:84:29:d3 into blacklist
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    State: COMPLETED -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Trying to associate with 00:15:af:84:29:d3 (SSID='cassiano-PC_AP' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    Overriding auth_alg selection: 0x1
    WPA: clearing AP WPA IE
    WPA: clearing AP RSN IE
    WPA: clearing own WPA/RSN IE
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=0 seq_len=0 key_len=5
    wpa_driver_wext_set_drop_unencrypted
    State: DISCONNECTED -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=ForceAuthorized
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b06 len=8
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b04 len=12
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Already associated with the selected AP.
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8c08 len=24
    AssocResp IE wireless event - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:15:af:84:29:d3
    Association info event
    resp_ies - hexdump(len=16): 01 04 82 84 8b 96 32 08 8c 12 98 24 b0 48 60 6c
    State: ASSOCIATING -> ASSOCIATED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    ^CAssociated with 00:00:00:00:00:00
    WPA: Association event - clear replay counter
    WPA: Clear old PTK
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    EAPOL: External notification - portEnabled=1
    EAPOL: SUPP_PAE entering state S_FORCE_AUTH
    EAPOL: SUPP_BE entering state IDLE
    Cancelling authentication timeout
    State: ASSOCIATED -> COMPLETED
    CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (reauth) [id=0 id_str=]
    wpa_driver_wext_set_operstate: operstate 0->1 (UP)
    WEXT: Operstate: linkmode=-1, operstate=6
    Cancelling scan request
    RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    CTRL-EVENT-TERMINATING - signal 2 received
    RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b15 len=20
    Wireless event: new AP: 00:00:00:00:00:00
    Setting scan request: 0 sec 100000 usec
    BSSID 00:15:af:84:29:d3 blacklist count incremented to 2
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    State: COMPLETED -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    EAPOL: External notification - portEnabled=0
    EAPOL: SUPP_PAE entering state DISCONNECTED
    EAPOL: SUPP_BE entering state INITIALIZE
    EAPOL: External notification - portValid=0
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Wireless event: cmd=0x8b19 len=8
    Received 1121 bytes of scan results (3 BSSes)
    New scan results available
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - blacklisted
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - blacklisted
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - SSID mismatch
    No APs found - clear blacklist and try again
    Removed BSSID 00:15:af:84:29:d3 from blacklist (clear)
    Selecting BSS from priority group 0
    Try to find WPA-enabled AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    2: 00:0f:3d:af:85:76 ssid='LabPlan' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       skip - no WPA/RSN IE
    Try to find non-WPA AP
    0: c4:7d:4f:38:ea:f0 ssid='redeUFSCSemFio2X' wpa_ie_len=24 rsn_ie_len=20 caps=0x11
       skip - SSID mismatch
    1: 00:15:af:84:29:d3 ssid='cassiano-PC_AP' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
       selected non-WPA AP 00:15:af:84:29:d3 ssid='cassiano-PC_AP'
    Trying to associate with 00:15:af:84:29:d3 (SSID='cassiano-PC_AP' freq=2437 MHz)
    Cancelling scan request
    WPA: clearing own WPA/RSN IE
    Automatic auth_alg selection: 0x1
    Overriding auth_alg selection: 0x1
    WPA: clearing AP WPA IE
    WPA: clearing AP RSN IE
    WPA: clearing own WPA/RSN IE
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=1 key_idx=0 set_tx=0 seq_len=0 key_len=5
    wpa_driver_wext_set_drop_unencrypted
    State: DISCONNECTED -> ASSOCIATING
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_associate
    wpa_driver_wext_set_psk
    Setting authentication timeout: 10 sec 0 usec
    EAPOL: External notification - EAP success=0
    EAPOL: External notification - EAP fail=0
    EAPOL: External notification - portControl=ForceAuthorized
    RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
    RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
    Removing interface wlan0
    State: ASSOCIATING -> DISCONNECTED
    wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
    WEXT: Operstate: linkmode=-1, operstate=5
    wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
    wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
    EAPOL: External notification - portEnabled=0
    EAPOL: External notification - portValid=0
    wpa_driver_wext_set_wpa
    wpa_driver_wext_set_drop_unencrypted
    wpa_driver_wext_set_countermeasures
    No keys have been configured - skip key clearing
    Cancelling scan request
    Cancelling authentication timeout
    WEXT: Operstate: linkmode=0, operstate=6

  9. #149
    Join Date
    Jul 2010
    Beans
    4

    Re: HowTo: WPA with wpa_supplicant

    The easiest way to configure wpa_supplicant is to connect to a wireless network using NetworkManager and then copy the config settings out of the daemon logs. This post here shows you how.

  10. #150
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HowTo: WPA with wpa_supplicant

    Hi t_anjan. Happy New Year!

    For iwconfig to return useful output, you must run it as superuser:
    Code:
    sudo iwconfig
    Unfortunately, I have no experience with ndiswrapper so I can't help you with that.

    However, there is a native Linux driver for your wireless adapter I'd be glad to help you get working if you're interested.

Page 15 of 16 FirstFirst ... 513141516 LastLast

Bookmarks

Posting Permissions

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