Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-quick-start:basic_wifi [2019/02/05 04:24] – Minor spelling fixes and a proper link to Wikipedia. pascie | docs:guide-quick-start:basic_wifi [2024/12/11 14:36] – update and simplify to be more accurate palebloodsky | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ======Enabling a Wi-Fi access point on OpenWrt====== | ======Enabling a Wi-Fi access point on OpenWrt====== | ||
| - | Devices | + | Devices |
| - | This is a basic description of how to enable | + | |
| + | ===== Setup with the web GUI ====== | ||
| - | ===== Using the web admin GUI ====== | + | - Connect to LuCI at http:// |
| + | - Go to **Network → Wireless**. This page lists a separate Wi-Fi configuration for each physical radio (most devices will have one for 2.4 GHz and one for 5 GHz). | ||
| + | - For each Wi-Fi network, click '' | ||
| + | * In **General Setup**, select | ||
| + | * In **General Setup**, enter an '' | ||
| + | * In **Wireless Security**, select an '' | ||
| + | * In **Wireless Security**, enter a '' | ||
| + | * As needed, configure other settings such as a different Cipher, KRACK mitigation, or additional Wi-Fi networks. | ||
| + | - Click '' | ||
| + | - Finally, click '' | ||
| - | - Connect to the web GUI at http:// | + | ===== About the Country Code ====== |
| - | - Go to **Network → Wireless**. This page lists a separate Wi-Fi configuration section for each of your physical radios, (many devices you will have one radio for 2.4 GHz and a second one for 5 GHz). | + | |
| - | - For each of your radios, you can create a Wi-Fi network by clicking '' | + | |
| - | - On the first Wi-Fi network that you configure, go to the **Device Configuration** and open the tab **Advanced Settings**: in the '' | + | |
| - | - For each Wi-Fi network, in the " | + | |
| - | * In the tab **General Setup**, enter an '' | + | |
| - | * In the tab **Wireless Security**, select an '' | + | |
| - | * In the tab **Wireless Security**, select a '' | + | |
| - | * In the tab **Wireless Security**, enter a '' | + | |
| - | * If needed, configure further settings according to your needs. Other default settings ordinarily correct for general usage. | + | |
| - | - Click '' | + | |
| - | Troubleshooting: | + | To comply with your local regulatory laws, the correct country code for the radios on your device must be set. The default 00 (Rest of the World) country code limits operation to the limited set of channels |
| - | * If you have configured 5GHz Wi-Fi and have just enabled it, but the 5 GHz Wi-Fi does not seem to start up, consider | + | |
| + | On Linux based devices, like OpenWrt, the database of regulatory domains comes from the [[https:// | ||
| - | ===== Using the SSH command line ===== | + | If you plan to set your country code using the web GUI, do that from the dropdown, but if you intend to do it via command line, take note of your [[wp>ISO 3166-1 alpha-2]] code on the link. |
| - | This is not a complete howto, to create a Wi-Fi network | + | ===== Troubleshooting ===== |
| - | It just shows you the important steps to initially set your country code for proper | + | * If you have configured 5 GHz Wi-Fi and have just enabled it, but it does not start up immediately, consider the following: If your device supports |
| + | * Network / Wireless / Edit / Interface Configuration / General Setup / Network should be left to the " | ||
| - | * Connect with SSH to your OpenWrt device. | + | ===== Using the command |
| - | * Execute '' | + | |
| - | * Find out your country in a list of ISO/IEC 3166 alpha2 country codes. There is a list in the Wikipedia article about [[wp>ISO 3166-1 alpha-2]] | + | |
| - | * Execute '' | + | |
| + | This is not a complete howto on how to create a fine tuned Wi-Fi network on the command line. It just shows you the important steps to initially set the basics for properly enabling the Wi-Fi on the command line, to meet the legal regulations of your country: | ||
| + | |||
| + | * Connect with SSH to your OpenWrt device: '' | ||
| + | * Execute '' | ||
| + | * Execute '' | ||
| + | * Execute '' | ||
| + | * Commit the changes executing: '' | ||
| + | * Reload the wifi interfaces: '' | ||
| + | * Wait a couple of minutes to allow the radio(s) booting, and for 5 GHz DFS scanning. Enjoy. | ||