LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-08-2005, 04:16 AM   #1
havelino
LQ Newbie
 
Registered: Jan 2005
Location: The Netherlands
Distribution: Debian 3.0 Sarge
Posts: 29

Rep: Reputation: 15
WPA & ipw2200


Hey peapz,

Running On a Debian kernel 2.6.10
wlsscard Intel ipw2200 (duh)

I installed the driver and firmware and i think it's working fine.

HUGOL:~# dmesg | grep ipw2200
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.0
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

HUGOL:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0E:35:35:45:81
inet6 addr: fe80::20e:35ff:fe35:4581/64 Scope:Link
UP BROADCAST ALLMULTI MULTICAST MTU:1500 Metric:1
RX packets:333 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:10524 (10.2 KiB)

wpa_supplicant v0.3.2

The problem is that I just can't use the card with WPA-PSK with TKIP encryption.
Error message of wpa_supplicant
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.

I thought that wpa was supported by now.

wpa_config_file:

ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support
eapol_version=1
network={
proto=WPA
key_mgmt=WPA-PSK
ssid="***********"
psk="************"
}

Or do I have to wait just everyone else.
 
Old 02-11-2005, 09:44 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Quote:
Operation not supported
If you know this type of encryption should work you're using a wrong way to call it. Otherwise I guess you'll have to wait
 
Old 02-11-2005, 12:22 PM   #3
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Rep: Reputation: 30
To set the key try iwconfig eth0 key ******. I've got the 2200 and that works for me.
 
Old 02-11-2005, 12:56 PM   #4
havelino
LQ Newbie
 
Registered: Jan 2005
Location: The Netherlands
Distribution: Debian 3.0 Sarge
Posts: 29

Original Poster
Rep: Reputation: 15
Yes I know that this is the type off encryption.

WPA Pre Shared Key.
but it isn't working even if I set the key and the essid.

Hugo

Last edited by havelino; 02-11-2005 at 03:52 PM.
 
Old 02-15-2005, 05:25 PM   #5
staenker
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
hello,
i installed ipw2200 driver using make...
... and it was a success - proofed by xsupplicant (ttls - pap --> dynamic wep).
but using my own accespoint drives me crazy.
ok, here is some info:
AccesPoint: DLINK DWL 2000 AP:
Code:
Device Information
Firmware Version 2.06 , Wed, 3 Mar 2004
Ethernet
MAC Address 
	00-0d-88-84-a5-a4
IP Address 
	192.168.0.50
Subnet Mask 
	255.255.255.0
Gateway 
	0.0.0.0
Wireless
MAC Address 
	00-0d-88-87-80-3b
SSID 
	efabiff
Encryption Function 
	TKIP

Channel 
	6
WirelessCard: IPW2200
scanresults of iwlist eth1 scanning:
Code:
[root@localhost wpa_supplicant-0.3.8]# iwlist eth1 scanning
eth1      Scan completed :
          Cell 01 - Address: 00:0D:88:84:A5:A4
                    ESSID:"efabiff"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rate:54Mb/s
                    Extra: Rates (Mb/s): 1 2 5.5 9 11 6 12 18 24 36 48 54
                    Signal level=-50 dBm
                    Extra: Last beacon: 0ms ago
I started wpasupplicant with following config:
Code:
network={
        proto=WPA
#       bssid=00:0d:88:87:80:3b
        ssid="efabiff"
        key_mgmt=WPA-PSK
        psk="unddasistauchgutso"
}
#ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support
eapol_version=1
Ok, now the debug log:
Code:
[root@localhost wpa_supplicant-0.3.8]# wpa_supplicant -ieth1 -c/home/staenker/wlandriver/wep_wpa/wpa_supplicant.conf -Dipw -d
Initializing interface 'eth1' conf '/home/staenker/wlandriver/wep_wpa/wpa_supplicant.conf' driver 'ipw'
Configuration file '/home/staenker/wlandriver/wep_wpa/wpa_supplicant.conf' -> '/home/staenker/wlandriver/wep_wpa/wpa_supplicant.conf'
Reading configuration file '/home/staenker/wlandriver/wep_wpa/wpa_supplicant.conf'
eapol_version=1
Priority group 0
   id=0 ssid='efabiff'
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
Own MAC address: 00:0e:35:05:f4:67
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
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
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 271 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:88:84:a5:a4 ssid='efabiff' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:88:84:a5:a4 (SSID='efabiff' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=20
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 271 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:88:84:a5:a4 ssid='efabiff' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:88:84:a5:a4 (SSID='efabiff' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=20
Authentication with 00:00:00:00:00:00 timed out.
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Signal 2 received - terminating
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
wpa_driver_ipw_set_drop_unencrypted: enabled=0
wpa_driver_ipw_set_countermeasures: enabled=0
Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
what did i wrong? (don't really know if this is quiet good english - i'm sorry for it)

i see one maybe existing problem:
the scanresults shows the ethernet mac address of the ap. dont know if this is the normal way.?.?.?
i did the folowing to proof the ap info output:
Code:
[root@localhost wpa_supplicant-0.3.8]# ping 192.168.0.50
PING 192.168.0.50 (192.168.0.50) 56(84) bytes of data.
64 bytes from 192.168.0.50: icmp_seq=0 ttl=127 time=1.21 ms
64 bytes from 192.168.0.50: icmp_seq=1 ttl=127 time=0.317 ms
--- 192.168.0.50 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.317/0.766/1.215/0.449 ms, pipe 2
[root@localhost wpa_supplicant-0.3.8]# arp -a
? (192.168.0.50) auf 00:0D:88:84:A5:A4 [ether] auf eth0
thanks for your attention and time

regards
richard hauswald

Last edited by staenker; 02-15-2005 at 05:33 PM.
 
Old 03-26-2005, 06:57 PM   #6
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
WPA and IPW2200

Hello,

I have ipw2200 and wpa_supplicant working w/ Slackware 10.1. I can't get dhcpcd to reliably set an IP address.
For anyone currious about the set up my wpa_supplicant.conf file:
Code:
ctrl_interface=/var/run/wpa_supplicant

network={
ssid="backwoods"
proto=WPA 
key_mgmt=WPA-PSK
pairwise=TKIP 
group=TKIP
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}
The xxx's are my key
I run it up with the following in my rc.wireless script.
Code:
/usr/local/sbin/wpa_supplicant -Bw -c /etc/wpa_supplicant.conf -i eth0 -D ipw
I have $INTERFACE for eth0 in my script but the above in a comandline will give the same results.
All works great. During boot rc.init1 runs my rc.wireless and Bob is my uncle. Then I try to get an IP via dhcpcd eth0 and somtimes my AP works great. I can't get it to happen reliably. Sometimes works others it just times out.
Ideas?
Thanx,
Feend
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa problems with ipw2200 inhalentbroom Slackware 1 12-04-2005 12:08 PM
WPA-TKIP ipw2200 havelino Linux - Wireless Networking 0 04-24-2005 10:24 AM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM
IPW2200 & Mandrake 10.1 Official question indis Linux - Wireless Networking 0 12-15-2004 10:11 AM
Proxim Skyline Driver & WPA support? RandallC Linux - Hardware 0 11-24-2004 11:39 AM


All times are GMT -5. The time now is 10:29 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration