Oct 082013

There have been a couple of posts here about the TP-Link TL-WN725 wireless adapter and its problems (see here for details). This post will give instructions on how to use the pi3g package repository to install the driver. This means that if you’re running Raspbian, you don’t have to compile anything and will receive updates to this and other packages automatically.

My Pi crashes when I plug in the adapter, even on a clean Raspbian install. So don’t plug it in when you have important stuff running. Plugging it into a powered usb hub seems to be safe though.

The quick version

Add our repository (repository.pi3g.com) and install rtl8188eu.

The long version

Add the pi3g repository

Adding the repository is pretty easy and, in principle, works the same as for every other software repository. Create the file /etc/apt/sources.list.d/repository.pi3g.com.list with the following line:

deb http://repository.pi3g.com/debian/ wheezy main

A quick way to do that is this command:

sudo wget -O /etc/apt/sources.list.d/repository.pi3g.com.list http://repository.pi3g.com/sources.list

Then add our public key, which will ensure the packages are not intercepted and altered during download. The command apt-key add <keyfile> will let you do just that. Or in one command:

wget -O - http://repository.pi3g.com/pubkey | sudo apt-key add -

Install the driver package

First make sure your system is up to date:

sudo apt-get update
sudo apt-get upgrade

(It’s a good idea to run these two commands every now and then so your system doesn’t fall too far behind.)

Then simply install the package rtl8188eu like any other package. For example with this command:

apt-get install rtl8188eu

Load the module

The module should load automatically on reboot or whenever the device is plugged in. To load it manually run:

sudo modprobe 8188eu
  • Pingback: Update: TP-Link TL-WN725N Version 2 mit Raspbian | exdc()

  • Pingback: TP-Link TL-WN725N Nano WiFi Adapter v2.0 Raspberry Pi Driver » pi3g Blog()

  • Fernando Ortega

    Hi, I followed all steps but when I try to install the driver it says: “Unable to locate the package: rt18188eu”, but when I try “apt-cache showpkg “rt18188eu”” the package exists:

    Package: rt18188eu
    348-2 – (/var/lib/apt/lists/repository.pi3g.com_debian_dists_wheezy_main_binary-armhf_Packages)

    • Fernando Ortega

      After some attempts “apt-cache showpkg” return the same message than “apt-get install”: Unable to locate…

      • pi3g

        I think you have omitted the letter “l” from the package’s name. This command works for me (tested right now):

        pi@raspberrypi ~ $ sudo aptitude install rtl8188eu

        The following NEW packages will be installed:


        0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

        Need to get 369 kB of archives. After unpacking 979 kB will be used.

        Get: 1 http://repository.pi3g.com/debian/ wheezy/main rtl8188eu armhf 348-2 [369 kB]

        Fetched 369 kB in 1s (325 kB/s)

        Selecting previously unselected package rtl8188eu.

        (Reading database … 65274 files and directories currently installed.)

        Unpacking rtl8188eu (from …/rtl8188eu_348-2_armhf.deb) …

        Setting up rtl8188eu (348-2) …


        If it does not work, try

        aptitude purge rtl8188eu

        and re-install (preferably with aptitude)

        • Fernando Ortega

          Yes!! Driver was installed correctly, my mistake :(

          The problem now is that interface wlan0 doesn´t appear. I use the configuration of interfaces from your old post about this driver.

  • Benjamin

    Thank You! Works perfectly

  • Pingback: Raspbian TP-Link TL-WN725 N v2.0 NOOBS Image » pi3g Blog()

  • Alex

    Didn’t work for me, fresh install of raspbian, all updated wlan0 does not show up

    • Alex

      works after the following:

      sudo depmod -a
      sudo modprobe 8188eu

      • Lukas

        Hi, are you sure the depmod command was necessary for you? The package is supposed to do that. But I added the modprobe command to the post, thanks for your input!

  • Pingback: Fácil instalación de TP-Link TL-WN725 y TL-WN723N en Raspberry Pi (Realtek 8188eu) | The Inventor's House()

  • Andrew

    when i try to add the key i get the error “no valid Open PGP data found”
    how would i fix this error?

    • Lukas

      Hi, did you copy the command from the post exactly? If you did, the download part probably failed somehow, maybe try downloading the keyfile and adding it separatley.

  • Marcus

    I used this in the past and it worked great.
    Now I had to do a “sudo rpi-update” and it seems to have borked the driver.
    According to apt-get it is still installed (also tried reinstalling), but it’s not in ifconfig anymore and a modprobe only gives me this:

    FATAL: Module 8188eu not found.

    Any idea how to fix this?

  • Nazmee Kamaruzaman

    I using 3.10.25+ ver kernel. And TL-WN725N wifi dongle. Until now it never work on my Rasp Pi. I dont know whats wrong. I was try all the update here but still not work. Im new for ubuntu based OS. Please help me.

    • Sorry – we can’t support this WiFi dongle anymore. Please try to search around the web – there should be a newer version of the driver as a binary download …

      However, we can suggest a replacement which will work, the LogiLink WL0084B v2.0.

      I will add it to our shop soon: http://www.pi3g.com/shop

Optimization WordPress Plugins & Solutions by W3 EDGE