linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Chuck Anderson <cra@WPI.EDU>
Cc: linux-wireless@vger.kernel.org
Subject: Re: iwlagn won't scan 5 GHz band
Date: Sat, 7 Mar 2009 14:24:17 -0500	[thread overview]
Message-ID: <20090307192417.GA6648@tuxdriver.com> (raw)
In-Reply-To: <20090306230124.GU10097@angus.ind.WPI.EDU>

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

On Fri, Mar 06, 2009 at 06:01:24PM -0500, Chuck Anderson wrote:
> Please Cc: me on replies as I'm not subscribed.  Thanks.
> 
> I have a 4965, using kernel-2.6.29-0.197.rc7.fc11.x86_64 (Intel(R) 
> Wireless WiFi Link AGN driver for Linux, 1.3.27kds).  I can connect to 
> 802.11n on 2.4 GHz, but it never finds the 5 GHz cell of the AP.  Is 5 
> GHz 802.11n supported yet?  For that matter, shouldn't I be seeing the 
> 802.11a from my APs?  How do I get this thing to scan the A/N 5 GHz 
> band?

Ah, the joys of Rawhide...

Make sure you have "iw" installed.

	yum install iw

Then you need to specify your regulatory domain:

	iw reg set US # Use ISO/IEC 3166-1 alpha2 as appropriate for you

Does that change things for you?

We are still discussing ways to get this set automatically.  We are
hoping that NetworkManager grows this capability "soon"...  In the
meantime, you might try calling the attached script from /etc/rc.local.

Hth!

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

[-- Attachment #2: set-regdomain --]
[-- Type: text/plain, Size: 541 bytes --]

#!/bin/sh

CLOCK=/etc/sysconfig/clock

if [ -f $CLOCK ]
then
	# This should set ZONE
	. $CLOCK
else
	echo "Timezone information not found!  Unable to set regulatory domain."
	exit
fi

if [ -z "$ZONE" ]
then
	echo "Timezone information not set!  Unable to set regulatory domain."
	exit
fi

COOKED_ZONE=$(echo $ZONE | sed -e 's/ /_/')

COUNTRY=$(grep $COOKED_ZONE /usr/share/zoneinfo/zone.tab | awk '{ print $1 }')

if [ -z "$COUNTRY" ]
then
	echo "Could not determine country!  Unable to set regulatory domain."
	exit
fi

iw reg set $COUNTRY

  reply	other threads:[~2009-03-07 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 23:01 iwlagn won't scan 5 GHz band Chuck Anderson
2009-03-07 19:24 ` John W. Linville [this message]
2009-03-10 12:45   ` Chuck Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090307192417.GA6648@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=cra@WPI.EDU \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).