From owner-freebsd-current@FreeBSD.ORG Wed Aug 3 20:40:40 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DFFA16A41F for ; Wed, 3 Aug 2005 20:40:40 +0000 (GMT) (envelope-from hans@lambermont.dyndns.org) Received: from lambermont.dyndns.org (lambermont.dyndns.org [82.93.47.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2710243D66 for ; Wed, 3 Aug 2005 20:40:39 +0000 (GMT) (envelope-from hans@lambermont.dyndns.org) Received: by lambermont.dyndns.org (Postfix, from userid 1001) id 0043C95851; Wed, 3 Aug 2005 22:40:37 +0200 (CEST) Date: Wed, 3 Aug 2005 22:40:37 +0200 To: Pawel Worach Message-ID: <20050803204037.GA24385@leia.lambermont.dyndns.org> References: <20050722200948.GA636@stderror.at> <42E16CC5.8070700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42E16CC5.8070700@gmail.com> User-Agent: Mutt/1.4.2.1i From: hans@lambermont.dyndns.org (Hans Lambermont) Cc: freebsd-current@freebsd.org Subject: [solved] Re: 6.0 BETA1 if_ath problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 20:40:40 -0000 Pawel Worach wrote: > Toni Schmidbauer wrote: > >ath0: flags=8843 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 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: 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: 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