You are on page 1of 6

2012

Wi-Fi for Pi

Author: Praveen Kumar

Introduction:
The Raspberry Pi has many great features straight out of the box, unfortunately Wi-Fi is not one of them, in this guide Ill show you how I Wi-Fi equipped my Raspberry PI.One of the first things that you will want to do is to get your Raspberry Pi connected up to the Internet. In this lesson, you will learn how to: Use a Wi-Fi adapter with both Raspbian Find out the IP address of your Raspberry Pi Prerequisites Raspberry Pi 512 MB USB cable 8SD card class 4 WI-FI module Putty (or) VNC viewer (or) DVI port monitor Wi-Fi module:

Step 1: Boot the Raspberry Pi without the Wi-Fi adapter plugged in. Step 2: Open a Terminal session by clicking on the LX Terminal icon, and enter the following command into it:

sudo nano /etc/network/interfaces

# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085, Email: info@tenettech.com, Phone: 080 - 26722726

Step 3:
This opens an editor screen of the Wi-Fi configuration file you need to change.

# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085, Email: info@tenettech.com, Phone: 080 - 26722726

Change the SSID name and Password


1. auto lo 2. 3. iface lo inet loopback 4. iface eth0 inet dhcp 5. 6. allow-hotplug wlan0 7. auto wlan0 8. 9. 10. iface wlan0 inet dhcp 11. wpa-ssid "ssid" 12. wpa-psk "password"

Step 4: Restart the system and the connect the Wi-Fi Step 5:
You can find the IP address of your computer, either by opening the Wi-Fi setup tool again. The IP address will appear at the bottom of the Window. Open up a LX Terminal window and type the following command:

sudo ifconfig

# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085, Email: info@tenettech.com, Phone: 080 - 26722726

(If you having monitor to view the GUI then you can go with following alternate method) Step 6: Insert a Wi-Fi module and click the Wi-Fi icon which is in Desktop

Step 7: After inserting Wi-Fi module click the connect thats it Wi-Fi activated in your pi.

# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085, Email: info@tenettech.com, Phone: 080 - 26722726

Step 8: Now you can use your pi with an Wi-Fi module.

Links: Raspberry Pi- http://www.tenettech.com/product/2184/tenet-technetronicsraspberry-pi Wi-Fi for Pi - http://www.tenettech.com/product/2719/wifi-for-raspberry-pi For Queries-info@tenettech.com

# 9/3, 2nd floor, Sree Laksmi Complex, opp, to Vivekananda Park, Girinagar, Bangalore - 560085, Email: info@tenettech.com, Phone: 080 - 26722726

You might also like