LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BLTS test: : Core-WLAN-Associate with WPA2-PSK AP (https://www.linuxquestions.org/questions/linux-newbie-8/blts-test-core-wlan-associate-with-wpa2-psk-ap-915318/)

cruiser 11-24-2011 06:55 AM

BLTS test: : Core-WLAN-Associate with WPA2-PSK AP
 
Hi ,

I am running some BLTS related tests and am getting an error for the below test.

Code:

# blts-wlan-core-tests -en "Core-WLAN-Associate with WPA2-PSK AP"
No config file given, trying default: /etc/blts/blts-wlan-core-tests.cnf
 
Starting test '7: Core-WLAN-Associate with WPA2-PSK AP'...
 
----------------------------------------------------------------
Variant 1, parameters: [wlan_device:"wlan9", wpa_ssid:"TESTNETWORK", wpa_passphrase:"name650"]
nl80211_init...
eloop initialized
Finishing device:wlan9 initialization before testing...
Set wireless mode 0 (0 = infra/BSS , 1 = adhoc/IBSS)
Taking the device down and do mode change ...
Power save mode...
 
 nl80211 error -95
Set power save failed: ret=-95 (Operation not supported)
 
 nl80211 error -95
Get power save failed: ret=-95 (Operation not supported)
Local device is at 00:40:96:ba:10:a7
Test number 7:
 
 nl80211 error -23
Reusing existing monitor interface mon.wlan9
Scan requested (ret=0) - scan timeout 10 seconds
eloop run called
>New scan results available
eloop terminate called
BSS 00:40:96:ba:00:59 (on wlan9)
        freq: 2412
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -78.00 dBm
        TSF: 14348464553579819890 usec (166070191d, 14:12:59)
BSS 00:40:96:ba:10:f6 (on wlan9)
        freq: 2412
        beacon interval: 100
        capability: ESS Privacy ShortSlotTime (0x0411)
        signal: -71.00 dBm
        TSF: 1905152001 usec (0d, 00:31:45)
BSS 00:40:96:ba:02:5c (on wlan9)
        freq: 2447
        beacon interval: 100
        capability: ESS (0x0001)
        signal: -86.00 dBm
        TSF: 96620851201 usec (1d, 02:50:20)
Received scan results (3 BSSes)
Searching bss...
{TESTNETWORK}
BSS found
Authenticate (ifindex=5)
  * bssid=00:40:96:ba:00:59
  * freq=2412
  * SSID - hexdump_ascii(len=11):
    54 45 53 54 4e 45 54 57 4f 52 4b                  TESTNETWORK
  * IEs - hexdump(len=0): [NULL]
  * Auth Type 0
Authentication request send successfully
eloop run called
MLME event (37) NL80211_CMD_AUTHENTICATE
MLME event frame - hexdump(len=30):  b0 00 3a 01 00 40 96 ba 10 a7 00 40 96 ba 00 59 00 40 96 ba 00 59 50 15 00 00 02 00 00 00
NL80211_CMD_AUTHENTICATE -> auth_bssid:00:40:96:ba:00:59
>>eloop_terminate
eloop terminate called
Associate (ifindex=5)
  * bssid=00:40:96:ba:00:59
  * freq=2412
  * SSID - hexdump_ascii(len=11):
    54 45 53 54 4e 45 54 57 4f 52 4b                  TESTNETWORK
  * IEs - hexdump(len=22):  30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
Association request send successfully
eloop run called
MLME event (38) NL80211_CMD_ASSOCIATE
MLME event frame - hexdump(len=46):  10 00 3a 01 00 40 96 ba 10 a7 00 40 96 ba 00 59 00 40 96 ba 00 59 70 15 11 04 00 00 01 c0 01 08 82 84 8b 96 0c 12 18 24 32 04 30 48 60 6c
NL80211_CMD_ASSOCIATE -> bssid:00:40:96:ba:00:59
>>eloop_terminate
eloop terminate called
WPA: Timed out waiting for key exchange
Not removing previously existing monitor interface mon.wlan9
 
 nl80211 error -22
MLME command failed: ret=-22 (Invalid argument)
Disconnect from AP failed (or never connected properly)
eloop destroyed
Test failed.
Test failed for values: [wlan_device:"wlan9", wpa_ssid:"TESTNETWORK", wpa_passphrase:"name3650"]
Test failed for variations:
        [wlan_device:"wlan9", wpa_ssid:"TESTNETWORK", wpa_passphrase:"name3650"]
-------------------------------------------------------------------------------------------------------------------------------------

Any suggestions would be helpful

Regards

floppy_stuttgart 11-27-2011 02:01 PM

what is blts? ("Bully Long Time Support"..?..;-)
Or do you want to setup your wlan wpa2?
no glue what happens there; please describe.

cruiser 11-28-2011 06:45 AM

Blts-common package (0.4.0) provides common functions used in BLTS test assets gathered in one library. It includes common functionality like:

logging
timing
checking for required components (kernel modules, libraries, binaries,...)
XML result writing
configuration file handling
command-line frontend (CLI) for test drivers

IF you need more info on BLTS here is the link
http://wiki.meego.com/Quality/TestSu..._Specification


All times are GMT -5. The time now is 11:35 PM.