From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 16:39:08 2003 Return-Path: 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 275AE37B401 for ; Mon, 7 Jul 2003 16:39:08 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4623743F85 for ; Mon, 7 Jul 2003 16:39:07 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h67Nd47N063648 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 7 Jul 2003 16:39:06 -0700 (PDT) (envelope-from sam@errno.com) Date: Mon, 07 Jul 2003 16:39:03 -0700 From: Sam Leffler To: Lukas Ertl , freebsd-current@freebsd.org Message-ID: <634415300.1057595943@melange.errno.com> In-Reply-To: <20030705122054.H693@korben.in.tern> References: <20030705122054.H693@korben.in.tern> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Experiences with ath(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 07 Jul 2003 23:39:08 -0000 > I just bought a Netgear WAG511 card and a Netgear WG602 Accesspoint. I > run the card in 11g mode under current, and I'm having some problems: > > *) Powersavemode seems to be not supported at all (and thus it eats the > battery like a "make world"): > ># ifconfig ath0 powersave on > ifconfig: SIOCS80211: Invalid argument > > man ath(4) > *) Shared Key Authentication seems to be not supported either: > ># ifconfig ath0 authmode shared > ifconfig: SIOCS80211: Invalid argument > > Never has been supported under FreeBSD for any 802.11 card (at least not that I'm aware of). > *) If I turn on the debug.ieee80211 sysctl, I see the following messages > in 30sec- to 2min-intervals: > > ieee80211_new_state: RUN -> AUTH > ieee80211_new_state: AUTH -> AUTH > ieee80211_new_state: AUTH -> ASSOC > ieee80211_new_state: ASSOC -> RUN > > (I'm not sure if this is normal behaviour.) > Not sure about the interval but it is normal for an AP to periodically require stations to reauthenticate/associate. > > *) I'm seeing a lot of input errors on the interface: > ># netstat -i -I ath0 > Name Mtu Network Address Ipkts Ierrs Opkts Oerrs > Coll > ath0 1500 00:09:5b:41:8d:ac 2054 67646 2058 42 > 0 > > > *) Finally, there seems to be a problem with interaction between the AP > and my ADSL router (I'm not sure if this is a FreeBSD problem, I need to > test with WinXP too). My LAN looks something like this: > > WLAN Client ))) ((( AP --- Switch --- ADSL router > | > | > other hosts in LAN > > The ADSL router (a Speedtouch 510) does NAT. Everything seems to work > fine, but after some time, all connections from the WLAN client to the > outside world have died. I can connect to the other hosts in the LAN just > fine, though, and there are no further messages in the log files. > The quickest way to make it work again, is pulling the card out and plug > it back it. Any ideas? If I understand correctly, it doesn't sound like something to do with the driver which is all I can control. I'd suggest sniffing the 802.11 frames to see if you can identify anything. If you have another system+card you can do this with something like: tcpdump -i ath0 -y IEEE802_11 or use your favorite tool. Sam