From owner-freebsd-current@FreeBSD.ORG Fri Nov 16 19:58:15 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DFD116A418 for ; Fri, 16 Nov 2007 19:58:15 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpout09.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.freebsd.org (Postfix) with SMTP id 7402E13C4D5 for ; Fri, 16 Nov 2007 19:58:15 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: (qmail 6598 invoked from network); 16 Nov 2007 19:57:45 -0000 Received: from unknown (208.206.151.5) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 16 Nov 2007 19:57:45 -0000 Message-ID: <473DF638.4030609@computer.org> Date: Fri, 16 Nov 2007 13:57:44 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.6 (X11/20071115) MIME-Version: 1.0 To: Kevin Oberman References: <20071116194150.2832145011@ptavv.es.net> In-Reply-To: <20071116194150.2832145011@ptavv.es.net> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/files/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4DCE37A1D41702439819212B" Cc: freebsd-current@freebsd.org Subject: Re: RELENG_7 and atheros .... 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: Fri, 16 Nov 2007 19:58:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4DCE37A1D41702439819212B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/16/2007 13:41, Kevin Oberman wrote: >> Date: Fri, 16 Nov 2007 13:03:32 -0600 >> From: Eric Schuele >> >> On 11/15/2007 23:35, Kevin Oberman wrote: >>>> Date: Thu, 15 Nov 2007 22:08:13 -0600 >>>> From: Eric Schuele >>>> Sender: owner-freebsd-current@freebsd.org >>>> >>>> Hello, >>>> >>>> I'm having some strangeness with respect to my atheros based card on= >>>> releng_7. This may not sound like much... but together they concern= m> e. >>>> I'm wondering if anyone has seen similar things. >>>> >>>> 1) I've seen two panics while trying to bring the interface up ove= r >>>> the last few weeks. >>> I have not seen this. >>> >>>> 2) I get disconnected every night from my wireless router at home.= >>>> 99% of the time it happens after I've gone to bed. Once or twice...= >>>> while I was sitting in front of it. It just disassociates? >>> Try 'ifconfig ath0 -bgscan'. Something causes my card to lose >>> association periodically when the background scan is in progress. >> Are you saying try the above *after* I've been disconnected? Or is it= >> an attempt to reproduce the disconnect? >=20 > No. Try it as soon as your system comes up.=20 Oh, I see. Would it be sufficient to place it in my rc.conf: ifconfig_ath0=3D"WPA DHCP -bgscan" > It disables the regular > background scan for APs that, by default, happens every 5 minutes. Note= > that I don't see my association go down on every scan, but turning this= > off seems to prevent the disassociation from ever happening. I have > confirmation from at leat two others with the same Atheros chip-set tha= t > this fixed their recurrent disconnects. (It certainly fixed mine.) >=20 > Note that this change will have a negative effect if you are roaming or= > your environment changes in some way. I do no roaming. >=20 >>>> 3) When I am at the office, my card will *never* obtain an ip add= ress >>>> from our DHCP server upon first booting. I must *always* down the >>>> interface, kill dhclient, bring the interface up and start dhclient.= >>> Are you running wpa_supplicant? Are you using WPA,=20 >> Yes, see below on my original post. >> >>> WEP or running open? >>> I see the card get "stuck" when scanning. It scans channels, but only= >>> for WPA secured APs. When needing to associate with a WEP or open AP,= it >>> never leaves WPA mode, so never associates. >> Hmm... yes, I 've noticed it doing this. Going around in circles >> through all the channels in WPA mode. odd. Any other work around oth= er >> than bouncing the interface? >=20 > I have found that '/etc/rc.d/wpa_supplicant restart ath0' fixes it for > me. I added an alias to my .tcshrc file to save typing. >=20 > That said, I updated my sources last week and I don't recall seeing the= > problem since then. Maybe it's fixed. I did see come fixes committed to= > -current that might have been applicable, but I don't know if any have > been MFCed to 7.0 or if they will fix this. >=20 > I really need a bit more time to collect and analyze some debug data on= > this so I can give Sam some good data to work with. --=20 Regards, Eric --------------enig4DCE37A1D41702439819212B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHPfY4ngSDRM3IXUoRAhUPAJ0XH7BYwUm2Eyk7CBQ5HF9WYGwx7ACfdiY9 GPnr+ZFK5JSz/FMdQEsH+fc= =vuGl -----END PGP SIGNATURE----- --------------enig4DCE37A1D41702439819212B--