Devices that have Ethernet ports have Wi-Fi turned off by default. This is a basic description of how to enable a Wi-Fi network and most importantly, how to properly configure your country code such that your Wi-Fi network complies with the legal regulations of your country.
Country Codefield, select the correct county code, where your OpenWrt device is installed. This is important to ensure your OpenWrt device meets the legal regulations in your country. (all other configured radios will use the same device settings)
ESSIDto become the name of your Wi-Fi network
Encryptionmethod (e.g. “WPA2-PSK”, recommended for home/small office networks)
Cipher(e.g. “auto” is recommended)
Key, a secret phrase which clients must use to connect to your Wi-Fi network. NB: With WPA2-PSK, the Key must be at least eight (8) characters.
Save & Applywhen done.
This is not a complete howto, to create a Wi-Fi network on the command line.
It just shows you the important steps to initially set your country code for proper Wi-Fi on the command line, to meet the legal regulations of your country:
uci show wirelessto see all the wireless configuration and how many Wi-Fi chips (called “radio” in the config) there are on the device
uci set wireless.radio0.country='XX'to set the country code XX for radio0 device, and adjust this command to set the same country code for all wireless radios in the device.