[pkg-wpa-devel] Bug#490063: wpasupplicant: Doesn't work with WPA-NONE (ad-hoc)

Vedran Furač vedranf at riteh.hr
Wed Jul 9 15:11:41 UTC 2008


Package: wpasupplicant
Version: 0.6.3-2
Severity: important

I tried to setup WPA in Ad-Hoc mode but failed. On the other hand in windows
this works fine which means that other peer is configured properly.

Driver: b43 (broadcom)
Configuration:

network={
       ssid="home_vedranf"
       mode=1
       proto=WPA
       key_mgmt=WPA-NONE
       pairwise=NONE
       group=TKIP
       psk="test1234"
       frequency=2412
       id_str="wlan-home"
}

Log:

1215610714.229201: Initializing interface 'wlan1' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
1215610714.229338: Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
1215610714.229359: Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
1215610714.229449: ctrl_interface='DIR=/var/run/wpa_supplicant GROUP=netdev'
1215610714.229489: fast_reauth=1
1215610714.229503: ap_scan=2
1215610714.257150: Priority group 1
1215610714.257168:    id=1 ssid='eduroam'
1215610714.257180: Priority group 0
1215610714.257190:    id=0 ssid='home_vedranf'
1215610714.257201: Initializing interface (2) 'wlan1'
1215610715.946561: Interface wlan1 set UP - waiting a second for the driver to complete initialization
1215610718.781232: SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
1215610718.781296:   capabilities: key_mgmt 0xf enc 0xf
1215610718.849964: WEXT: Operstate: linkmode=1, operstate=5
1215610718.869479: Own MAC address: 00:1a:73:f8:a2:6e
1215610718.869493: wpa_driver_wext_set_wpa
1215610718.869503: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
1215610718.869516: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
1215610718.869525: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
1215610718.869533: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
1215610718.869541: wpa_driver_wext_set_countermeasures
1215610718.869548: wpa_driver_wext_set_drop_unencrypted
1215610718.869555: RSN: flushing PMKID list in the driver
1215610718.869578: Setting scan request: 0 sec 100000 usec
1215610718.871877: EAPOL: SUPP_PAE entering state DISCONNECTED
1215610718.871897: EAPOL: KEY_RX entering state NO_KEY_RECEIVE
1215610718.871903: EAPOL: SUPP_BE entering state INITIALIZE
1215610718.871911: EAP: EAP entering state DISABLED
1215610718.872490: ctrl_interface_group=105 (from group name 'netdev')
1215610718.872571: Added interface wlan1
1215610718.872579: Daemonize..
1215610718.873026: CTRL_IFACE - wlan1 - wait for monitor to attach
1215610718.954613: CTRL_IFACE monitor attached - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610718.954744: Ignore event for foreign ifindex 3
1215610718.954771: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610718.954796: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610718.954827: RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1215610718.954841: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610718.954855: Ignore event for foreign ifindex 3
1215610718.954868: RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
1215610718.954880: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610718.954894: RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
1215610718.954905: Wireless event: cmd=0x8b06 len=12
1215610718.954919: Ignore event for foreign ifindex 3
1215610718.954931: RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
1215610718.954943: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610718.954957: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
1215610718.954969: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610718.970494: State: DISCONNECTED -> SCANNING
1215610718.970564: Trying to associate with SSID 'home_vedranf'
1215610718.970587: CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610718.970657: Cancelling scan request
1215610718.970678: WPA: clearing own WPA/RSN IE
1215610718.970692: Automatic auth_alg selection: 0x1
1215610718.970722: WPA: No WPA/RSN IE available from association info
1215610718.970734: WPA: Set cipher suites based on configuration
1215610718.970744: WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16 proto 1
1215610718.970760: WPA: clearing AP WPA IE
1215610718.970771: WPA: clearing AP RSN IE
1215610718.970782: WPA: using GTK TKIP
1215610718.970794: WPA: using PTK NONE
1215610718.970806: WPA: using KEY_MGMT WPA-NONE
1215610718.970818: WPA: not using MGMT group cipher
1215610718.970886: WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 00 01 00 00 50 f2 00
1215610718.970912: No keys have been configured - skip key clearing
1215610718.970927: wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
1215610718.970959: wpa_driver_wext_set_drop_unencrypted
1215610718.970975: State: SCANNING -> ASSOCIATING
1215610718.970987: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
1215610718.970999: WEXT: Operstate: linkmode=-1, operstate=5
1215610718.971031: wpa_driver_wext_associate
1215610720.850589: WEXT: SIOCSIWAUTH(param 10 value 0x1) failed: Invalid argument)
1215610720.850826: Association request to the driver failed
1215610720.850847: CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610720.850940: wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
1215610720.850974: Cancelling authentication timeout
1215610720.850990: State: ASSOCIATING -> COMPLETED
1215610720.851008: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (auth) [id=-1 id_str=]
1215610720.851020: CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610720.851331: wpa_driver_wext_set_operstate: operstate 0->1 (UP)
1215610720.851356: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.851752: EAPOL: External notification - portControl=ForceAuthorized
1215610720.851813: EAPOL: disable timer tick
1215610720.851834: Ignore event for foreign ifindex 3
1215610720.851848: RTM_NEWLINK: operstate=1 ifi_flags=0x1002 ()
1215610720.851861: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610720.851878: RTM_NEWLINK: operstate=1 ifi_flags=0x1002 ()
1215610720.851891: Wireless event: cmd=0x8b06 len=12
1215610720.851905: Ignore event for foreign ifindex 3
1215610720.851917: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.851930: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.851949: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610720.851965: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.851977: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.851993: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610720.852009: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.852021: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.852037: Wireless event: cmd=0x8b04 len=16
1215610720.852052: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.852064: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.852079: Wireless event: cmd=0x8b15 len=24
1215610720.852091: Wireless event: new AP: c6:56:74:a1:10:f3
1215610720.852109: State: COMPLETED -> ASSOCIATED
1215610720.852123: wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT)
1215610720.852136: WEXT: Operstate: linkmode=-1, operstate=5
1215610720.852533: Associated to a new BSS: BSSID=c6:56:74:a1:10:f3
1215610720.852561: Select network based on association information
1215610720.852578: Network configuration found for the current AP
1215610720.852596: WPA: Using WPA IE from AssocReq to set cipher suites
1215610720.852608: WPA: Selected cipher suites: group 8 pairwise 1 key_mgmt 16 proto 1
1215610720.852621: WPA: clearing AP WPA IE
1215610720.852631: WPA: clearing AP RSN IE
1215610720.852643: WPA: using GTK TKIP
1215610720.852656: WPA: using PTK NONE
1215610720.852667: WPA: using KEY_MGMT WPA-NONE
1215610720.852680: WPA: not using MGMT group cipher
1215610720.852692: WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 00 01 00 00 50 f2 00
1215610720.852717: EAPOL: External notification - portControl=ForceAuthorized
1215610720.852735: Associated with c6:56:74:a1:10:f3
1215610720.852746: CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610720.852784: WPA: Association event - clear replay counter
1215610720.852797: EAPOL: External notification - portEnabled=0
1215610720.852848: EAPOL: External notification - portValid=0
1215610720.852862: EAPOL: External notification - portEnabled=1
1215610720.852872: EAPOL: SUPP_PAE entering state S_FORCE_AUTH
1215610720.852882: EAPOL: SUPP_BE entering state IDLE
1215610720.852895: Cancelling authentication timeout
1215610720.852908: State: ASSOCIATED -> COMPLETED
1215610720.852925: CTRL-EVENT-CONNECTED - Connection to c6:56:74:a1:10:f3 completed (reauth) [id=0 id_str=wlan-home]
1215610720.852936: CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 33 36 37 30 2d 30 00
1215610720.852964: wpa_driver_wext_set_operstate: operstate 0->1 (UP)
1215610720.852978: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.853353: Cancelling scan request
1215610720.853390: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.853404: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.853430: Wireless event: cmd=0x8b1a len=28
1215610720.853446: RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1215610720.853460: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610720.853567: RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
1215610720.853586: WEXT: Operstate: linkmode=-1, operstate=6
1215610720.853603: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610720.853619: RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
1215610720.853632: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610722.905551: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610724.905555: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610726.905516: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610728.905521: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610730.905561: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610732.905558: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610734.905561: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610736.905513: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610738.905551: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610740.905522: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610742.905551: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610744.905528: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610746.905561: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610748.905513: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            
1215610750.850090: RTM_NEWLINK: operstate=1 ifi_flags=0x1043 ([UP][RUNNING])
1215610750.850122: Wireless event: cmd=0x8b15 len=24
1215610750.850134: Wireless event: new AP: 00:00:00:00:00:00
1215610750.850148: Disconnect event - ignore in IBSS/WPA-None mode
1215610750.861851: RTM_NEWLINK: operstate=1 ifi_flags=0x1003 ([UP])
1215610750.861885: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan1' added
1215610750.905514: RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING            


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25 (PREEMPT)
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-wpa-devel mailing list