Tiny Core Extensions > TCE Talk
[Solved] how to set country and make it visible to wifi drivers?
Rich:
Hi Paul_123
Thanks for that. I wasn't sure whether or not any wireless components are included as part
of the base system, and this seemed like the most foolproof solution.
GNUser:
I can confirm that providing the files as a custom initrd works. Providing them as a custom extension works as well.
I decided to go with custom initrd plus the cfg80211.ieee80211_regdom=US boot parameter. Everything is working like a charm. Thanks for the help!
GNUser:
Short version:
Does anyone know whether the location of the regulatory files has changed for linux kernel 6.1.2?
Long version:
My homebrewed laptop-turned-wireless router runs TCL x86_64. When I upgrade it from TCL13.1 to TCL14-alpha1 everything works except hostapd in 5 GHz mode.
Now, when hostapd creates a 5 GHz AP, wireless clients can see the AP but cannot successfully authenticate. Then, after about a minute, the router becomes completely unresponsive to keyboard input, necessitating a hard reboot.
I recompiled hostapd for TCL14 but it makes no difference. hostapd does not show any helpful error messages. My guess is that this has to do with regulatory files for the 5 GHz channels.
GNUser:
Short answer: No, I don't think the location of the files has changed.
Long answer:
My custom initrd (regulatory.gz) is loaded at boot along with rootfs and modules. The initrd contains these two files:
--- Code: ---/lib/firmware/regulatory.db
/lib/firmware/regulatory.db.p7s
--- End code ---
Setting the country code works:
--- Code: ---$ sudo iw reg set US
$ iw reg get
global
country US: DFS-FCC
...
--- End code ---
Still, even with hostapd compiled on TCL14 x86_64, I cannot generate a 5 GHz 802.11ac hotspot as I could with TCL13.1. I will report this in the alpha release page.
Navigation
[0] Message Index
[*] Previous page
Go to full version