Search This Blog

Using a WiFi USB Adapter with the Raspberry Pi



I finally bought a USB WiFi adapter for my Raspberry Pi. It was so cheap and easy to set up that I definitely recommend it if you're thinking about getting one. I got the "Edimax EW-7811Un 150M 11n Wi-Fi USB Adapter" (which you can get on Amazon here).

I then edited /etc/network/interfaces to look like this:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0


iface wlan0 inet dhcp
        wpa-ssid "ssid"
        wpa-psk "password"


Where ssid is my router's identifier and then password is my password. Then I unplugged the ethernet cable from the Pi and rebooted. Boom, the Pi is free to roam about the house. I was a little worried about my AC adapter and the draw from these USB devices (WiFi, webcam, and USB drive) being too much, but it's running like a champ.