Subject: Re: ath channel selection problem
To: None <,>
From: List Mail User <>
List: tech-net
Date: 10/30/2004 18:32:48
	Actually, the "ath" driver seems to have a bug where (at least for
802.11a - not 802.11[bg] APs/routers) it will scan indefinitely and NEVER
associate.  The workaround is to set a good channel (I have an ESSID with
multiple APs sharing the same SSIDs, but on separate channels), wait a while,
then "-chan" the card -- further scanning (after the first association)
seems to work (the card will "roam" between APs, often at apparently random
intervals).  My /etc/ifconfig.ath0 looks like:

	inet netmask 0xXXXXXXXX media auto chan 50 mode 11a mediaopt turbo ssid "XXXXXXXX" nwkey 0xXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX up
	!sleep 2

	This "works" - failing to set an initial channel seldom if ever
results in an 'a' association for any "ath" card I've tried ( any of
521[1234] based cards ).  BTW.  the "turbo" doesn't affect this, `std.'
802.11a acts the same for me, and this is on "-current".  Also, the ordering
is very picky - you must set channel BEFORE "mode" & "mediaopt" or an
error occurs.

	Paul Shupak

P.S.  Yes, I know this should be a PR, but with time constraints and an easy

>From Sat Oct 30 14:22:50 2004
>To: "Konstantin KABASSANOV" <>
>Cc: <>
>Subject: Re: ath channel selection problem
>References: <00c101c4bde3$763afe20$>
>From: Greg Troxel <>
>Date: 30 Oct 2004 17:22:15 -0400
>In-Reply-To: <00c101c4bde3$763afe20$>
>Lines: 11
>User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
>MIME-Version: 1.0
>Content-Type: text/plain; charset=us-ascii
>Precedence: list
>This probably doesn't belong on -net, but:
>With 802.11 interfaces, setting the channel is only sensible when
>creating an IBSS (via 'mediaopt adhoc' in 2.0) or hostap.  In other
>modes, the card searches for an AP to associate with.  Note that 'IBSS
>channel' says 7.
>Are you trying to do IBSS mode, hostap, or BSS (regular client)?
>        Greg Troxel <>