View previous topic :: View next topic |
Author |
Message |
dgdwinte n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Nov 2005 Posts: 18
|
Posted: Sat Nov 26, 2005 12:37 pm Post subject: wpa_supplicant & IPW2200 [solved] |
|
|
Hi,
I'm back with another wireless-question concerning WPA-encryption: the following configuration-file is used (/etc/wpa_supplicant.conf):
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
network={
ssid="USR5450"
proto=WPA
key_mgmt=WPA-PSK
psk="my_scret_pass"
priority=99
}
Content of /etc/conf.d/net:
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_timeout_eth1=60
And the following modules loaded:
Module Size Used by
ieee80211_crypt_wep 6340 0
ieee80211_crypt_tkip 11716 0
ipw2200 183816 0
ieee80211 53508 1 ipw2200
ieee80211_crypt 7624 3 ieee80211_crypt_wep,ieee80211_crypt_tkip,ieee80211
firmware_class 11648 1 ipw2200
But everytime when I try to start the network-iface + wpa_supplicant I get the following error-messages:
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
Until now, I've found only one "solution": CONFIG_DRIVER_WEXT=y must be set in the .config file but I didn't find that option. I'm currently using
kernel 2.6.13-gentoo-r5. All cryptographic libraries are compiled in.
Any suggestions or help?
Thx!
Last edited by dgdwinte on Sat Nov 26, 2005 3:44 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Nov 26, 2005 2:14 pm Post subject: |
|
|
Use -Dwext instead of -Dipw when running wpa_supplicant. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nichocouk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/137876035342664f3a55606.jpg)
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Sat Nov 26, 2005 3:00 pm Post subject: |
|
|
I would have guessed that you are using an unstable version of wpa_supplicant from your output. Try a different one or go back to 0.3.9-r1 _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgdwinte n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Nov 2005 Posts: 18
|
Posted: Sat Nov 26, 2005 3:35 pm Post subject: |
|
|
Great forum! Thx dgaffuri, now I can connect in a safe way to my access point! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Nov 26, 2005 3:38 pm Post subject: |
|
|
You're welcome. May you please edit the top post and add [solved] to the subject? _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pholthau Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_corsair.gif)
Joined: 27 Nov 2005 Posts: 361 Location: Bielefeld, Germany
|
Posted: Sun Nov 27, 2005 6:25 pm Post subject: |
|
|
Im so greatful that I found this thread. Thank you guys, got my WLAN back to work. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grimm26 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/77136029440c8ec5dde412.png)
Joined: 23 May 2004 Posts: 313 Location: Chicagoland, IL
|
Posted: Wed Nov 30, 2005 5:49 am Post subject: |
|
|
I am having the same problem. Why doesn't the ipw driver work with wpa_supplicant? So, I switched to wext driver. Now, it doesn't see my WAP. It started it in foregroujnd and here is what I get:
Code: |
root@qa4437-11 /etc/init.d # wpa_supplicant -c/etc/wpa_supplicant.conf -ieth1 -Dwext -d
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
ap_scan=1
Priority group 5
id=0 ssid='dreamland'
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:13:ce:41:58:98
wpa_driver_wext_set_wpa
SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
Added BSSID 00:00:00:00:00:00 into blacklist
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Disconnect event - remove keys
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=9):
64 72 65 61 6d 6c 61 6e 64 dreamland
ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
Received 1566 bytes of scan results (8 BSSes)
Scan results: 8
Selecting BSS from priority group 5
0: 00:0c:e5:48:b2:aa ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
1: 02:00:f5:67:a5:4d ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
2: 00:14:bf:7d:84:02 ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
3: 00:0c:e5:48:b2:aa ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
4: 00:13:10:1a:3e:2e ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
5: 00:03:2f:06:09:c7 ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
6: 00:09:5b:9a:2f:9a ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
7: 00:0c:41:35:45:93 ssid='' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
|
00:0c:e5:48:b2:aa is my WAP. I ran iwlist to see what it should show and it picks up that there is a wpa_ie being sent out:
Code: |
Cell 06 - Address: 00:0C:E5:48:B2:AA
ESSID:"dreamland"
Protocol:IEEE 802.11g
Mode:Master
Channel:8
Encryption key:on
Bit Rate:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality=42/100 Signal level=-75 dBm
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
Extra: Last beacon: 21ms ago
|
What gives?
Code: |
root@qa4437-11 /etc/init.d # cat /etc/wpa_supplicant.conf
# The below line not be changed otherwise we refuse to work
ctrl_interface=/var/run/wpa_supplicant
# Ensure that only root can read the WPA configuration
ctrl_interface_group=0
# Let wpa_supplicant take care of scanning and AP selection
ap_scan=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
network={
ssid="dreamland"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
group=TKIP
psk="secret"
# The higher the priority the sooner we are matched
priority=5
}
root@qa4437-11 /etc/init.d # |
_________________ "Blessed is he who finds happiness in his own foolishness, for he will always be happy". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dgaffuri Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Wed Nov 30, 2005 7:03 am Post subject: |
|
|
The ipw driver works with wpa_supplicant, it's that new versions use a standard interface (wext) for all drivers. BTW. don't add questions to a thread marked as solved, probably no one will read it (I'm still watching it becaause I forgot to unsuscribe). Start a new post instead. And no, I can't help you with your problem. _________________ Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|