Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2007 11:41:50 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Eric Schuele <e.schuele@computer.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RELENG_7 and atheros .... 
Message-ID:  <20071116194150.2832145011@ptavv.es.net>
In-Reply-To: Your message of "Fri, 16 Nov 2007 13:03:32 CST." <473DE984.9050707@computer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1195242110_81424P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> Date: Fri, 16 Nov 2007 13:03:32 -0600
> From: Eric Schuele <e.schuele@computer.org>
> 
> On 11/15/2007 23:35, Kevin Oberman wrote:
> >> Date: Thu, 15 Nov 2007 22:08:13 -0600
> >> From: Eric Schuele <e.schuele@computer.org>
> >> 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 over
> >> 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?

No. Try it as soon as your system comes up. 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 that
this fixed their recurrent disconnects. (It certainly fixed mine.)

Note that this change will have a negative effect if you are roaming or
your environment changes in some way.

> >>   3) When I am at the office,  my card will *never* obtain an ip address
> >> 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, 
> 
> 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 other
> than bouncing the interface?

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.

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.

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.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1195242110_81424P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFHPfJ+kn3rs5h7N1ERAj4wAJ9141xpeXgcwhMNef8CXQ7xVtBgngCgkHO9
X64N5z1y6yErnizoSRRweOk=
=Om0h
-----END PGP SIGNATURE-----

--==_Exmh_1195242110_81424P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071116194150.2832145011>