Wep doesn't work with atheros 5212

Beat Meier bmeier
Mon May 30 11:32:58 PDT 2005


Hi again

 From day to day I'm more confused.
I've now tried to setup WEP with wpa_supplicant-0.3.9-rc1 and 
wpa_supplicant-0.4.1
Both don't work i.e. I cannot ping my ap.
Ap is a wrt54g. With ndsiwrapper and WPC54g it works with wpa_supplicant 
and atheros card
it down't work BUT if I do it myself i.e.

  iwconfig $NIF key <key>
  ifconfig $NIF down
  iwconfig $NIF enc on
  ifconfig $NIF up
everything works fine.
WPA-PSK seems to work with wpa_supplicant-0.4.1 ...
I'm realy at the end of my know how.
I don't need wep but I think there is a general problem if such a basic 
thing
doesn't work from release to release.
I have not problem to be a tester for my cards in fact I would like it, 
but I need some more
background info so let me know if you use more tester before releasing ...

Where is the problem. Does wep use openssl? Does wpa_supplicant use
own algo for wep and if I do it by hand i.e. madwifi use other algo?
If I do a iwconfig ath0 in both cases it's exactly the same output.
netstat -rn also.

Any help is realy nice.

BTW: I use madwifi-bsd branch from today (20050530) vanilla kernel-2.4.30
wireless tools v26 or v27, wireless extension v16 of kernel and ath0
suse9.0 (with kernel-2.4.30) openssl-0.9.7b-68 of suse.

Beat

Output of dmesg

May 30 14:39:09 bbmpc2 kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, 
AR5212, RF5111, RF5112, RF2413)
May 30 14:39:09 bbmpc2 kernel: wlan: 0.8.5.0-BSD (EXPERIMENTAL)
May 30 14:39:09 bbmpc2 kernel: ath_rate_onoe: 1.0
May 30 14:39:09 bbmpc2 kernel: ath_pci: 0.9.5.0-BSD (EXPERIMENTAL)
May 30 14:39:09 bbmpc2 kernel: Build date: May 30 2005
May 30 14:39:09 bbmpc2 kernel: Debugging version (IEEE80211)
May 30 14:39:09 bbmpc2 kernel: ath0: 11a rates: 6Mbps 9Mbps 12Mbps 
18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
May 30 14:39:09 bbmpc2 kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
May 30 14:39:09 bbmpc2 kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 
11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
May 30 14:39:09 bbmpc2 kernel: ath0: turboA rates: 6Mbps 9Mbps 12Mbps 
18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
May 30 14:39:09 bbmpc2 kernel: ath0: turboG rates: 6Mbps 9Mbps 12Mbps 
18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
May 30 14:39:09 bbmpc2 kernel: ath0: H/W encryption support: WEP AES 
AES_CCM TKIP
May 30 14:39:09 bbmpc2 kernel: ath0: mac 5.9 phy 4.3 radio 3.6
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 1 for WME_AC_BE traffic
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 0 for WME_AC_BK traffic
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 2 for WME_AC_VI traffic
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 3 for WME_AC_VO traffic
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 8 for CAB traffic
May 30 14:39:09 bbmpc2 kernel: ath0: Use hw queue 9 for beacons
May 30 14:39:09 bbmpc2 kernel: Debugging version (ATH)
May 30 14:39:09 bbmpc2 kernel: ath0: Atheros 5212: mem=0xe9000000, irq=11


Here is the output of wpa_supplicant which also tells me it should be 
ok, or not?

State: SCANNING -> ASSOCIATING
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized
Wireless event: cmd=0x8b1a len=21
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0c:41:6e:18:d2
State: ASSOCIATING -> ASSOCIATED
Association event - clear replay counter
Associated to a new BSS: BSSID=00:0c:41:6e:18:d2
Associated with 00:0c:41:6e:18:d2
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Cancelling authentication timeout
State: ASSOCIATED -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:0c:41:6e:18:d2 completed (auth)






More information about the Hostap mailing list