05.03.2013 Views

RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org

RPi Easy SD Card Setup - eLinux.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>RPi</strong> Peripherals<br />

From <strong>eLinux</strong>.<strong>org</strong><br />

<strong>Setup</strong> examples for various peripherals<br />

Wireless: TP-Link TL-WN722N USB wireless adapter (Debian 6)<br />

See also:<br />

http://www.element14.com/community/docs/DOC-44703/l/raspberry-pi-wifi-adaptertesting<br />

http://omer.me/2012/04/setting-up-wireless-networks-under-debian-on-raspberry-pi/<br />

This will serve as a general guide for USB wireless devices but may need modifying for<br />

your specific one.<br />

▪ Edit /etc/apt/sources.list to add the non-free archive and backports (eg: sudo vi /etc/<br />

apt/sources.list):<br />

deb http://ftp.us.debian.<strong>org</strong>/debian/ squeeze main non-free<br />

deb http://security.debian.<strong>org</strong>/ squeeze/updates main non-free<br />

deb http://ftp.us.debian.<strong>org</strong>/debian/ squeeze-updates main non-free<br />

deb http://backports.debian.<strong>org</strong>/debian-backports squeeze-backports main non-free<br />

▪ Update the package cache:<br />

sudo apt-get update<br />

▪ Download the wifi utils:<br />

sudo apt-get install wireless-tools usbutils<br />

▪ Download the required firmware and put it in the correct location - you may not need<br />

to do this for your adapter or you may need different firmware - see below.<br />

sudo apt-get install firmware-atheros<br />

sudo wget http://linuxwireless.<strong>org</strong>/download/htc_fw/1.3/htc_9271.fw<br />

sudo cp htc_9271.fw /lib/firmware<br />

▪ Add adapter definition to network config - eg: sudo vi /etc/network/interfaces - add<br />

the wlan0 section:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!