Author Topic: Wpa-psk And 3.5.4  (Read 4280 times)

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Wpa-psk And 3.5.4
« on: April 05, 2006, 03:43:40 am »
Just flashed to Opie 3.5.4 using the 32-32 zImage on my collie and everything looks great with the exception of WPA-PSK CCMP on my Ambicom WL1100C.

I'm using the same wpa_supplicant.conf I used under 3.5.3 with no problems. I wrestled with it for a few hours and flashed back to 3.5.3 just to see if I missed something but after flashing and immediately starting up the wpa_supplicant in debug mode (hostap) it connected up with no issues. I did not need to make any changes under 3.5.3.

Flashed back to 3.5.4 and still no go. Disabling encryption works fine on 3.5.4 with this card but that isn't an option.

Any ideas out there? I've searched high and low to no avail.

Here is what i get from running "wpa_supplicant -Dhostap -iwlan0 -c/etc/wpa_supplicant.conf -dd":

Code: [Select]
Priority group 1
   id=0 ssid='lamessid'
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
 
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 233 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:00:00:00:06:22 ssid='lamessid' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 233 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:00:00:00:06:22 ssid='lamessid' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b19 len=12
Received 233 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 1
0: 00:00:00:00:06:22 ssid='lamessid' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
Signal 2 received - terminating
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_hostap_set_wpa: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0

Same command and config works under 3.5.3

wpa_supplicant.conf looks like this:

Code: [Select]
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
   ssid="lamessid"
   proto=WPA
   psk="somelamepassphrase"
   key_mgmt=WPA-PSK
   pairwise=CCMP
   group=CCMP
   priority=1
}

Regards,

-sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Wpa-psk And 3.5.4
« Reply #1 on: April 05, 2006, 11:42:32 pm »
Looks like I'll have to go back to 3.5.3:

TuxMobil

The card no longer works with 3.5.4

I'd be willing to test changes to the hostap drivers in order to get this to work if any developers have time to mess with them.

-sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Wpa-psk And 3.5.4
« Reply #2 on: April 06, 2006, 02:26:52 am »
Hmm, it seems I'm not alone. I haven't 3.5.3 flashed before, so I didn't know thats problem of collie wpa support. I'm trying to get it working over the week. I'm try to use TKIP, evrithing seems to be set correctly but wpa_supplicant still returning:
Code: [Select]
Received 267 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 5
0: 00:11:d8:32:68:c7 ssid='nax.home' wpa_ie_len=0 rsn_ie_len=0
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec

But intresting is this:

Code: [Select]
root@znax:/etc# iwlist wlan0 scanning
wlan0     Scan completed :
          Cell 01 - Address: 00:11:D8:32:68:C7
                    ESSID:"nax.home"
                    Mode:Master
                    Frequency:2.432 GHz (Channel 5)
                    Quality:0/70  Signal level:-53 dBm  Noise level:-83 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:resp_rate=10
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK  
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK  

Paradox is, that wpa support was main thing why I flashed to 3.5.4
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Wpa-psk And 3.5.4
« Reply #3 on: April 06, 2006, 06:01:10 am »
Have you submitted a bug or asked on the openzaurus mailing lists?

I know nothing about this subject, a bug or mailinglist question will get you far more exposure to the OZ devs.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

nax

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://www.nax.cz
Wpa-psk And 3.5.4
« Reply #4 on: April 06, 2006, 09:38:44 am »
Thanks for advice. Bug 819 submitted.

May be I'll try 3.5.3 too.
« Last Edit: April 07, 2006, 10:44:56 am by nax »
SL5500, wifi CF linksys wcf11, bluetooth CF nokia DTL-4 card, SD 512MB
OpenZaurus 3.5.4 OPIE, altboot [3] - / on SD card

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Wpa-psk And 3.5.4
« Reply #5 on: April 06, 2006, 06:30:11 pm »
Quote
Have you submitted a bug or asked on the openzaurus mailing lists?

I know nothing about this subject, a bug or mailinglist question will get you far more exposure to the OZ devs.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122005\"][{POST_SNAPBACK}][/a][/div]

Thanks for the tip lardman, didn't even think of it.

nax: thanks for submitting the bug.

Best regards,

-sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current

sojourner

  • Newbie
  • *
  • Posts: 13
    • View Profile
Wpa-psk And 3.5.4
« Reply #6 on: April 14, 2006, 10:55:33 pm »
Update.

Hrw has uploaded a new wpa_supplicant (wpa-supplicant_0.4.8-r1_arm.ipk) to the upgrades feed that resolves Bug #819.

Note that with the Ambicom WL1100C you will need to use -Dwext instead of -Dhostap when starting wpa_supplicant.

Kudos to Hrw for the speedy resolution.

-sojourner
SL-5500
Opie 3.5.4
SanDisk 512M SD (ext3)
Viking 256M CF
CompUSA 32M CF
AmbiCom WL1100C-CF
Xircom CFM56G modem
Slackware-current