Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 WPA-PSK enabled AP not recognised, AP skipped due to issue above

views
     
TSnexus-
post Apr 6 2005, 03:57 PM, updated 21y ago

The intrepid coward
Group Icon
VIP
3,744 posts

Joined: Jan 2003
From: Sydney, Australia



Hey guys,

Recently had Ubuntu on my laptop and I'm having a big headache trying to get WPA-PSK working.

Open/WEP works fine as it is already supported in Ubuntu but I can't seem to get wpa_supplicant working.


It clearly detects my router but it doesn't recognize it as WPA-PSK enabled (other laptops on Windows can connect fine, as do my laptop when its on XP)

QUOTE
Scan results: 1
Selecting BSS from priority group 0
0: 00:0f:b5:66:51:c8 ssid='sjwl-home' wpa_ie_len=0 rsn_ie_len=0
  skip - no WPA/RSN IE
No suitable AP found.


The rest of the output is below.

Here's from my thread in linuxquestions.org :


I've tried ndiswrapper with wpa_supplicant and lots more (I can't remember so feel free to suggest again) and currently wpa_supplicant with the native ipw2100 driver seemed to work.

Here's the output when I run wpa_supplicant -ieth1 -dd -c /etc/wpa_supplicant.conf -Dipw2100 as root

QUOTE
nexus@nova:~$ sudo wpa_supplicant -c /etc/wpa_supplicant.conf -dd -ieth1
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=9):
    73 6a 77 6c 2d 68 6f 6d 65                        sjwl-home
proto: 0x1
scan_ssid=1 (0x1)
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
  id=0 ssid='sjwl-home'
Initializing interface (2) 'eth1'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:0c:f1:5d:d6:17
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
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
    73 6a 77 6c 2d 68 6f 6d 65                        sjwl-home
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 230 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0f:b5:66:51:c8 ssid='sjwl-home' wpa_ie_len=0 rsn_ie_len=0
  skip - no WPA/RSN IE
No suitable AP found.
This card works fine on Windows and my mates are currently connected to the AP (WPA-PSK).

Here's my wpa_supplicant.conf
QUOTE
network={
      ssid="sjwl-home"
      proto=WPA
      scan_ssid=1
      key_mgmt=WPA-PSK
      psk="somepass"
}
Here's output from iwconfig:
QUOTE
eth1      unassociated  ESSID:off/any  Nickname:"ipw2100"
          Mode:Monitor  Channel=0  Access Point: 00:00:00:00:00:00
          Bit Rate=0 kb/s  Tx-Power:off
          Retry:on  RTS thr:off  Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0  Missed beacon:0
I'm outta ideas. Anyone help?

Thanks a bunch!
ghookel
post Apr 8 2005, 03:37 PM

New Member
*
Junior Member
37 posts

Joined: Jan 2003
From: JB or Penang


can try to ask hostap mailling list.

 

Change to:
| Lo-Fi Version
0.0151sec    1.54    5 queries    GZIP Disabled
Time is now: 23rd December 2025 - 09:10 PM