Page 1 of 9

Allow Channels 12,13,14 based on country (*MOD*)

Posted: Thu Sep 27, 2012 4:23 pm
by GoUser
http://www.gargoyle-router.com/phpbb/vi ... f=5&t=2779 works great.
I think it would be good to add an option on /basic.sh Wireless section to set a country and if allowed unlock selection of 12, 13, 14 channels.

Re: Allow 12,13,14 channels basing on country

Posted: Fri Sep 28, 2012 11:51 am
by DoesItMatter
I think the last version this works on is 1.5.6

With the Attitude Adjustment branch, this has changed.

I could not find a regulatory.bin file anymore, but I'll check again.

I believe you'd have to do custom compiles / editing to do this now.

---------------------

Build your own!

Very simple - once you get all the stuff installed

Do a "make menuconfig"

Goto Kernel Modules -> Wireless Drivers

Highlight kmod-ath and hit enter, Configuration and enter

Choose this setting:

[*] Force Atheros drivers to respect the user's regdomain settings[/b]

I don't see an option to enable this for Broadcom, but I only am
compiling for my Atheros devices

The above is for OpenWRT images.

For building your own Gargoyle images, follow the Documentation
section for Developers - clone the git, setup build environment,
then do -- make custom -- and you can follow the above to
goto Kernel Modules -> Wireless Drivers, etc.


Even easier - you can edit the config.in files under the target
directories and set this option: CONFIG_ATH_USER_REGD=y

Re: Allow 12,13,14 channels basing on country

Posted: Mon Oct 01, 2012 12:36 pm
by bigsexeh
If anyone has such a modified firmware for WNDR3700v1 i'd appreciate it. I myself live in Europe where we can use those channels and they significantly boost quality of signal and speed of wifi (tried with official netgear fw); however the official firmware is severly lacking in other departments so i'd much rather stay loyal to Gargoyle.

So, if anyone has such 'unlocked' fw.. i would be most grateful if they could pass it on.

thanks,

big

p.s: i'm too thick to do it by myself :/

Re: Allow 12,13,14 channels basing on country

Posted: Tue Oct 02, 2012 4:01 pm
by DoesItMatter
Check your private message!

Test and see if it works for you.

Re: Allow 12,13,14 channels basing on country

Posted: Wed Oct 03, 2012 12:49 pm
by bigsexeh
Thanks! I really appreciate your effort.

I'll give this a go.

Re: Allow 12,13,14 channels basing on country

Posted: Tue Jan 15, 2013 1:06 pm
by efpophis
I'm in the process of building an image for my DIR-825 with this configuration change in place. Does this allow

iw reg set <country code, ie: JP>

to work as desired? Or is there something more I will have to do to open up these channels?

Thanks!

Re: Allow 12,13,14 channels basing on country

Posted: Wed Jan 23, 2013 8:18 pm
by DoesItMatter
I think you can just do that command -

The iw reg set via command line

HOWEVER

Any changes you make via the GUI to the wireless interface
has a chance to erase any changes you made via command line.

So get all your stuff setup via the GUI first, save changes,
then edit via command line for final changes.

Re: Allow 12,13,14 channels basing on country

Posted: Thu Jan 24, 2013 5:25 am
by Adri
DoesItMatter wrote:I think you can just do that command -

The iw reg set via command line

HOWEVER

Any changes you make via the GUI to the wireless interface
has a chance to erase any changes you made via command line.

So get all your stuff setup via the GUI first, save changes,
then edit via command line for final changes.
Or you can put a 'country="JP"' in your /etc/config/wireless.
This will autmatically change the reg country on startup or reset of the wireless interface.
However the ath9k driver needs to allow this by seeting the right compile options.

Re: Allow 12,13,14 channels basing on country

Posted: Mon Jan 28, 2013 11:17 am
by Nilist
https://forum.openwrt.org/viewtopic.php ... 21#p190221

Confirmed working on 1.5.9 (gives you channel 12 &13)

Re: Allow Channels 12,13,14 based on country (*MOD*)

Posted: Mon Jan 28, 2013 10:57 pm
by DoesItMatter
Edited the topic title and made this a sticky

Listed as a *MOD*

This is not a Fix or Hack - this was put out by one of the
OpenWRT developers to allow people in other countries to
add the channels they should have back to their routers.

Use responsibly!