Setup Wi-Fi on the Raspberry Pi 3


Welcome to a tutorial on how to Setup Wi-Fi on the Raspberry Pi 3!

As an introduction, I chose do to an article on this due to the fact there was only a few different variations of this guide on Google and none of them seemed to work for me! I eventually realised this could have been fixed easily because the other guides didn’t clearly state how to setup Wi-Fi on the Raspberry Pi 3.

Starting off, I hope to keep this very simplistic and easy for any level of user who is wanting to setup wi-fi on the Raspberry Pi 3 using command line.

1. Start off by connecting a keyboard to your Raspberry Pi, once logged in type the following command:

2. After, the results should be like so, you may have a few depending on how many Wi-Fi networks are in range, find yours out of the list! Below I have highlighted the two important lines you’re looking for.

3. Navigate to the wpa_supplicant.conf file:

4. Once open you may wish to add the following beneath update_config=1, I have included a copy of my wpa_supplicant.conf file below in step 5.

5. I found that this config by itself didn’t work, if your network mentions “IE: IEEE 802.11i/WPA2 Version 1” then you can put in an extra line, featured within my whole config file below. You can also change this to just “WPA2” without the quotations if your network shows WPA2.

6. You can check if this is connected by using the next command which shows the following results, I have highlighted the network name/ESSID and IEEE below.

7. This isn’t required but I found disabling the Raspberry Pi 3 Wi-Fi Power Management stopped the network connection dropping and made it more responsive. To do this this, follow Step 7.

Please remember to type Sudo before most commands to run these as administrator, this sometimes will cause the commands not to execute properly without.

8. You may wish to reboot, although not required and your Setup of Wi-Fi on the Raspberry Pi 3 should now be complete!

Rebooting the Raspberry Pi 3 after configuration

 

For more information regarding the Raspberry Pi 3 and Raspberry Pi’s please refer to RaspberryPi.ORG!

 

Kind regards,

Matthew

Leave a Reply