Angsuman's Blog

On Deep Learning, Big Data, CRM…

Featured, Tech

How to Easily Configure WiFi in Raspberry Pi

Any version of Raspberry Pi can be very easily configured with WiFi access. Coupled with ssh or vnc, it allows you to manage your Pi remotely. Here is the simplest way I could think of, illustrated by a screenshot and detailed below.

Once your Raspberry Pi boots up, you will get to this shiny screen. Now open a Terminal by clicking on the black square icon on top-left of the screen.Screenshot from 2017-01-04 11-29-18

This opens a Terminal where you type in:

sudo leafpad /etc/network/interfaces

This opens up a notepad-like editor. Make three changes to the text as shown in the highlighted section:

  1. Change manual to dhcp in the line starting with “iface wlan0”
  2. Replace wifi_id with the Wireless Access ID / SSID
  3. Replace password with your actual password for Wireless Access

Now save it (Ctrl-S) like notepad and exit it. The terminal should still remain open.

Now either reboot the Pi or restart the network with the following command on Terminal (don’t forget to press <Enter> after you typed):

sudo service networking restart

Wait for a few minutes for the WiFi to come up. On latest Raspbian with PIXEL, you can verify by seeing the two blue arrows in opposite direction, as can be seen from the screenshot.

1 Comment

  1. Got it finally. Thanks for explaining in detail!

What do you think?

Theme by Anders Norén

%d bloggers like this: