This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:software:openwrt_custom_wireless-regdb [2023/11/16 03:53] – Remove newline from patch file Andrew Yong | projects:software:openwrt_custom_wireless-regdb [2024/03/23 11:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== OpenWrt Custom wireless-regdb ====== | ====== OpenWrt Custom wireless-regdb ====== | ||
| + | Note: Do not use the patch below if you are in Singapore, as wireless-regdb is now maintained once again and updated Singapore regulatory rules have been released. | ||
| + | |||
| + | |||
| + | This information is just provided for reference in case one needs to test changes to wireless-regdb on an OpenWrt wireless AP. | ||
| ===== Motivation ===== | ===== Motivation ===== | ||
| - | As wireless-regdb | + | As wireless-regdb |
| Thankfully, it is pretty straightforward to set up a functional Wi-Fi 6E network, as only the Access Point requires a regulatory update, while stations (clients) do not. This is because the regulatory framework restricts [[https:// | Thankfully, it is pretty straightforward to set up a functional Wi-Fi 6E network, as only the Access Point requires a regulatory update, while stations (clients) do not. This is because the regulatory framework restricts [[https:// | ||
| Line 9: | Line 13: | ||
| ===== I Am Lazy and Trusting ===== | ===== I Am Lazy and Trusting ===== | ||
| - | Running OpenWrt 23.05.0? Here is my prebuilt package using the steps below (Option B): {{ : | + | Running OpenWrt 23.05.2? Here is my prebuilt package using the steps below (Option B): {{ : |
| - '' | - '' | ||
| Line 20: | Line 24: | ||
| - Install [[https:// | - Install [[https:// | ||
| - | - Clone OpenWrt source (adjust branch as needed, depending on what you're running):\\ '' | + | - Clone OpenWrt source (adjust branch as needed, depending on what you're running):\\ '' |
| - | - Choose | + | - Configure |
| - | - Build tools and toolchain (this will take ~30 min, depending on your CPU performance): | + | - Target system: '' |
| + | - Target profile: '' | ||
| + | - Firmware → wireless-regdb → '' | ||
| + | - Exit and save | ||
| + | - Build tools and toolchain (this will take ~30 min, depending on your CPU performance): | ||
| ==== Option A - Quick and Dirty - Using a Patch ==== | ==== Option A - Quick and Dirty - Using a Patch ==== | ||
| Line 28: | Line 36: | ||
| This is quick and dirty because (1) it generates a package with the same version number (unless you update the Makefile metadata) and (2) it will break with a change in wireless-regdb releases that change db.txt or (3) the patch series that comes with OpenWrt. | This is quick and dirty because (1) it generates a package with the same version number (unless you update the Makefile metadata) and (2) it will break with a change in wireless-regdb releases that change db.txt or (3) the patch series that comes with OpenWrt. | ||
| - | This was only tested on OpenWrt=v23.05.0 and wireless-regdb=2023.09.01. | + | This was only tested on OpenWrt=v23.05.2 and wireless-regdb=2023.09.01. |
| - Download the snippet below to your cloned OpenWrt repo (it goes in '' | - Download the snippet below to your cloned OpenWrt repo (it goes in '' | ||
| Line 124: | Line 132: | ||
| +PKG_MIRROR_HASH: | +PKG_MIRROR_HASH: | ||
| - | | + | |
| + | |||
| + | </ | ||
| * PKG_SOURCE_URL - Git repo URL | * PKG_SOURCE_URL - Git repo URL | ||
| * PKG_SOURCE_VERSION - Git commit hash | * PKG_SOURCE_VERSION - Git commit hash | ||
| Line 137: | Line 147: | ||
| - Copy the package to your AP:\\ '' | - Copy the package to your AP:\\ '' | ||
| - | - Install the package on your AP:\\ '' | + | - Install the package on your AP:\\ '' |
| - Reboot your AP:\\ '' | - Reboot your AP:\\ '' | ||
| - Try out your updated regulatory rules! | - Try out your updated regulatory rules! | ||