Tiny Core Extensions > TCE Talk
[Solved] how to set country and make it visible to wifi drivers?
GNUser:
As you may know, my home's wireless router is actually a laptop running TCL13.1 Pure64. I'm trying to upgrade my network from 2.4 GHz to 5 GHz. My new wireless USB adapter (AWUS036ACHM) supports 5 GHz frequencies but I think it can only use them if it can verify that the requested frequency is allowed in my country.
The trouble is that the country code seems to be unset, which results in the adapter not being able to use any of the 5 GHz frequencies:
[forum error - see attached]
I describe the problem in more detail here: https://github.com/morrownr/USB-WiFi/issues/84
Please, how do I set the country on a TCL box, and how do I make that setting visible to wifi drivers (e.g., nl80211)?
Rich:
Hi GNUser
According to this:
https://unix.stackexchange.com/questions/253933/wifi-iw-reg-set-us-has-no-effect
You should be able to do it like this (probably needs sudo):
--- Code: ---iw reg set US
--- End code ---
It also shows how to set it when loading the cfg80211 driver.
GNUser:
Thanks to your tip I discovered this linux kernel boot parameter: cfg80211.ieee80211_regdom=US
Unfortunately, after a reboot it still doesn't work. It seems that for the parameter to work, some kind of regulatory database is needed but is missing from my system and not available in the repository. [forum error, see attached]
GNUser:
Kernel seems to rely on crda (this thing: https://github.com/mcgrof/crda) to make regulatory domain changes. I will try my hand at building crda but it seems a bit complicated.
Rich:
Hi GNUser
crda.tcz used to be in the repo. According to this the db format changed in kernel 4.15:
https://unix.stackexchange.com/questions/459518/where-to-paste-regulatory-db-and-how
Navigation
[0] Message Index
[#] Next page
Go to full version