Install mini-Wifi adapter TP-LINK TL-WN725N (v2) in Arch Linux and Ubuntu 12.04+

Recently, tiny dimensions of USB Wi-Fi connection adapters have come onto the market, no bigger than a Bluetooth dongle or a small coin, very discreet and practical to use in laptops that do not have an integrated Wi-Fi card (or has already been damaged) or even on desktop computers. Due to their small size, they do not cancel out the adjacent USB inputs and their price (around 12-15 USD) make them excellent alternatives to provide wi-fi connectivity to our equipment.

A model that stands out for its power and price is the TL-WN725N(v2) from TP-LINK, which originally appeared in its first version (v1) with Realtek hardware  RTL8188cus and a driver was created that worked very well on the Raspbian distro (based on Debian) made for mini Raspberry machines; but without warning they changed the hardware to RTL8188 EU for the second version (v2) and Realtek created a native driver for Linux but optimized for kernel versions 3.3 onwards, leaving out Raspbian and Crunchbang, among other distros.

Fortunately version 2 of the TL-WN725N is the one that has been distributed the most in Latin America, its ID number is: 0bda: 8179 And the developer community has managed to adapt the driver successfully in the most popular Linux distributions, and this time we are going to install it in Arch Linux and in Ubuntu 12.04 (11.10 onwards):

On Arch Linux:

  1. Open a terminal and update the system with: sudo pacman -Syu
  2. Connect the TL-WN725N device to a usb port.
  3. In the terminal install the package with the driver via AUR: yaourt -S dkms-8188eu
  4. Don't edit any config files and let Yaourt download, compile, zip and install the driver and configure it.
  5. At the end you will notice that the wi-fi adapter lights up with a small blue led, restart the equipment and that's it.
  6. Depending on your desktop environment, the network connectivity on the taskbar will tell you that wireless networks are available.

On Ubuntu (11.10-12.04-12.10-13.04):

  1. Open a terminal and update / install GIT: sudo apt-get install --reinstall build-essential git 
  2. Download the driver from GIT: git clone git: //github.com/liwei/rpi-rtl8188eu.git
  3. Go to the folder where it was downloaded: cd ~ / rpi-rtl8188eu
  4. Compile it: make
  5. Install it: sudo make install
  6. Scan the modules: sudo depmod-a
  7. Update kernel memory: sudo update-initramfs -u 
  8. Load the new module to the kernel: sudo modprobe -v 8188eu
  9. Connect the wi-fi adapter to an available usb port.
  10. At the end in this case, you do not need to restart the computer, by deactivating the network from Network Manager and activating it again, you will notice that the blue led of the mini adapter turns on and there will be wi-fi connectivity.

For version 1 of this adapter (RTL8188cus) -if you got it out there- there is a .deb package (for kernel version 3.4 onwards) that installs the driver easily, it works successfully on Ubuntu 13.04 and Debian 7, download it here: Driver TP-LINK TL-WN725N (v1 rtl8188cus)

