FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-20-2010, 10:21 PM
Stroller
 
Default Where's my wireless AP?

On 19 Apr 2010, at 23:03, Mick wrote:

...
There might be an option to change the region of your wifi NIC.
Channels 12 & 13 are legal in Europe, IIRC, but not in the USA.

You should be able to change the channel of the AP - typically they
have a drop-down which will choose either "auto" or a specific
channel. Likewise I have seen some APs ask what region you're in
when

they're first setup.


I've set it up for UK so it has 13 channels. On the other hand
your hint
pointed me to wpa_supplicant.conf on my laptop, in which I had the
country
parameter commented out. I set that up to UK, but it still seems
to show

11 channels. :-(

I'll reboot later to see if it makes any odds.


No change :-(

# iwlist wlan0 channel
wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency:2.412 GHz (Channel 1)

Short of hacking the firmware (which even if I knew how to, I am not
allowed)
or waiting for the linux driver to mature, I am not sure if there's
anything I

can do.


Can't you just change the channel the AP uses?

If you live somewhere with a high population density, then channel 13
may be a good one to use to avoid the interference of Sky1234,
BTHomeHub5678 and all the other "free" routers supplied by ISPs which
will tend to default to channels 1, 6 and 11.


However, if you live somewhere with fewer neighbours channel 13 may
not be necessary. Try a scan for nearby APs, note some sections of
frequency that are relatively unused [1], reset your router to use
that channel, reboot it and try it.


Stroller.



[1] Slightly difficult to encapsulate all the criteria for this in
just a few words, so try a few different channels and write back if
you need a longer explanation.
 
Old 04-21-2010, 02:41 PM
Steffen Loos
 
Default Where's my wireless AP?

# iw reg get
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS

I guess country 00 means no country code?


Just try to set up "ieee80211_regdom=EU" for module "cfg80211".

---8<---
# modprobe -v cfg80211 ieee80211_regdom=EU
insmod /lib/modules/2.6.32-tuxonice-r5/kernel/net/wireless/cfg80211.ko ieee80211_regdom=EU

# dmesg
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: EU
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: EU
cfg80211: Calling CRDA for country: EU

# iw reg get
country EU:
(2402 - 2482 @ 40), (6, 20)
(5170 - 5190 @ 40), (6, 23), PASSIVE-SCAN
(5190 - 5210 @ 40), (6, 23), PASSIVE-SCAN
(5210 - 5230 @ 40), (6, 23), PASSIVE-SCAN
(5230 - 5330 @ 40), (6, 20), DFS, NO-IBSS
(5490 - 5710 @ 40), (6, 30), DFS, NO-IBSS
--->8---

regards,
Steffen
 
Old 04-21-2010, 07:41 PM
Mick
 
Default Where's my wireless AP?

On Wednesday 21 April 2010 15:41:26 Steffen Loos wrote:

> > I guess country 00 means no country code?
>
> Just try to set up "ieee80211_regdom=EU" for module "cfg80211".
>
> ---8<---
> # modprobe -v cfg80211 ieee80211_regdom=EU
> insmod /lib/modules/2.6.32-tuxonice-r5/kernel/net/wireless/cfg80211.ko
> ieee80211_regdom=EU
>
> # dmesg
> cfg80211: Using static regulatory domain info
> cfg80211: Regulatory domain: EU
> (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> (2402000 KHz - 2482000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
> (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
> (5490000 KHz - 5710000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
> cfg80211: Calling CRDA for country: EU
> cfg80211: Calling CRDA for country: EU
>
> # iw reg get
> country EU:
> (2402 - 2482 @ 40), (6, 20)
> (5170 - 5190 @ 40), (6, 23), PASSIVE-SCAN
> (5190 - 5210 @ 40), (6, 23), PASSIVE-SCAN
> (5210 - 5230 @ 40), (6, 23), PASSIVE-SCAN
> (5230 - 5330 @ 40), (6, 20), DFS, NO-IBSS
> (5490 - 5710 @ 40), (6, 30), DFS, NO-IBSS
> --->8---

Thanks for your suggestion. It won't play I'm afraid:

# modprobe -v cfg80211 ieee80211_regdom=EUinsmod /lib/modules/2.6.33-gentoo-
r1/kernel/net/wireless/cfg80211.ko ieee80211_regdom=EU
20:35:58 root@dell_xps:[/home/michael]# modprobe -v b43
insmod /lib/modules/2.6.33-gentoo-r1/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.33-gentoo-r1/kernel/drivers/ssb/ssb.ko
insmod /lib/modules/2.6.33-gentoo-r1/kernel/drivers/net/wireless/b43/b43.ko
qos=0

# iw reg get
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS

From dmesg:

cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: 00
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
(2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm)
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: Calling CRDA for country: EU

Anyway, with the new kernel it now works in all channels, so that's good
enough for me. :-)
--
Regards,
Mick
 

Thread Tools




All times are GMT. The time now is 10:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org