The last thing we'll want to do is turn on and secure our wifi networks. When you install a new copy of OpenWrt on a router, the wifi networks are disabled for security reasons until you have a chance to set wifi passwords. Let's do that now.
To get started let's go to the wifi configuration page. We can get to it by going to the “Network” menu on the top of the page and selecting the “Wifi” item.
We're at the main Wifi page. This page contains the information related to the physical radios in the router which handle wifi communication and the wifi networks associated with them. While it's possible for each physical radio to have multiple wifi networks set up, ours should only have a single network on each of them with an SSID of “OpenWrt”.
You might see a different number of radios on this page. Most routers have one or two radios but it depends on how the router is designed.
You'll notice the buttons next to each of the networks. These buttons allow us to enable the network, edit the network's settings or remove the network. In our case, we're going to want to edit the network settings. Click the “Edit” button on the top-most network on the page.
We're at the configuration page for our wifi network. From this page, you can control advanced settings for the wifi network. Feel free to scan through the settings, they're pretty interesting if you want to learn more about OpenWrt works. Most importantly for our purposes, we can set up the security for our wifi network. Additionally at the top you'll see some tabs. Each tab contains the settings for one of the wifi networks on the router. In our case, the first one should be selected.
Let's set our wifi password now. The wifi password settings are in “Wireless Security” in the “Interface Configuration” section about halfway down the page. Click “Wireless Security”.
Next you should see a drop down box titled “Encryption”. We want to select “WPA2-PSK” in the drop down box.
Once you select “WPA2-PSK”, two new form fields will pop up: “cipher” and “key”. We don't need to do anything with “cipher” so we'll leave that as “auto”. The field we really care about “key”. “Key” is the technical name for the password you'll use when connecting to your wifi network. We'll set that next.
Once you've come up with a password, type it into the the “key” box. If you want to make sure you've typed the password correctly, press the green cycle icon next to the password box. Once you do so, you should be able to see the password you've typed.
Now that we've set our password, let's press the “Save & Apply” button to finalize the changes on the router. You should be brought back to the top of the page. A set of notifications will update you on the changes being saved and tell you when the changes are done.
Now that our wifi password has been set, it's time to turn on our Wifi network! We'll do that by pressing the “Enable” button.
After about 15 seconds, the Wifi status should no longer say disabled. Additionally, it should provide additional information about the wifi network. This information includes:
If you only have one wireless network on your router, you're done setting up networks. You'll know this because near the top of the page, you'll only have one tab for wifi networks. If you have more wireless networks, then you should go to each of them in turn and set them up using the same process. You can do that by clicking on the tab for each of the wireless networks as shown in the screenshot below.
For ease of use, I highly recommend using the same password for every network on your router. There's no real harm in this unless you have a set up that is quite different from the one described in this walkthrough.
Your wifi network is set up! You can connect to the wifi network “OpenWrt” with the proper key. You should have access to the internet. If you don't normally connect with a network cable to the device you've been using to set up your router, feel free to unplug that.