How to install a USB WiFi adapter on Raspberry Pi or Ubuntu?

How to install TP-Link TL-WN725N on Raspberry Pi

The TP-Link TL-WN725N is known as a hard one to get working on your Raspberry Pi. After searching for a long time, I finally got it working. In this post, I will tell you how to install it.

It is recommended to upgrade your Raspberry Pi first. Originally, my Raspberry Pi version was 3.10.25+ #622. After trying many times to install the TP-Link, it still wouldn’t work. So I upgraded my Pi to 3.10.33+ #654. To upgrade your Raspberry Pi, use the following command:

If the command is not found, you need to install that. To do so, use the following command:

Now you are able to run the ‘rpi-update’ command. To control if you upgraded your Raspberry Pi, run the following command to see your operating system number. In my case, I upgraded from 3.10.25+ #622 to 3.10.33+ #654.

After you finished upgrading. It is recommended to upgrade and update your packages. Do this with the following commands:

Now, it’s time to install the driver for the WN725N adapter. To do so, type the following commands: (The .bin file is not needed for operating systems above 3.10.33+). Make sure you use the correct dropbox url. This can be found at: http://www.raspberrypi.org/forum/viewtopic.php?p=462982

After you have rebooted, log in into Raspberry with username ‘pi’ and password ‘raspberry’. Then type te following command:

Now, a graphical user interface will show up. On the screen, you can see an icon with the name ‘WPA_GUI’. Open that. Now, you can see a window like here below:

wpa_gui

Now, you can use WPS to access your network or perform a scan to detect all possible network in your environment.

To control if your TP-Link is connected to the internet, type the following command and look if the adapter got an IP-address:

How to load the driver into kernel at boot?
There are a few ways. You may just modify the /etc/rc.local and add
sudo insmod /path-to-file/8188eu.ko
To the end of the file. That should do.