Allow Channels 12,13,14 based on country (*MOD*)
Moderator: Moderators
Allow Channels 12,13,14 based on country (*MOD*)
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.
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.
TP-LINK TL-WR841ND v5 - Gargoyle 1.4.7
TP-LINK TL-WR841ND v7 - Original firmware
TP-LINK TL-WR941ND - Gargoyle 1.4.7
D-LINK DIR-825 b1 - Gargoyle 1.4.7
TP-LINK TL-WR841ND v7 - Original firmware
TP-LINK TL-WR941ND - Gargoyle 1.4.7
D-LINK DIR-825 b1 - Gargoyle 1.4.7
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Allow 12,13,14 channels basing on country
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
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


2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Allow 12,13,14 channels basing on country
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 :/
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 :/
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Allow 12,13,14 channels basing on country
Check your private message!
Test and see if it works for you.
Test and see if it works for you.


2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Allow 12,13,14 channels basing on country
Thanks! I really appreciate your effort.
I'll give this a go.
I'll give this a go.
Re: Allow 12,13,14 channels basing on country
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!
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!
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Allow 12,13,14 channels basing on country
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.
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.


2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
Re: Allow 12,13,14 channels basing on country
Or you can put a 'country="JP"' in your /etc/config/wireless.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.
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
https://forum.openwrt.org/viewtopic.php ... 21#p190221
Confirmed working on 1.5.9 (gives you channel 12 &13)
Confirmed working on 1.5.9 (gives you channel 12 &13)
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Allow Channels 12,13,14 based on country (*MOD*)
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!
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!


2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400