Setting up Wi-Fi on Raspberry Pi3

You can setup wifi on GUI, or you can configure it from your console. Here is how to do it from the console.

Brief steps:
1. Registering WiFi Network
2. Enabling Automatic Connection
3. Connecting to WiFi network

Let’s get started.


1. Registering WiFi Network
1-1. Open /etc/wpa_supplicant/wpa_supplicant.conf

1-2. Add last four lines below at the end of the file. Replace <SSID> and <PASSWORD> to appropriate strings for your wifi network.


2. Enabling Automatic Connection
2-1. Open “/etc/network/interfaces”.

2-2. add “auto wlan0” line like below:


3. Connecting to WiFi Network
3-1. Disable WiFi interface

3-2. Enable WiFi interface

* Instead of doing step 3-1 and 3-2, you can just reboot the system to establish wifi connection.

3-3. Check assigned IP address

if everything is ok, you can see a line like below:

Leave a Reply

Your email address will not be published. Required fields are marked *