[solved] Re: 6.0 BETA1 if_ath problems

From: Hans Lambermont <hans_at_lambermont.dyndns.org>
Date: Wed, 3 Aug 2005 22:40:37 +0200
Pawel Worach wrote:

> Toni Schmidbauer wrote:
> >ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> >        inet 192.168.170.37 netmask 0xfffffff8 broadcast 192.168.170.39
> >        inet6 fe80::20e:9bff:fec6:8a79%ath0 prefixlen 64 scopeid 0x3 
> >        ether 00:0e:9b:c6:8a:79
> >        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
> >        status: associated
> >        ssid stderror channel 6 bssid 00:0f:66:c7:82:66
> >        authmode OPEN privacy ON deftxkey UNDEF
>                                             ^^^^^	
> I had problems when deftxkey/weptxkey was not set, try adding 'weptxkey 
> 1' to your ifconfig command line or let wpa_supplicant do the WEP stuff.

Bingo !

I was stuck in the same situation, and this fixed it for me.

I just upgraded from an old 6.0-current (Thu Nov 25 18:52:00 CET 2004)
to 6.0-BETA2 and my 5211 Atheros card could see traffic with tcpdump,
but not send any (according to tcpdump on both the sending and recipient
side). I could connect to my AP without this 'weptxkey 1' added to my
config :

gagh# ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.100.28 netmask 0xffffff00 broadcast 192.168.100.255
        ether 00:05:5d:93:17:2f
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11b (DS/11Mbps)
        status: associated
        ssid *** channel 6 bssid 00:0f:3d:02:79:e3
        authmode OPEN privacy ON deftxkey UNDEF wepkey 1:40-bit txpowmax 36
        bintval 100

For the record, my 80211stats / athstats from just before I tried
'weptxkey 1' :

# 80211stats
12203 rx beacon frames
70 rx frame chan mismatch
13 tx failed 'cuz no defkey
17 active scans started
4 setkey failed 'cuz cipher module unavailable

# athstats
134 tx management frames
265 tx frames discarded prior to association
119 tx frames with no ack marked
28 tx frames with short preamble
4 rx failed 'cuz of bad CRC
39 periodic calibrations
2492 rate control checks
rssi of last ack: 46
Antenna profile:
[0] tx      138 rx        0
[1] tx        0 rx    12930


Btw, why are the rates gone ?

# 6.0-CURRENT #0: Thu Nov 25 18:52:00 CET 2004
ath0: <Atheros 5211> mem 0xd0210000-0xd021ffff irq 11 at device 0.0 on cardbus1
ath0: mac 4.2 phy 3.0 5ghz radio 1.7 2ghz radio 2.3
ath0: Ethernet address: 00:05:5d:93:17:2f
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

Here is the dmesg ath0 part of today's non-working version :
# 6.0-BETA2 #2: Wed Aug  3 17:32:23 CEST 2005
ath0: <Atheros 5211> mem 0xd0210000-0xd021ffff irq 11 at device 0.0 on cardbus1
ath0: Ethernet address: 00:05:5d:93:17:2f
ath0: mac 4.2 phy 3.0 5ghz radio 1.7 2ghz radio 2.3

Note that the rates are gone. Is this OK ?

regards,
   Hans Lambermont
Received on Wed Aug 03 2005 - 18:40:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC