0

Connecting Raspberry Pi to wireless network?

How do I connect my Raspberry Pi B to my wireless network?

Shaun Wilson
  • 109
  • 6
Billy Maze
  • 37
  • 1

2 Answers2

5

I'm running Raspbmc on my Pi and I use this USB WiFi adapter available from Adafruit.

enter image description here

I had to make the changes shown in this answer to get this interface to come up automatically after a reboot. The driver for this adapter was already in the Raspbmc kernel. It is my understanding that this driver is also in Raspbian Wheezy.

Here's a link to known working USB WiFi adapters for the Raspberry Pi.

HeatfanJohn
  • 3,125
  • 3
  • 24
  • 36
0

I am running Raspbian on my Pi, and I use an 'RTL8192cu' based USB WiFi adapter.

Configuration was easy:

Step 1 - sudo nano /etc/network/interfaces:

(modified for your wireless network settings, of course)

auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
   wpa-scan-ssid 1
   wpa-ap-scan 1
   wpa-key-mgmt WPA-PSK
   wpa-proto RSN WPA
   wpa-pairwise CCMP TKIP
   wpa-group CCMP TKIP
   wpa-ssid "MYNETWORKNAME"
   wpa-psk "MYNETWORKPASSWORD"
iface default inet dhcp

Step 2 - sudo reboot

When the Pi comes up it should automatically connect to your wireless network.

If it does not, you can check and see if there is an existing discussion for your specific hardware, software, etc.

Shaun Wilson
  • 109
  • 6