Re: RELENG_7 and atheros ....



Date: Fri, 16 Nov 2007 13:57:44 -0600
From: Eric Schuele <e.schuele@xxxxxxxxxxxx>

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.

Oh, I see. Would it be sufficient to place it in my rc.conf:
ifconfig_ath0="WPA DHCP -bgscan"

Yes. This should do the same thing. I didn't do it so I would notice if
the behavior changed.

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.)

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

I do no roaming.

So turning off background scanning should have no effect on you.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@xxxxxx Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751

Attachment: pgpSmuQgaU44j.pgp
Description: PGP signature