Linux wireless drivers development
 help / color / mirror / Atom feed
From: Volker Braun <vbraun@physics.upenn.edu>
To: Emmanuel Grumbach <egrumbach@gmail.com>
Cc: Tomas Winkler <tomasw@gmail.com>,
	Linux Wireless <linux-wireless@vger.kernel.org>
Subject: Re: dynamic wep with mulitple keys
Date: Mon, 05 May 2008 11:58:41 -0400	[thread overview]
Message-ID: <1210003121.11809.10.camel@carrot.hep.upenn.edu> (raw)
In-Reply-To: <8704f27d0805050735s647ac4aaq469630bde6bc341e@mail.gmail.com>

Here is my wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
network={
  priority=1
  ssid="airsas"
  key_mgmt=IEEE8021X
  eap=TTLS
  phase2="auth=PAP"
  identity="XXXXX"
  password="XXXXX"
  ca_cert="/etc/pki/tls/cert.pem"
}

Leaving out all global options (only the network={} block) produces the
same result (authenticates but no dhcp lease).

I just tried compat-wireless-2008-05-05, which does contain
03dcb07e74a62eec2badb9f6a091790c484f4a6c. No difference: 

wpa_supplicant output: 

[...]
EAPOL: Received EAPOL-Key frame
EAPOL: KEY_RX entering state KEY_RECEIVE
EAPOL: processKey
EAPOL: RX IEEE 802.1X ver=1 type=3 len=57 EAPOL-Key: type=1 key_length=13 key_index=0x1
EAPOL: Successfully fetched key (len=64)
EAPOL: EAPOL-Key key signature verified
EAPOL: Decrypted(RC4) key - hexdump(len=13): [REMOVED]
EAPOL: Setting dynamic WEP key: broadcast keyidx 1 len 13
wpa_driver_wext_set_key: alg=1 key_idx=1 set_tx=0 seq_len=0 key_len=13
RX EAPOL from 00:15:c6:5e:e5:70
RX EAPOL - hexdump(len=48): 01 03 00 2c 01 00 0d 00 00 48 1f 2b 36 3d 64 ed ce c4 13 56 c5 d9 74 22 67 3d 69 09 78 de 22 83 d6 b4 21 2a ab 31 32 d3 f1 a2 12 a5 66 6b a3 82
EAPOL: Received EAPOL-Key frame
EAPOL: KEY_RX entering state KEY_RECEIVE
EAPOL: processKey
EAPOL: RX IEEE 802.1X ver=1 type=3 len=44 EAPOL-Key: type=1 key_length=13 key_index=0x83
EAPOL: Successfully fetched key (len=64)
EAPOL: EAPOL-Key key signature verified
EAPOL: using part of EAP keying material data encryption key - hexdump(len=13): [REMOVED]
EAPOL: Setting dynamic WEP key: unicast keyidx 3 len 13
wpa_driver_wext_set_key: alg=1 key_idx=3 set_tx=128 seq_len=0 key_len=13
EAPOL: all required EAPOL-Key frames received
WPA: EAPOL processing complete
[...]


but dhclient still times out:

May  5 11:44:59 localhost kernel: iwl4965: I iwl4965_rx_reply_tx Tx queue 2 Status SUCCESS (0x00002201) rate_n_flags 0x4003 retries 1
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_mac_tx enter
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_mac_tx dev->xmit(362 bytes) at rate 0x21c
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_tx_skb station Id 0
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_build_tx_cmd_hwcrypto Configuring packet for WEP encryption with key 3
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_mac_tx leave
May  5 11:45:14 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
May  5 11:45:14 localhost kernel: iwl4965: I iwl4965_rx_reply_tx Tx queue 2 Status SUCCESS (0x00002201) rate_n_flags 0x4003 retries 1
May  5 11:45:26 localhost kernel: iwl4965: I iwl4965_mac_tx enter
May  5 11:45:26 localhost kernel: iwl4965: I iwl4965_mac_tx dev->xmit(49 bytes) at rate 0x0a
May  5 11:45:26 localhost kernel: iwl4965: I iwl4965_tx_skb station Id 31
May  5 11:45:26 localhost kernel: iwl4965: I iwl4965_mac_tx leave
May  5 11:45:26 localhost kernel: iwl4965: I iwl4965_rx_reply_tx Tx queue 0 Status SUCCESS (0x00000201) rate_n_flags 0x820a retries 0
May  5 11:45:33 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_mac_tx enter
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_mac_tx dev->xmit(362 bytes) at rate 0x21c
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_tx_skb station Id 0
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_build_tx_cmd_hwcrypto Configuring packet for WEP encryption with key 3
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_mac_tx leave
May  5 11:45:33 localhost kernel: iwl4965: I iwl4965_rx_reply_tx Tx queue 2 Status SUCCESS (0x00002201) rate_n_flags 0x4003 retries 0
May  5 11:45:43 localhost dhclient: No DHCPOFFERS received.


On Mon, 2008-05-05 at 17:35 +0300, Emmanuel Grumbach wrote:
> can you please send your wpa_supplicant config file ?
> Did you try with a newer driver ?
> 03dcb07e74a62eec2badb9f6a091790c484f4a6c may help, you can get it by
> downloading the latest wireless-testing tree


  parent reply	other threads:[~2008-05-05 15:58 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 16:52 dynamic wep with mulitple keys Volker Braun
2008-04-23 17:15 ` Tomas Winkler
2008-05-05 14:36   ` Emmanuel Grumbach
     [not found]   ` <8704f27d0805050735s647ac4aaq469630bde6bc341e@mail.gmail.com>
2008-05-05 15:58     ` Volker Braun [this message]
2008-05-06  6:46       ` Emmanuel Grumbach
2008-05-06  7:22         ` drago01
2008-05-06  7:32           ` Emmanuel Grumbach
2008-05-06 12:10             ` drago01
2008-05-06 12:14               ` Emmanuel Grumbach
2008-05-12 11:47                 ` drago01
2008-05-12 12:07                   ` Tomas Winkler
2008-05-12 12:10                     ` drago01
2008-05-12 12:22                       ` Tomas Winkler
2008-05-12 12:38                         ` drago01
2008-05-13  9:24                           ` Johannes Berg
2008-05-13  9:44                             ` drago01
2008-05-13 10:07                               ` Johannes Berg
2008-05-13 10:13                                 ` drago01
2008-05-13 10:18                                   ` Johannes Berg
2008-05-08 18:31         ` Volker Braun
2008-05-08 18:49           ` Emmanuel Grumbach
2008-05-12  9:13             ` Emmanuel Grumbach
2008-05-12 11:55               ` Emmanuel Grumbach
2008-05-13 13:53               ` Volker Braun
2008-05-13 14:06                 ` Emmanuel Grumbach
2008-05-13 14:15                   ` Tomas Winkler
2008-05-05 16:04 ` Emmanuel Grumbach
  -- strict thread matches above, loose matches on Subject: below --
2008-03-31 19:37 drago01

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1210003121.11809.10.camel@carrot.hep.upenn.edu \
    --to=vbraun@physics.upenn.edu \
    --cc=egrumbach@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=tomasw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox