I bought a Raspberry Pi recently, and have been slowly gathering all the hardware pieces I need to build something with it. One of those pieces is the TP-Link Wireless USB adapter, similar to the one shown here.
Unfortunately this particular adapter doesn’t come with generic drivers that the Raspberry Pi can use on first plugin, so you have to install them manually.
I’ve now done this a few times, manually for 3.10.25+ Raspbian and with the method described below for 3.12.19+, in this case build #684.
First, credit where credit is due…
There is a post over on the Raspberry Pi forums describing this method, and has all the details (just not in a step-by-step order that I will offer).
Now, on to the walk-through.
I decided to use a Chrome Extension called Secure Shell to do the commands here, since I intend on using my Chromebook (cr-48) and Chrome OS to interact with my Raspberry Pi. These screenshots are using the Chrome Extension on Windows 8.1. Tools like PuTTY, Linux command line, or any other SSH connection (or Raspberry Pi command line itself) will work just fine.
Installing the TP-Link drivers
First, make a curl request to the dropboxusercontent share with this command:
pi@tsnPi ~ $ curl -s https://dl.dropboxusercontent.com/u/80256631/install-8188eu.tgz | tar xz
Then check to see if the file unzipped properly. You should see install-8188eu.sh
pi@tsnPi ~ $ ls
Now list the supported build numbers in the file with
pi@tsnPi ~ $ ./install-8188eu.sh -l
If you don’t know it already, get your build number (#xxx) with…
pi@tsnPi ~ $ uname -a
My particular build number is the latest, after running an rpi-update: #684
Now you’re ready to install the driver with the -k option…but be sure to substitute your build number for #xxx below…
pi@tsnPi ~ $ ./install-8188eu.sh -k #xxx
Then disconnect your ethernet cable, and check your wlan listing with
pi@tsnPi ~ $ iwconfig
You should see your wlan0 listed, however if this is the first time you’ve installed the drivers, it probably won’t automatically be connected.
You’ll want to do a reboot before you set up your network, just to make sure the drivers take (I know I had to reboot before it would connect to the internet).
pi@tsnPi ~ $ sudo reboot
I’m sure there are tutorials online for how to get your network configured on your Raspberry Pi. Special thanks to the folks at the Raspberry Pi forums and LaFambe (who I assume wrote the script).
“Raspberry Pi” and its logo are trademark of the Raspberry Pi Foundation
2 replies on “How to install TP-Link Wireless USB Adapter on Raspberry Pi”
[…] to the telescope stuff, I had purchased a Raspberry Pi to mess around with, since I got a book about programming one for Christmas. So when March rolled around after messing […]
[…] a TP-Link Wireless adapter instead of the Edimax simply because I already had one. However the TP-Link Wireless adapter comes with its own headache of installing drivers. So go with the Edimax one if you have a […]