Introduction
Raspberry Pi does not have a WiFi adapter on board. It can be connected to a network using Ethernet LAN cable or with a USB WiFi Adapter. This article demonstrates how to connect Tenda W311+ USB WiFi adapter to a Raspberry Pi with Raspbian OS. A full list of compatible USB WiFi adapters for Raspberry Pi is available at elinux.org.
Requirements
Raspberry Pi
WiFi USB Adapter
Keyboard
Monitor
HDMI Cable
SD Card with Raspbian (Debian 6)
Micro USB Power Supply
Installation
- Insert the SD card; connect the monitor, the keyboard and the WiFi USB adapter
- Plug in the power supply and wait until Raspberry Pi boots
- Install required software packages using apt-get
apt-get install wireless-tools
apt-get install wpasupplicant
- Verify that the USB WiFi adapter is detected
- Open file /etc/network/interfaces with text editor such as vim and configure WPA2
auto wlan0
iface wlan0 inet dhcp
wpa-ssid [YOUR-SSID]
wpa-psk [YOUR-PASSWORD]
- Bring up the WiFi connection and verify it
ifup wlan0
ifconfig wlan0
- If Internet connection is available ping a web site to verify it
External Links
RPi VerifiedPeripherals
Debian: How to use a WiFi interface
|