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 [2017/08/27 09:31] – added note about DFS delay on startup alx | 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 your LEDE device====== | + | ======Enabling a Wi-Fi access point on OpenWrt====== |
| - | Devices | + | Devices |
| - | This is a basic description, | + | |
| - | ===== On web admin GUI ====== | + | ===== Setup with the web GUI ====== |
| - | - Open the admin GUI on http:// | + | - Connect to LuCI at http:// |
| - | - Login with your " | + | - Go to **Network → Wireless**. This page lists a separate |
| - | - Go to the menu Network → Wireless. This page list a separate | + | - For each Wi-Fi network, click '' |
| - | - For each of your radios, you can create a WiFi network | + | |
| - | - On the first WiFi network | + | * In **General Setup**, |
| - | - For each WiFi network, | + | * In **Wireless Security**, |
| - | * In the tab **General Setup**, | + | * In **Wireless Security**, |
| - | * In the tab **Wireless Security**, | + | * As needed, configure |
| - | * In the tab **Wireless Security**, activate a '' | + | - Click '' |
| - | * In the tab **Wireless Security**, | + | - Finally, click '' |
| - | * If needed, configure | + | |
| - | - Click '' | + | |
| - | Troubleshooting: | + | ===== About the Country Code ====== |
| - | * If you have configured 5GHz WiFi and have just enabled it, but the 5 GHz WiFi does not seem to start up, consider the following: If your device supports WiFi channels > 100, your LEDE device first must scan for weather radar on these channels, before you can actually use such channels for WiFi. This may take 1-10 minutes onetime after first reboot depending on your WiFi situation and depending on the number of device-supported channels > 100. You may also experience 1 minute delay on each automatic channel change, as the same scan delay is required for regulation compliance. | + | |
| - | ===== On SSH command line===== | + | 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 and transmission power that are allowed anywhere in the world. You will typically have more available channels and higher power levels when you set the country code to your own. Be aware that setting the wrong country code could get you in trouble with local authorities because selecting a channel or transmitting at higher power than is allowed could interfere with other equipment, like radar. You can also interfere with your neighbor' |
| - | This is not a complete howto, to create a WiFi network on the command line.\\ | + | On Linux based devices, like OpenWrt, the database of regulatory domains comes from the [[https:// |
| - | It just shows you the important step, to initially set your country code for proper WiFi on the command line, to meet legal regulations of your country: | + | |
| - | * Connect with SSH to your LEDE device. | + | 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. |
| - | * Execute '' | + | |
| - | * Find out your country in a list of ISO/IEC 3166 alpha2 country codes. There is a list on the wikipedia article about ISO 3166-1 alpha-2 | + | |
| - | * Execute '' | + | |
| + | ===== Troubleshooting ===== | ||
| + | * If you have configured 5 GHz Wi-Fi and have just enabled it, but it does not start up immediately, | ||
| + | * Network / Wireless / Edit / Interface Configuration / General Setup / Network should be left to the " | ||
| + | |||
| + | ===== Using the command line ===== | ||
| + | |||
| + | 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. | ||