I hope this information is useful to you, and greetings to all.


Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   eliotime3000 said

    I thought that TP-Link was going to change chipset that was not compatible with Linux, but thank goodness it wasn't.

  2.   RAOG said

    I find it very useful, I have version 1 and it gave me problems in Crunchbang 11. For those who need it in this link you can see how to install it in Kernel 3.2, tested in Debian Wheezy. Do not consider it spam 😉 https://manraog.wordpress.com/2013/06/30/solucionar-problemas-con-adaptador-wi-fi-realtek-rtl8188cu-tl-wn725n-v1-ew-7811un-en-linux/

    1.    Wisp said

      Thanks for sharing your solution for those who have version 1, very useful.

  3.   Juan said

    Well, I have a USB wifi antenna with an adapter for another external antenna and it recognizes me instantly.

  4.   Juan said

    and it's TP-LINK

    1.    eliotime3000 said

      It is true. What's more, in the Wheezy update 7.1 it should already recognize that Wi-Fi antenna without problems, since that driver has been added.

  5.   Dersir said

    But how am I going to do an apt-get if precisely what I am trying to install is to be able to connect to the Internet ??? If I could do an apt-get we would have finished xD

    1.    Wisp said

      It goes without saying that the computer would have to be connected to a network with internet access via ethernet cable, or if it is not possible to download the driver on another pc and compile it by hand on the computer without connection. Duh.

  6.   Vicente said

    Hello, I am not very knowledgeable about the subject, but how should I do it for Android 4.2.2? Cheers!

    1.    Wisp said

      If you are using Android on a mini Raspberry type computer you would have to compile the driver by hand because Android has a closed kernel modified by who installed it, if it is for a tablet you would have to check with the manufacturer if the kernel allows modification by the user in Adjustments or installation of third-party software. In any case, it would be much better to use another more open operating system that allows you to install the driver without having to fly or break Android's permissions to modify the kernel.

  7.   Motorhome said

    Tremendous.
    Even being a layman, I have made it work.
    You explain it so well that it is impossible to be wrong.
    Congratulations and continue.

  8.   Angel said

    Thanks for your help.
    It has worked for me for ubuntu 12, but for ubuntu 13 it gives an error in the make.
    In this forum http://peppermintos.net/viewtopic.php?f=8&t=5619 They explain how to do it for Ubuntu 13.04. Basically steps 2 and 3 change, leaving:

    2) git clone git: //github.com/lwfinger/rtl8188eu.git
    3) cd ~ / rtl8188eu

    1.    Wisp said

      Thanks for your input, apparently they also uploaded the lwfinger version of the driver to GIT to adapt it to the Canonical kernel updates for Ubuntu 13.04 (3.8 something). In this article it is the lwei version but they are practically the same.

    2.    santiago leon said

      Thanks a lot! The steps in the post had not worked for me because my adapter is version v3.0, but with your method it was solved! Thanks to both!

      WORKS ON ELEMENTARY OS.

      regards

  9.   Felipe said

    It's frustrating but it worked for me on Ubuntu 12.04 but not on Mint 13. I thought it was the same with different wallpaper

    1.    Wisp said

      Mint is now more Debian than Ubuntu, so it doesn't work.

  10.   javiyo said

    Very good First of all thanks for the information.
    With Ubuntu 11.10 working it works for me, but, hey, I turn off the computer and turn it on again and it does not throw the wifi through the USB.
    So, having seen what I have seen, I have to go back to the steps from point 4, that is, compile it, install it, update the kernel, load the module, etc, etc.

    There must be a way for it to remain perennial and the driver to be loaded along with the other drivers when the OS is loading.

    Any contribution in this regard?

    Thank you very much in advance.

    1.    Wisp said

      The problem with Ubuntu is that each kernel update you have to install the driver again, because it deletes the previous one where it was already installed. Try to install it with the device connected from the beginning, and if it keeps doing the same thing every time you restart the computer, update to 12.04 LTS and you will not have that problem.

  11.   Andrey said

    Good night friends, it will be that someone knows how to help me, I follow all the steps but from today that I change to 12.04LTS it does not work for me and if I did it with 13, I already tried and I have no error but when it comes to recognizing the device it does not works. I don't know what I'm doing wrong, thank you in advance for your help.

  12.   Leon Ponce said

    Doing make gives me an error. I paste what comes out in the terminal.
    cc1: some warnings being treated as errors
    make [2]: *** [/home/cristian/rpi-rtl8188eu/core/rtw_cmd.o] Error 1
    make [1]: *** [_module_ / home / cristian / rpi-rtl8188eu] Error 2
    make [1]: exits the directory "/usr/src/linux-headers-3.8.0-35-generic"
    make: *** [modules] Error 2
    What I can do?

    1.    Leon Ponce said

      I answer to expand.
      make ARCH = i386 CROSS_COMPILE = -C /lib/modules/3.8.0-35-generic/build M = / home / cristian / rpi-rtl8188eu modules
      make [1]: enter the directory "/usr/src/linux-headers-3.8.0-35-generic"
      CC [M] /home/cristian/rpi-rtl8188eu/core/rtw_cmd.o
      In file included from /home/cristian/rpi-rtl8188eu/core/rtw_cmd.c:23:0:
      /home/cristian/rpi-rtl8188eu/include/osdep_service.h: In the 'thread_enter' function:
      /home/cristian/rpi-rtl8188eu/include/osdep_service.h:1397:2: error: implicit declaration of function 'daemonize' [-Werror = implicit-function-declaration]
      cc1: some warnings being treated as errors
      make [2]: *** [/home/cristian/rpi-rtl8188eu/core/rtw_cmd.o] Error 1
      make [1]: *** [_module_ / home / cristian / rpi-rtl8188eu] Error 2
      make [1]: exits the directory "/usr/src/linux-headers-3.8.0-35-generic"
      make: *** [modules] Error 2

  13.   misterd said

    I get this:

    root @ misterdixon-HP-Pavilion-dv6000-GA384UA-ABA: ~ / rpi-rtl8188eu # make
    make ARCH = i386 CROSS_COMPILE = -C /lib/modules/3.8.0-36-generic/build M = / root / rpi-rtl8188eu modules
    make [1]: enter the directory "/usr/src/linux-headers-3.8.0-36-generic"
    CC [M] /root/rpi-rtl8188eu/core/rtw_cmd.o
    In file included from /root/rpi-rtl8188eu/core/rtw_cmd.c:23:0:
    /root/rpi-rtl8188eu/include/osdep_service.h: In the 'thread_enter' function:
    /root/rpi-rtl8188eu/include/osdep_service.h:1397:2: error: implicit declaration of function 'daemonize' [-Werror = implicit-function-declaration]
    cc1: some warnings being treated as errors
    make [2]: *** [/root/rpi-rtl8188eu/core/rtw_cmd.o] Error 1
    make [1]: *** [_module_ / root / rpi-rtl8188eu] Error 2
    make [1]: exits the directory "/usr/src/linux-headers-3.8.0-36-generic"
    make: *** [modules] Error 2
    what does it mean?
    Please help I have two weeks without being able to install it.

    1.    Moises said

      Hello Misterd check this link http://linuxforums.org.uk/index.php?topic=11065.0 I had the same error as yours, I followed the steps and it worked perfect on Ubuntu 13.04 kernel 3.8.0-19. Regards.

  14.   Carlo said

    Hello, unfortunately that method does not work for me because having the notebook's wifi card damaged I cannot download anything because I do not have internet.
    I downloaded the driver from git to a memory, but it does not install me because I do not have GIT on my Ubuntu system so it is not possible for me.
    I have that damn wifi adapter in version 2 but I can't get it to work in any way.
    Here I am going to fight a lot, but for the inexperienced or with little knowledge in Linux it is an odyssey as they do not have internet and do not use the software centers to install something, because either there is a dependency missing or you have to put a number of commands (compile it, install it and else).
    If only those who don't want so much control over the OS could be given the option, I think Linux would have taken off a lot more and the inexperienced would slowly become more "expert" and start exploring the entire Linux universe.
    Not to mention that they have taken a long time to have professional-level games, only in 2014 as Cry Engine will have support for Linux.
    I can't believe how a Linux-based system like Android is so popular worldwide on cell phones, tablets, and other devices.
    But hey, I need help if it is possible to install the driver for that wifi device in Ubuntu.
    Thank you.

    1.    Wisp said

      For the average Windowslerdo, drowning in a glass of water is an everyday thing. You would have saved without any problem the obvious and always useless comment of "Linux would have taken off more if it were easier" and if your grandmother had wheels, surely it would be a bicycle. If you can not believe about Android, more in my favor: evidence and your disabling cerebral windowsillness is proven. Learn everything you can, Linux is free precisely for that reason: so that people who are not very enlightened can learn at their own pace and at their own level, it is the operating system for you to do it as you want, not for you to get everything done. And if you don't like it, it is still windowslerdo and now, coming to a Linux blog to cry is actually laughing for the viewer but very sad to contemplate. You would have taken the trouble to put in which version of Ubuntu you tried to install the driver and we could help you, this post is almost 2 years ago and there have been many changes in the world, not like that in your brain but in the entire remaining Universe yes. You're welcome.

      1.    Wisp said

        Doesn't your laptop have an Ethernet port? God help us, just notice that you complain that you cannot access the internet because your wifi does not work ... I will laugh from here until the next 3 days. Excuse me.

        1.    Carlo said

          Human stupidity knows no bounds. The truth is that it is impossible to present an idea or a comment without coming out those super defenders of Linux who think they are doctors in computer science who would make Linus Torvalds look like a 4-year-old boy. The truth is that you should start to leave computer science a little and take an extensive and advanced course in human relations to see that instead of offending and showing your "immense wisdom" you will help those in need. If I entered this forum it is because the version of Ubuntu that I have is exactly that and if I say that I do not have internet it is for something not because I am a fool in which I do not realize the network cable of my laptop, I have it as a pc desktop and I do not have a network cable long enough to reach it, although that does not interest you since you are inside your intellectual bubble and you do not admit that there are others that you believe are "inferior." Anyway you with your arrogance towards the noobs or windoslerdoz as you call it does not help. I would have preferred someone who did not know as much or at least was not as enlightened as you but tried to help. Thank you (to your "you're welcome").

          1.    Wisp said

            It's true, human stupidity is so bad that you can't install a driver on Ubuntu! God help us. You're welcome, come when you like to have fun.

          2.    Wisp said

            I try to help you then:
            1. Unplug your huge, heavy laptop from your desk.
            2. Bring it closer to the router or modem that gives you the Internet (it is the box with little lights that turn on and off)
            3. Connect an RJ45 Ethernet cable to the port on your laptop, and also to a free ethernet port on your router or modem. Take your time.
            4. Verify that you have internet in the Ubuntu task bar, a warning will appear telling you that the wired network is connected. If it appears, you are doing very well.
            5. Install GIT with the console as described in step 1 of the instructions.
            7. Try to follow the instructions carefully, take your time, it may be up to 4 days but you will surely succeed.
            8. You're welcome.

          3.    Wisp said

            Sorry to alter the order of the instructions, I skipped the 6th. The laughter could be more than my spelling, but you can follow the instructions with complete confidence, it will surely help you.

  15.   George said

    It worked perfect, but the code gives an error when compiling. This other version compiles perfect, however
    http://github.com/lwfinger/rtl8188eu.git.

    Thank you very much!

    1.    Wisp said

      Thanks to you for updating the repository.

  16.   Gustavo Arlex said

    Thanks a lot…
    Excellent contribution the rtl8188eu driver works very well in Ubuntu 12.04 at 64bits.

    regards

  17.   abraham zenteno said

    Hello how good your information has helped me a lot I am trying to install the device in elementary os luna that is based on ubuntu 12.04, the kernel version is 3.2.0-61-generic-pae, the problem I have is that It already detects the device but it is impossible for me to activate it to scan the wireless networks and connect, I hope you can help me thanks:

    Make an iwconfig with the following result

    wlan0 unassociated Nickname: »»
    Mode: Auto Frequency = 2.412 GHz Access Point: Not-Associated
    Sensitivity: 0/0
    Retry: off RTS thr: off Fragment thr: off
    Encryption key:off
    Power Management:off
    Link Quality = 0/100 Signal level = 0 dBm Noise level = 0 dBm
    Rx invalid nwid: 0 invalid Rx crypt: 0 invalid Rx frag: 0
    Excessive Tx Retries: 0 Invalid Misc: 0 Missed Beacon: 0

  18.   marlon said

    Hello, I've been wanting to install the adapter on a raspberry pi with arkOS (which is a derivative of archlinux) but I can't (or don't know how) to install dkms, I tried pacman but I can't find the package, I don't know if it will be necessary to do that similar to the yaourt as indicated here http://archlinux.fr/yaourt-en . If someone can help me I am very grateful

    1.    Wisp said

      You have to install Yaourt first to use the dkms, the package is in the AUR repos and with Yaourt they are easily installed.

  19.   jerrykpg said

    Excellent tutorial! I just installed this wifi adapter on an old machine that was brought back to life by linux. Many thanks!

  20.   jerrykpg said

    Hello again! I was looking at the GitHub page of the repository for this driver and I came across this message:
    “This repo has been deprecated, please goto https://github.com/lwfinger/rtl8188eu for future updates. »
    Therefore I suppose that the modification should be done in step 2 (for the Ubuntu implementation) and then continue with the rest, right?
    I want to clarify that the previous driver is still working but it seems to me that it would be good to modify the repository in order to be aware of possible updates.
    Regards!

    1.    Wisp said

      I thank you very much for your contribution, I hope that those interested read all the comments up to yours and check the update of the GIT repository, because the article is already a year old and I cannot edit it anymore.

  21.   hj said

    These adapters (TL-WN723N and TL-WN725N V2 mini) are already supported in kernels 3.12, 3.13 (where it works best) and 3.14, so if they wish they should only update the kernel and they will not have to install the driver, and one more thing, these devices consume a lot of resources from the pc or laptop, I think it's because of the chipset, although they have been improving since kernel 3.13+.

    luck.

  22.   George said

    Hello, I add another thing: USB 3.0 ports are going to cry, no idea why. And it is not solved by using a new version of the kernel, because I have tested it in 13.04 and in 14.04.
    Negative point for the store that suggested this adapter….

    1.    Juan said

      sorry jorge June 26, 2014 4:37 PM, the TP-link TL-wn725n nano usb wifi adapter served you in ubuntu 14.04 lts in usb port. 2? I have a problem for a long time with an encore n 150 enuwi 1 nx 142, and I want to buy that TP named above, if it recommends usb wifi for ubuntu. PS: I have ubuntu next to win 7.

  23.   Jose Luis Reyes C. said

    Excellent tutorial and very well explained step by step, I had no problem activating my wifi device in Ubuntu 12.04, now I will be able to do the respective updates, thank you very much, excellent article .. !!! and very useful.

    @jlreyesc

  24.   gonzalo serrano said

    Thank you very much, your instructions are good.

    I didn't have a network in Ubuntu but from windows I went to your git link: //github.com/liwei/rpi-rtl8188eu.git and it downloaded everything in a zip (they give you the option). Then I unzipped it into a folder that it copies to linux downloads. Then I started from step 3.

    Thanks again machine

  25.   joaco said

    Hi folks, I have a problem, I am very new to this and I need a little help hah
    I have xiaopan on a pendrive, I boot when I turn on the PC, everything goes well but, I enter Beini and the wifi card does not recognize me (I just bought a TL-WN725N v2). I don't know what to do, and I don't understand much because as I said before I'm very new, all info helps me. I hope answers, thank you very much friends 😉

  26.   Samuel said

    I successfully installed TP-Link IC: 8853A-WN725N wireless network interface device driver on Ubuntu 12.04 kernel 3.2.0 following your instructions, thank you very much!

  27.   Victor said

    Thank you very much, it was very useful to me.

  28.   marco olvera said

    Hello, how are you? Sorry, I am interested in buying one of these new adapters since my laptop does not work well with the wifi, the card is damaged, but I would like to know if it works in Windows 8.1

  29.   Aaron said

    Hello I have a problem and I would like if you could help me, I recently installed Fedora 21 on my dell inspairon laptop, it is partitioned with windows 8; but this has a problem with the wifi does not connect to the network so it has a usb TP LINK TL-WN723N adaptable, now the problem is that in Fedora I cannot by any option connect to the internet, otherwise since in widows 8 if it recognizes the USB and I can navigate without problem, I am a newbie in Linux in general and I would like if you could support me very much thanks and greetings.

  30.   npinelo said

    Could you post how to install this card in Open Suse 13.2.

    Thank you

  31.   Francisco said

    Hi, I have the following issue

    My team:
    Linux 3.16.0-40-generic # 54 ~ 14.04.1-Ubuntu SMP Wed Jun 10 17:30:45 UTC 2015 x86_64 x86_64 x86_64 GNU / Linux

    Tp-Link Tl-wn727n antenna:

    Bus 003 Device 008: ID 148f: 7601 Ralink Technology, Corp.

    I have tried to install the antenna with Windows wireless driver, I think I installed the correct driver (rt2870) because it is the one that came on the installation disk and it also recognizes that the antenna is connected (in windows wireless driver I get "Hardware Present: YES" when the antenna is connected. Despite this, I still cannot use the Wi-Fi because there are no wireless networks in any of the network managers that I tested.

  32.   Leandro Leiva said

    Hello, I have a windows 7. Install all the drivers as all the steps and no network recognizes me .. I tried it with a laptop in the same place and it recognizes me. How can I solve that?

  33.   Alberto said

    Hello, I wanted to warn you that the package is now called 8188eu-dkms.

  34.   Fran said

    Hi. Is anyone on the forum? I wanted to see if the 723 or the 725 work in virtual box in the linux program to audit my network. If you recognize the usb adapter