Installing wifi adapter on raspberry pi

After configuring my raspberry using various images (xmbc or mpd )with an ethernet connection, it’s time to make it wireless 🙂

Bought an Edimax EW-7811UN wifi adapter for 11 Euro. How to install this on the latest Raspbian Wheezy image.

Install the driver

First you have to the right driver (see Raspberry forum) for the Realtek RTL8188CUS chipset.

Unpack it and copy 8192cu.ko to /lib/modules/3.1.9+/kernel/net/wireless

Add the following line to /etc/modprobe.d/blacklist.conf.

To load the wifi driver on boot put this to /etc/modules

To make sure the driver can be loaded successfully, run

To activate the wifi interface, add the following lines to /etc/network/interfaces

To configure the wifi, create the file /etc/wpa_supplicant.conf and put the following lines

Reboot the raspberry, and wifi should be running 🙂

PS: according to the post on raspberry pi forum, there’s a shell script to automate the steps above. I haven’t tried it.

Sources

  • http://www.raspberrypi.org/phpBB3/viewtopic.php?p=117530#p116866
  • http://elinux.org/RPi_edimax_EW-7811Un

Leave a Reply

Your email address will not be published. Required fields are marked *