This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:configurations:setting-the-wi-fi-country-code [2026/02/03 01:43] gray update by using AI |
products:sbc:common:configurations:setting-the-wi-fi-country-code [2026/05/11 02:11] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Wi-Fi Country Code Configuration Guide ====== | + | ====== Wi-Fi country code configuration guide ====== |
| - | ===== 1. Introduction ===== | + | ===== Introduction ===== |
| By default, the Wi-Fi module' | By default, the Wi-Fi module' | ||
| Line 8: | Line 8: | ||
| Setting the correct country code can prevent issues where certain Wi-Fi networks are not visible or connections are unstable. | Setting the correct country code can prevent issues where certain Wi-Fi networks are not visible or connections are unstable. | ||
| - | ===== 2. Firmware and Configuration Path ===== | + | ===== Firmware and configuration path ===== |
| On Ubuntu-based systems, the firmware and configuration files for Broadcom Wi-Fi modules are located in the following directory: ''/ | On Ubuntu-based systems, the firmware and configuration files for Broadcom Wi-Fi modules are located in the following directory: ''/ | ||
| This is the standard system path. | This is the standard system path. | ||
| - | ===== 3. Identifying the Configuration File ===== | + | ===== Identifying the configuration file ===== |
| The configuration file for a specific Wi-Fi module follows the naming convention: '' | The configuration file for a specific Wi-Fi module follows the naming convention: '' | ||
| Line 22: | Line 22: | ||
| AP6275S (VIM4) - config_bcm43752a2_ag.txt | AP6275S (VIM4) - config_bcm43752a2_ag.txt | ||
| - | AP6275P (Edge-2L) - config_bcm43752a2_pcie_ag.txt | + | AP6275P (Edge2/Edge-2L) - config_bcm43752a2_pcie_ag.txt |
| AP6398S (VIM3/ | AP6398S (VIM3/ | ||
| - | ===== 4. Temporary | + | ===== Temporary |
| This is the quickest way to change the country code. It's useful for testing if a specific setting resolves an issue. However, this change is not persistent and will be lost after a reboot. | This is the quickest way to change the country code. It's useful for testing if a specific setting resolves an issue. However, this change is not persistent and will be lost after a reboot. | ||
| - | Set the Country Code | ||
| Open a terminal and run the iw reg set command with the two-letter ISO country code. For example, to set the country to Italy ('' | Open a terminal and run the iw reg set command with the two-letter ISO country code. For example, to set the country to Italy ('' | ||
| Line 37: | Line 36: | ||
| ``` | ``` | ||
| - | ==== Verify the Change | + | ==== Verify the change |
| You can immediately check if the setting was applied: | You can immediately check if the setting was applied: | ||
| Line 49: | Line 48: | ||
| If this temporary setting resolves your Wi-Fi issue, proceed to the permanent method below. | If this temporary setting resolves your Wi-Fi issue, proceed to the permanent method below. | ||
| - | ===== 5. Permanent | + | ===== Permanent |
| - | You can permanently change the Country Code by editing the appropriate configuration file. | + | You can permanently change the Country Code by editing the appropriate configuration file, for example setting country code for Italy. |
| - | + | ||
| - | === Example: Setting Country Code for Italy (IT) === | + | |
| First, consult the reference document to find the correct ccode and regrev values for your country and hardware: | First, consult the reference document to find the correct ccode and regrev values for your country and hardware: | ||
| Line 59: | Line 56: | ||
| <WRAP important > | <WRAP important > | ||
| - | For VIM4 and Edge-2L, the '' | + | For VIM4, Edge2 and Edge-2L, the '' |
| </ | </ | ||
| Line 80: | Line 77: | ||
| === IMPORTANT === | === IMPORTANT === | ||
| - | The correct values for **ccode**and **regrev** are specific to your Wi-Fi module model and target country. | + | The correct values for **ccode** and **regrev** are specific to your Wi-Fi module model and target country. |
| You must consult the appropriate regulatory documentation or tables for your hardware. | You must consult the appropriate regulatory documentation or tables for your hardware. | ||
| Using incorrect values may cause improper device operation or violate local regulations. | Using incorrect values may cause improper device operation or violate local regulations. | ||
| - | ===== 6. Apply and Verify | + | ===== Apply and verify |
| - | ==== Step 1: Reboot the System | + | ==== Reboot the system |
| After saving the configuration file, reboot the device for the changes to take effect. | After saving the configuration file, reboot the device for the changes to take effect. | ||
| Line 94: | Line 91: | ||
| ``` | ``` | ||
| - | ==== Step 2: Verify the Setting | + | ==== Verify the setting |
| After rebooting, confirm that the new Country Code has been applied by checking the kernel messages: | After rebooting, confirm that the new Country Code has been applied by checking the kernel messages: | ||