LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-27-2006, 02:49 AM   #1
mellin
LQ Newbie
 
Registered: Oct 2004
Distribution: Whatever makes me happy
Posts: 8

Rep: Reputation: 0
Unhappy No luck with WPA and WPA_SUPPLICANT


I have Mandriva 2006 free installed to IBM Thinkpad T41. This laptop comes pre-installed with PRO/Wireless LAN 2100 3B Mini PCI. When initially installed, 2.6.12-12mdk-i686-up-4GB kernel supports this card with ipw2100 module.

So, let OS do all the magic and ipw2100 gets loaded, interface configured as eth1 and open networks work like charm! But, in comes the WPA and things start to go awry

I have tried with the internal Wlan card and with another one, Linksys WPC54G that gets connected to PC-CARD slot. When working with the Linksys card, i use Ndiswrapper with Windows drivers. It gets configured as wlan0 and i can scan networks through it with the iwlist utility, too.

/etc/wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant  # for wpa_cli support
eapol_version=1

network={
  ssid="mmwlan"
  psk="secret"
  key_mgmt=WPA-PSK
  pairwise= TKIP CCMP
  group=TKIP CCMP
  priority=2
  proto=WPA
}

Ipw2100 firmware was downloaded from the project page
Code:
[root@mandriva ~]# ll /lib/hotplug/firmware/
total 212
-rw-r--r--  1 root root 209190 Apr 25 20:03 ipw2100-1.3.fw

I load wpa_supplicant like this if using ipw2100

Code:
wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D ipw -d
When excuted, wpa_supplicant prints this in continues loop:

Code:
[root@mandriva ~]# wpa_supplicant -i eth1 -D ipw -c /etc/wpa_supplicant.conf -d
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
Priority group 0
   id=0 ssid='mmwlan'
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
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: WE(compiled)=19 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:0c:f1:19:a6:a9
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=6):
     6d 6d 77 6c 61 6e                                 mmwlan
Scan timeout - try to get results
Received 445 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:12:17:de:46:45 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
1: 00:90:4b:83:37:f1 ssid='' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
   skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
No keys have been configured - skip key clearing
I doesn't matter whether i use WPC54G or internal Intel, they get, to my eye, identical output from wpa_supplicant. So it clearly has issues to deal, but i don't know where to start looking for

My router is Linksys WRT54G. WPA personal enabled, TKIP as algorithm. No MAC filter, SSID broadcast enabled.
 
Old 04-27-2006, 02:57 AM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,446
Blog Entries: 7

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Did you use wpa_supplicant in package form? Or did you compile it yourself?

It is a bit of a fussy program because it depends upon the rest of your environment, but that's nothing a custom compile won't fix.
 
Old 04-27-2006, 03:05 AM   #3
mellin
LQ Newbie
 
Registered: Oct 2004
Distribution: Whatever makes me happy
Posts: 8

Original Poster
Rep: Reputation: 0
I used wpa_supplicant in package form. It didn't compile for some reason on my system, so i had to use the pre-installed one.

Code:
[mellin@mandriva ~]$ rpm -q -a | grep wpa_supplicant
wpa_supplicant-0.4.4-1mdk
 
Old 04-28-2006, 07:08 AM   #4
mellin
LQ Newbie
 
Registered: Oct 2004
Distribution: Whatever makes me happy
Posts: 8

Original Poster
Rep: Reputation: 0
Nobody has any idea, what those below might mean?

Code:
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant GrayGhost Slackware 10 01-08-2007 02:23 PM
Wireless NIC can't Authenticate to AP using WPA; ndiswrapper/wpa_supplicant patkalolo Linux - Wireless Networking 8 07-31-2006 02:47 PM
wpa_supplicant not picking up WPA-PSK AP derfelcadarn Linux - Wireless Networking 2 04-07-2005 11:48 AM
How to use xsupplicant, wpa_supplicant for wpa/tkip/peap-mschapv2 weeds84 Linux - Wireless Networking 2 03-13-2005 05:17 AM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration