TP-LINK TL-WN725N v2 working on Raspberry Pi (Raspbian)

When I bought my Raspberry Pi I also ordered this tiny usb wifi adapter (TP-LINK TL-WN725N) in order to play with my raspi everywhere. I got this adapter because  I read it worked out of the box, it was cheaper than others and it supported WiFi-N. As you may guess I am writing this post because the first advantage, the out of the box one, did not work for me.

Raspi with TP-LINK WN725N

I read some forums and it seemed that I had purchased a newer version of this adapter, the TL-WN725N v2. It needs a different driver, the Realtek 8188eu, which is not included by default in the Raspbian distributed by the official web site of Raspberry Pi. So, to sum up, I was able to find the driver source code and now I have a wireless raspi. If you have the same problem with this adapter, read the following lines to obtain directly the .ko object and you will be done. If you want you can download the driver source code (link at the end), compile and install it on your own.

To make it work just download the kernel object (.ko) file which is the compiled module driver for the kernel. I will be updating this section for different kernel versions.

For raspbian image: 2013-07-26-wheezy-raspbian.img
8188eu.ko (Compiled in 2013-08) (Working in kernel Linux raspberrypi 3.6.11+ #474 PREEMPT)

For raspbian image: 2013-09-25-wheezy-raspbian.img
8188eu.ko (Compiled in 2013-10) (Working in kernel Linux raspberrypi 3.6.11+ #538 PREEMPT)

For raspbian image: 2013-12-20-wheezy-raspbian.img & 2014-01-07-wheezy-raspbian.img
8188eu.ko & firmware (Compiled in 2014-01) (Working in kernel Linux raspberrypi 3.10.24+ #614 PREEMPT & 3.10.25+ #622 PREEMPT)

For raspbian image: 2014-06-20-wheezy-raspbian.img
8188eu.ko & firmware (Compiled in 2014-06) (Working in kernel Linux raspberrypi 3.12.22+ #691 PREEMPT)

For raspbian image: 2014-09-09-wheezy-raspbian.img
8188eu.ko & firmware (Compiled in 2014-09) (Working in kernel Linux raspberrypi 3.12.28+ #709 PREEMPT)

For raspbian image: 2014-12-24-wheezy-raspbian.img
8188eu.ko & firmware (Compiled in 2014-12) (Working in kernel Linux raspberrypi 3.12.35+ #730 PREEMPT)

Place the .ko object in the following path:

/lib/modules/(your-kernel-version)/kernel/drivers/net/wireless

In my case it is the following path:

/lib/modules/3.6.11+/kernel/drivers/net/wireless

Last version of the rtl8188eu driver includes a firmware file called rtl8188eufw.bin you have to place this file under:

/lib/firmware/rtlwifi/

Now execute the following commands

depmod -a

modprobe 8188eu

We are done. You should see now the new interface (wlan0 normally) when the device is connected.

Driver source code: https://github.com/lwfinger/rtl8188eu

Enjoy.

 

Posted on August 16, 2013 at 13:05 by Samuel · Permalink
In: Linux, Raspberry Pi, Raspbian · Tagged with: , , , ,

183 Responses

Subscribe to comments via RSS

  1. Written by rx farmacia viagra
    on March 2, 2017 at 18:45
    Reply · Permalink

    Alcune levitra comprare consegna il disfunzione cialis pagamento con erettile acquistare alla rx farmacia italia alla consegna posizioni in

  2. Written by Srihari HS
    on August 28, 2016 at 13:51
    Reply · Permalink

    Unable to install drivers on pi for my TP-LINK - WN725N.
    My Raspberry pi version is Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux

    Please help!

    Thanks in advance

  3. Written by PTG – Pi to go | univercity
    on July 10, 2015 at 19:40
    Reply · Permalink

    […] benötigt einen zusätzlichen Treiber. Ich habe es mit ein Paar Anleitungen Versucht, jedoch war dies hier die […]

  4. Written by GuilhasSpeedy
    on July 1, 2015 at 01:25
    Reply · Permalink

    Hi Samuel,

    Do you know if I can use the TL-WN725N on 2.6.15-sigma?

    AZBox[host]$ uname -a
    Linux AZBox 2.6.15-sigma #138 PREEMPT Thu Jan 22 21:35:07 KST 2009 mips unknown
    AZBox[host]$

    Thanks

  5. Written by PeterH
    on May 18, 2015 at 21:20
    Reply · Permalink

    Hi Samuel,

    Would it be possible for you to update the driver to kernel version 3.18.11+ or 3.18.11-v7+ ?

    • Written by ruben
      on June 12, 2015 at 02:01
      Reply · Permalink

      Yeah Please !!! it would be great

  6. Written by DaniloMedeiros
    on April 9, 2015 at 15:06
    Reply · Permalink

    Dear Samuel, I'm getting the following error: "ERROR: could not insert '8188eu': Exec format error" when trying to modprobe 8188eu".

    uname -a

    Linux rubus 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux

    (rubus is a hardened version of raspbian)

    Do I need updated drivers? Thank you

  7. […] vez que contamos con la versión, nos dirigimos al siguiente post donde podremos descargar de acuerdo a la versión el paquete correcto del […]

  8. Written by Guille
    on March 14, 2015 at 03:35
    Reply · Permalink

    Hello Samuel!!

    Have you plans to make a driver for the last build?

    Or, the last one will work?

    Thank You!!

  9. Written by Kiran Reddy
    on February 2, 2015 at 23:57
    Reply · Permalink

    Nice one, worked a treat. Thank you.

  10. Written by Gwynne
    on January 21, 2015 at 16:57
    Reply · Permalink

    I am so confused!
    I am new to all this and haven't a clue about programming ... which is why I have bought the raspberry so I can start slowly.

    Got a B+ last Friday. Linked all up downloaded the latest NOOBS and installed Raspian.

    All good so far.

    Bought a TP-Link WiFi dongle (TL-WN725N) from Maplin. Assured by them that it works - which it doesn't!

    Followed this post so far as a I can. I have downoaded the driver:

    8188eu.ko & firmware (Compiled in 2014-12) (Working in kernel Linux raspberrypi 3.12.35+ #730 PREEMPT)

    and placed it on my micro sd card.

    This tutorial is good until it says:

    Place the .ko object in the following path:

    /lib/modules/(your-kernel-version)/kernel/drivers/net/wireless

    Then I'm lost! Sorry to be a numpty!

    I have gone into terminal and am now in the root using the super user (LOL) commands and now what?

    how do I do the next steps? how do I put the .ko file into that path? How do I find the path?

    Novice numpty going mad here!

    Heeellllppppp

  11. Written by heartbleed
    on January 8, 2015 at 05:39
    Reply · Permalink

    I cannot get it running on #730. #709 worked fine. It would light up for about a second and turn off. iwlist scan says no results and iwlist scan wlan0 gives results and if iwlist scan is run again it would return results. I cannot run it on #709 as well now. lsmod shows 8188eu loaded but no users for that. so interface seems okay for both builds. I do the following
    -copy the zip to /boot from card reader
    -cp /boot/*.zip .
    unzip *.zip
    cp *.bin /lib/firmware/rtlwifi
    install -p -m 644 /lib/*/*/*/*/net/wireless/
    insmod /*/*/*/*/*/*/net/witeless/*.ko
    depmod -a
    reboot
    for the first time it will blink many times on reboot
    after that everytime on booting up one second blink and problem explained in the beginning

    Please let me know if any of my steps are incorrect. I copy the zip to card from ubuntu via card reader

    • Written by Samuel
      on January 8, 2015 at 10:00
      Reply · Permalink

      Hi heartbleed, try the following:

      * Install a fresh image --> 2014-12-24-wheezy-raspbian.img and check that is running #730 kernel.
      * Copy the zip (8188eu.ko & firmware (Compiled in 2014-12)) to card as you did.
      * unzip
      * copy the .ko object to /lib/modules/3.12.35+/kernel/drivers/net/wireless
      * copy the .bin file to /lib/firmware/rtlwifi
      * depmod -a
      * modprobe 8188eu

      • Written by heartbleed
        on January 9, 2015 at 05:16
        Reply · Permalink

        It works now ,this time I used cp v/s install , the perms where 644 anyways, I did not use insmod but used mod probe as ou said. on all previous builds 614&709 I followed old way, I don't know anything about kernel dev still wondering what could have been the prob . One clue it that it will light up for a second instead of blinking . and iwlist scan will not return anything unless root runs it . weird

        Thank you :)

  12. Written by Patlabor
    on January 7, 2015 at 01:30
    Reply · Permalink

    Very handy and helpful! Thanks a million!

    • Written by Samuel
      on January 8, 2015 at 09:55
      Reply · Permalink

      You're very welcome Patlabor.

  13. Written by Len
    on January 3, 2015 at 12:51
    Reply · Permalink

    Thanks for the kernel object - much appreciated. This has saved a load of time !

    • Written by Samuel
      on January 8, 2015 at 09:55
      Reply · Permalink

      You're very welcome Len.

  14. Written by NickG
    on December 20, 2014 at 16:44
    Reply · Permalink

    Hi,

    Thank you for your instructions. I followed them all the way through but executing modprobe at the end failed. I suspect it is because of the different kernel versions. I am running 3.12.35+ #730 PREEMPT from the most recent version of Raspbian. I've tried a lot of different things today trying the get it working so it is possible i've upgraded something beyond the most recent build. Any suggestions on how to get it to work? Thank you in advance.

    • Written by Samuel
      on December 28, 2014 at 19:54
      Reply · Permalink

      Hi NickG, I have included the latest driver. You can download from above.

  15. […] I have tp link wn725n usb Wifi. After sometime it gets disconnected from wifi. The driver i am using is 8188eu after following the tutorial at http://www.mendrugox.net/2013/08/tp-link-tl-wn725n-v2-working-on-raspberry-raspbian/. […]

  16. Written by FedeX
    on November 25, 2014 at 03:29
    Reply · Permalink

    Hi, Samuel
    I have a Raspberry B+ with 3.12.28+ #709 Kernel,i follow all the steps that you wrote.
    When i connect the dongle (TP-Link WN-725n V2) the led starts to flash and then keeps on a few seconds later appears a kernel panic message.

    i dont know what to do. i appreciate any help
    Thanks

    • Written by Samuel
      on December 28, 2014 at 20:03
      Reply · Permalink

      Hi FedeX, you could try with the latest Raspbian version and the latest driver which I've just uploaded.

  17. Written by Mark
    on November 24, 2014 at 06:32
    Reply · Permalink

    Hi Samuel thank you for the post,
    As you suggested in one of the comment I copied the files 8188eu.ko and the bin file to sd card(do we have to copy the file in a particular directory?I just copied directly to the sd card),now when when I execute the command ls /boot the .ko and .bin file doesn't exist but acc to the post it should exist a strange problem?Im newbie in the world of raspberry pi so im sorry if you find this question annoying

    • Written by Samuel
      on December 28, 2014 at 20:02
      Reply · Permalink

      Hi Mark, don't worry for asking.
      If you have copied the files to the sdcard you should see them under the /boot path in your Raspi. It does not make sense if you can see them. You could try to copy the files to an USB pendrive and then connect it to the Raspi and move the files.

  18. Written by Blue
    on November 23, 2014 at 16:07
    Reply · Permalink

    Hola Samuel, ayer estuve 6 horas tratando de configurar el bendito dongle y como una bendición llegue a tu pagina, solo para comentarte que el kernel ya esta en el 3.12.33 y por lo tanto no podía hacer funcionar el driver, tuve que formatear y volver al sistema anterior. Ojalá puedas ayudarnos para saber como se compila el driver para este nuevo driver.
    Por lo demás tu pagina tiene un lugar preferente en mi barra de favoritos, sigue así!!

    • Written by Samuel
      on November 23, 2014 at 22:12
      Reply · Permalink

      Hola Blue, el driver se compila como cualquier otro en Linux, lo único es que hay que tener especial cuidado con el fichero Module.symvers. Este fichero se tiene en cuenta cuando compilamos el driver y debe coincidir exactamente con la versión del kernel donde se quiera ejecutar (hay que buscar el apropiado dentro del proyecto https://github.com/raspberrypi). Cuando esto no se cumple, aparece el típico mensaje ERROR: could not insert '8188eu'... al instalar el driver. Por eso yo compilo únicamente para las versiones que vienen de serie cuando descargas las distintas versiones de Raspbian, si no tendría que tener muchísimas versiones del driver. En cuanto tenga algo de tiempo intentaré escribir un post acerca de compilar este driver para cada versión. Mientras tanto si aparece una nueva versión de Raspbian aquí intento siempre tener el driver compilado para el núcleo que viene de serie.

      Muchas gracias por tu apoyo :).

      • Written by Blue
        on November 24, 2014 at 16:58
        Reply · Permalink

        Genial, hoy probaré lo que me indicas, la verdad no quede satisfecho teniendo que formatear pero al menos me liberé de tener que estar amarrado a un cable de red.
        De nuevo muchas gracias, eres un crack!, te debo una jarra de cerveza.

        Saludos desde Lima.

  19. Written by Anders
    on November 22, 2014 at 15:21
    Reply · Permalink

    Hi
    When I try to extract the files to the respective directories I get a message that I'm not allowed that operation. Also I cannot copy paste the files manually, "Permission denied"
    What to do?
    /Anders

    • Written by Samuel
      on November 23, 2014 at 21:30
      Reply · Permalink

      Hi Anders, every step from the post must be done as root user. You can prepend the 'sudo' word to every command to obtain the required permission when your are logged as the 'pi' user.

  20. Written by Guille
    on November 22, 2014 at 01:47
    Reply · Permalink

    Hello I'm installed the last compilation 9-2014, and all was ok, but some time after working, I lost the reach to the RPI, If I plug the Ethernet cable , and make a dmesg command I got this:

    [33703.303757] R8188EU: ERROR indicate disassoc
    [87957.424663] ERROR::dwc_otg_hcd_urb_enqueue:505: Not connected
    [87957.424663]
    [87957.474644] usb 1-1: USB disconnect, device number 2
    [87957.474679] usb 1-1.1: USB disconnect, device number 3
    [87957.474943] smsc95xx 1-1.1:1.0 eth0: unregister 'smsc95xx' usb-bcm2708_usb-1. 1, smsc95xx USB 2.0 Ethernet
    [87957.475008] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [87957.525332] usb 1-1.3: USB disconnect, device number 4
    [87957.525691] R8188EU: ERROR indicate disassoc
    [87957.744693] Indeed it is in host mode hprt0 = 00021501
    [87958.074963] usb 1-1: new high-speed USB device number 5 using dwc_otg
    [87958.075150] Indeed it is in host mode hprt0 = 00001101
    [87958.384874] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
    [87958.384927] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [87958.396388] hub 1-1:1.0: USB hub found
    [87958.396561] hub 1-1:1.0: 3 ports detected
    [87958.674606] usb 1-1.1: new high-speed USB device number 6 using dwc_otg
    [87958.774845] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [87958.774880] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber =0
    [87958.777983] smsc95xx v1.0.4
    [87958.845824] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1 .1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b7:ac:4e
    [87958.924758] usb 1-1.3: new high-speed USB device number 7 using dwc_otg
    [87959.026547] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8179
    [87959.026583] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber =3
    [87959.026599] usb 1-1.3: Product: 802.11n NIC
    [87959.026613] usb 1-1.3: Manufacturer: Realtek
    [87959.026629] usb 1-1.3: SerialNumber: 00E04C0001
    [87959.028738] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer( 0)
    [87959.047432] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [87959.824940] MAC Address = 64:66:b3:1d:24:21
    [87960.637631] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E

    Abd the Dongle started to work again..

    Can you help me?

    Thank you!!!

    • Written by Samuel
      on November 23, 2014 at 21:25
      Reply · Permalink

      Hi Guille, I've seen this behavior before when the dongle is too far from the access point or if the power supply is not enough. What kernel version are you using?

      • Written by Guille
        on November 24, 2014 at 19:07
        Reply · Permalink

        Hello Samuel!

        My Kernel is 3.28.12+

        The RPi it's about 50cm from the router, maybe to close?

        I Started to think about power, and I measured 4.88V at TP1.

        The PSU its a Samsung with a 5Vcc 2A output I'm wondering if the PolySwitch its dropping the voltage...
        I Not measured befor the Polyswitch to check yet...

        What do you think?
        Thank you!!

  21. Written by Luigi
    on November 21, 2014 at 05:00
    Reply · Permalink

    Hi Samuel,
    I'm struggling in finding a way to switch off the led on my wifi usb. Any way to do that? As a minimum I'd like to get it fix.
    Thanks a lot!

    lsusb:
    Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

    • Written by Samuel
      on November 23, 2014 at 21:21
      Reply · Permalink

      Hi Luigi, your question is quite interesting. We would have to dive into the driver source code from above. I'll check it when I find some time and I'll tell you my findings :).

      • Written by Luigi
        on November 24, 2014 at 14:03
        Reply · Permalink

        Thanks Samuel. I've seen that in the old drivers source there was an option specific in autoconf.h but I cannot see it in the new driver.

        http://www.raspberrypi.org/forums/viewtopic.php?f=26&t=31391

        diff -aur rtl8192cu-flashingLED/include/autoconf.h rtl8192cu/include/autoconf.h
        --- rtl8192cu-flashingLED/include/autoconf.h 2013-06-05 17:27:32.725842096 +0100
        +++ rtl8192cu/include/autoconf.h 2013-06-05 17:25:09.405027367 +0100
        @@ -117,7 +117,7 @@

        #define CONFIG_SKB_COPY 1//for amsdu

        -#define CONFIG_LED
        +//#define CONFIG_LED
        #ifdef CONFIG_LED
        #define CONFIG_SW_LED
        #ifdef CONFIG_SW_LED

        Last but not least, it would be great if this option would selectable and not just builtin in the driver.
        Thanks

  22. Written by Marco Sartore
    on November 17, 2014 at 12:45
    Reply · Permalink

    Hi,
    many thanks for this how-to. I have setup and run my TP-LINK wireless WN725N on RPI in a while !
    Thankyou
    Marco

    • Written by Samuel
      on November 23, 2014 at 21:18
      Reply · Permalink

      Thank you for your comment Marco. You're very welcome.

  23. Written by fran
    on November 15, 2014 at 13:28
    Reply · Permalink

    I'm not sure why... but when I execute the last command

    modprobe 8188eu

    I obtain the follwing error

    FATAL: Module 8188eu not found.

    Any idea why? thanks!

    PS: My kernel version is 3.12.28+

    • Written by Samuel
      on November 15, 2014 at 17:03
      Reply · Permalink

      Please check that the .ko file is at /lib/modules/3.12.28+/kernel/drivers/net/wireless. Do an 'ls' to be sure. Then remember executing 'depmod -a'.

  24. Written by martin h
    on November 15, 2014 at 05:57
    Reply · Permalink

    thank you so much for this. trying to build it from source but always endup find error that i couldnt solve. this page save me a lot of hours! thanks again for sharing. (Raspbery Pi B+ & raspbian & D-Link DWA-123).

    • Written by Samuel
      on November 15, 2014 at 17:00
      Reply · Permalink

      You're very welcome Martin :)

  25. Written by TP-LINK TL-WN725N v2 Driver pour Raspbian - CTD web
    on November 9, 2014 at 16:57
    Reply · Permalink

    […] En navigant pas mal, j’ai fini par trouver la solution sur un site qui propose différentes versions compilées du driver. Donc si ce site a pu me servir je tiens à partager sa très bonne initiative de mettre à disposition ces drivers compilés : TP-LINK TL-WN725N v2 working on Raspberry Pi (Raspbian) […]

  26. Written by Okiseb
    on November 4, 2014 at 22:42
    Reply · Permalink

    Thxxxx !!!!

    • Written by Samuel
      on November 15, 2014 at 16:59
      Reply · Permalink

      You're very welcome :)

  27. Written by TP-LINK TL-WN725N v2 Driver pour Raspbian | CTD Web
    on November 4, 2014 at 22:37
    Reply · Permalink

    […] En navigant pas mal, j’ai fini par trouver la solution sur un site qui propose différentes versions compilés du driver. Donc si ce site a pu me servir je tiens à partager sa très bonne initiative de mettre à disposition ces drivers compilés : TP-LINK TL-WN725N v2 working on Raspberry Pi (Raspbian) […]

  28. Written by Tomas
    on October 20, 2014 at 23:04
    Reply · Permalink

    This totally made my night! I was up and running in 5 minutes :)

    And thanks for keeping it up to date, just got my Raspberry Pi today so.. Cheers!

    • Written by Samuel
      on October 21, 2014 at 17:14
      Reply · Permalink

      Thank you Tomas, for your support.

  29. Written by Timmaahh
    on October 17, 2014 at 20:57
    Reply · Permalink

    THAAAAAANNNKKKS!!!!!!

    • Written by Samuel
      on October 18, 2014 at 11:29
      Reply · Permalink

      You're very welcome :)

  30. Written by Sudo
    on October 5, 2014 at 23:28
    Reply · Permalink

    May the force be with you, always.

    • Written by Samuel
      on October 18, 2014 at 11:29
      Reply · Permalink

      And with you mate. Thank you for your comment.

  31. Written by MH2538
    on October 3, 2014 at 18:50
    Reply · Permalink

    Thank you man. You saved my compile time .

    • Written by Samuel
      on October 4, 2014 at 11:20
      Reply · Permalink

      You're welcome :)

  32. Written by Howard
    on October 1, 2014 at 19:59
    Reply · Permalink

    Hi Samuel,

    I'm new in raspberry, so sorry for asking so stupid but where i must paste that .ko file? (on SD card, in pc?) Or is it command ?
    Can you explain it for dumber users like me ?

    Thank you for answer...

    • Written by Samuel
      on October 1, 2014 at 22:49
      Reply · Permalink

      Hi Howard and don't apologize for asking when you don't know something.

      There are two files you have to copy to your Raspbian system. The .ko and the firmware file.

      In order to move the files you can, for example, copy them using your Windows PC to a USB pendrive and then connect it to the Raspi. Another way is to insert your SD card in your Windows PC and copy the files there. Then in Raspbian you can find those files in the /boot path.

      Raspbian is a Linux based system so in order to copy the files to the locations I mention in the post you have to use the 'cp' command in the console. For example if you copied the files to the SD card you can type 'ls /boot' to list all the files under the /boot/ path. You must see the .ko and the firmware there.

      Now in order to copy the .ko file you would type 'cp /boot/8188eu.ko /lib/modules/(your-kernel-version)/kernel/drivers/net/wireless' but because the target location is write-protected to users you will have to add the 'sudo' command and type your password before.

      So the command will be 'sudo cp /boot/8188eu.ko /lib/modules/(your-kernel-version)/kernel/drivers/net/wireless'. The same operation for the firmware file 'sudo cp /boot/rtl8188eufw.bin /lib/firmware/rtlwifi/'.

      The last step is to execute the commands, also with sudo, from the post above 'sudo depmod -a' and 'sudo modprobe 8188eu'.

      Before all of that be sure that you know your Kernel version by typing 'uname -a' and click the appropriate download for your Kernel from the post above.

      • Written by Howard
        on October 2, 2014 at 19:31
        Reply · Permalink

        Thank you for reply. Ok, ewerythink is good but when i type "sudo modprobe 8188eu" it says "ERROR: could not insert 8188eu : Exec format error", my kernel is 3.12.26+ if it somehow help, im using pitft26r-140909 raspbian witch helps me use pitft display as fast as i plug it in.

        • Written by Samuel
          on October 4, 2014 at 11:19
          Reply · Permalink

          Hi Howard, if you looked above, I have no drivers for your kernel version. You will have to download a Raspbian image that matches one of the kernels I mention. For example you can download the latest Raspbian version at present (2014-09-09) and use the last driver I uploaded.

      • Written by mmike
        on October 4, 2014 at 23:28
        Reply · Permalink

        YES!!!! Thank u sooooo much! u are great! i followed yor instructions above (copy to cd card-> type commands sudocp...) and it worked! It worked as a charm!

        • Written by Samuel
          on October 18, 2014 at 11:28
          Reply · Permalink

          You're very welcome :)

  33. Written by Tarun
    on September 27, 2014 at 13:02
    Reply · Permalink

    Sorry for off topic. I want to run my pi as a print server but could not find drivers for Epson L210. Please could any one help me get the drivers?
    I have installes cups but it is not showing driver for my printer on cups printer driver page.

    Tarun

  34. Written by Nejm
    on September 25, 2014 at 19:50
    Reply · Permalink

    THANK YOU. I WAS TRYNING TO RUN IT SINCE 6H AND NOW IT'S WORKING! THANKS!

    • Written by Samuel
      on September 27, 2014 at 11:16
      Reply · Permalink

      You're very welcome Nejm!

  35. Written by raajan
    on September 25, 2014 at 14:15
    Reply · Permalink

    Hi, I am using EDUP EP-8508N USB Adapter with rtl8188ETV chipset. My raspberry version is 3.12.28+ and I have tried everything but I am unable to install its driver on my raspberry. I am new to Linux. Can somebody Help.

    thanks
    raajan

    • Written by Samuel
      on September 25, 2014 at 14:36
      Reply · Permalink

      Hi Raajan,

      It seems that the chipset for your device is Realtek8188CUS, you should look for a suitable driver for that model. The version you mentioned is the Linux Kernel version not the Raspi version. Type 'uname -a' in your console to view the exact Kernel version, something like 'Linux raspberrypi 3.12.28+ #709 PREEMPT'. You will need that to find a proper driver.

      • Written by raajan
        on September 25, 2014 at 14:41
        Reply · Permalink

        Hi Samuel,
        I will get back.. right now in office

        thanks

      • Written by raajan
        on September 26, 2014 at 08:59
        Reply · Permalink

        Hi samuel,
        uname -a gives following

        Linux raspberrypi 3.12.28+ #709 PREEMPT

        lsusb gives following
        RTL8188ETV Wirless LAN 802.11 Network Adapter.

        Can you please help me now how can i install its driver .. Would be of great help.

        thanks
        raajan

        • Written by Samuel
          on September 27, 2014 at 11:24
          Reply · Permalink

          Hi Raajan,

          I don't have your device and it's hard for me to investigate further. Besides this post talks about another driver. However, as I said, it seems that the driver suitable for you is 8188CUS. You can download the driver and read the documentation about it from the official website here. I'm sorry but I can't help you more.

  36. Written by Pedro
    on September 25, 2014 at 11:59
    Reply · Permalink

    If only I had found this page a few hours earlier, it would save me precious sleeping time :)
    Thank you so much for sharing, Samuel !

    • Written by Samuel
      on September 25, 2014 at 14:30
      Reply · Permalink

      You are very welcome Pedro :)

  37. Written by Sriram Kannan
    on September 21, 2014 at 14:58
    Reply · Permalink

    Thanks a lot man! The updated file which you uploaded today (21st September 2014) made it work for me! What a coincidence, I'm trying to get it work today and you uploaded just few minutes ago! Thanks again!

    • Written by Samuel
      on September 21, 2014 at 16:05
      Reply · Permalink

      Lucky you Sriram, you're very welcome :)

  38. Written by Chris Krz
    on September 19, 2014 at 19:17
    Reply · Permalink

    Hi,
    I got my Pi working with the most recent driver available at your site. Now, I foolishly upgraded the Firmware to 3.12.28+ #710 PREEMPT Wed Sep 10 15:23:42 BST 2014 with the effect that this silly TP-Link dongle stopped working again. Do you think you can provide a more current version or point me to a source from where I can download it?
    Thanks and kind regards
    Chris

    • Written by Samuel
      on September 21, 2014 at 11:37
      Reply · Permalink

      Hi Chris,

      I have just compiled and uploaded the driver for the "Linux raspberrypi 3.12.28+ #709 PREEMPT" kernel which is the one you get when you download the latest raspbian image "2014-09-09-wheezy-raspbian.img". You can try this version for your current kernel and see if it works. Besides you have the link for the driver source code in the post if you want to compile it yourself.

      • Written by ChrisKrz
        on September 21, 2014 at 17:48
        Reply · Permalink

        Hello Samuel,
        perfect, the new driver for 3.12.28+ works as desired.
        Keep up with the great work.
        Kind regards
        Chris

  39. Written by Tarun
    on September 13, 2014 at 21:17
    Reply · Permalink

    I have a comfast wifi adapter this http://www.amazon.in/gp/product/B00MAC7H3O/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 and I am running NOOBS
    Offline and network install
    Version:1.3.10
    Release date:2014-09-12

    when I follow your instructions my wifi detects but my raspberry pi do not boot up next time, please could you help me?

    • Written by Samuel
      on September 20, 2014 at 10:55
      Reply · Permalink

      Hi Tarun,

      I'm downloading NOOBS to try what you say. I'll let know you when I'm done.

      • Written by Tarun
        on September 20, 2014 at 12:44
        Reply · Permalink

        Thanks for your help Samuel!!

        • Written by Samuel
          on September 21, 2014 at 11:33
          Reply · Permalink

          Hi Tarun, after installing Raspbian from NOOBS you can check your version by typing "uname -a" in the console. You can see "Linux raspberrypi 3.12.28+ #709 PREEMPT". I did not have a driver for that version until now, I've just compiled and uploaded it and you can download it from the link above in the post. It works perfectly.

          • Written by Tarun
            on September 22, 2014 at 10:55
            Reply · Permalink

            Thanks for your help and time Samuel!!
            It is working as desired.
            Please could you direct to a site where I can learn how to compile a Linux driver?

            • Written by Samuel
              on September 25, 2014 at 14:30
              Reply · Permalink

              Hi Tarun, there are a lot of tutorials, just google a little ;)

  40. Written by piGarage – Redux | Consulting Daylights
    on September 7, 2014 at 18:52
    Reply · Permalink

    […] on getting the TP-LINK TL-WN725N v2 to work on Raspberry Pi (Raspbian):     http://www.mendrugox.net/2013/08/tp-link-tl-wn725n-v2-working-on-raspberry-raspbian/. Here we are just going to show the main steps (make sure you have the dongle inserted in one of […]

  41. Written by aaron
    on August 11, 2014 at 23:57
    Reply · Permalink

    Thanks for the help! Worked like a charm for my v2.

    • Written by Samuel
      on August 12, 2014 at 08:36
      Reply · Permalink

      You're very welcome aaron.

  42. Written by Brian92127
    on July 20, 2014 at 20:08
    Reply · Permalink

    I get the point where it says:
    Now execute the following commands
    depmod -a

    I get:
    ERROR: could not open directory /lib/modules/3.10.25+: No such file or directory.

    Which, in my case is true because my kernel version is 3.12.22+.

    So, do I need to modify the path for depmod? If so, how? Or, is there something else I am missing?

    Thanks,
    -Brian

    • Written by Samuel
      on July 28, 2014 at 10:00
      Reply · Permalink

      Hello Brian,

      I recommend you to download and burn the latest Raspbian image and repeat the steps. It should work with no trouble.

  43. Written by HEIMDAL13
    on July 11, 2014 at 17:03
    Reply · Permalink

    Hi again. Trying to solve my problems with disconnection issues, I tried to install the last version of raspbian and install your new drivers. Unfortunately the problem persists. wlan0 disconnects after some time.

    I'm able to restore the connection whit this command: "sudo ifup --force wlan0" But the connection falls again after some time.

    I have read somewhere that this problem may be related to power saving. When my connection drops, the adapter starts to blink slow and regular (when connected it blinks fast and irregular).

    I attach here a pic of the interfaces file and the wlan configuration to see if you can identify the problem.

    http://postimg.org/gallery/1zte3nie/

    Thanks.

    • Written by Samuel
      on July 11, 2014 at 19:21
      Reply · Permalink

      Hi HEIMDAL13,
      It's a shame you still have connection problems. In fact the latest Raspbian and the latest driver work much better than in previous versions. By your pictures the only thing I can see is that your link quality seems very poor. Can you get closer to your access point?

      You could try the following things and see if you get the same behaviour:

      * Try to connect to a different network (AP) if you can.
      * Try to change the security of your network, e.g. WEP or OPEN.
      * Try to connect your TP-Link through a powered USB Hub to your Raspi.

      If during some test you see your TP-Link doesn't disconnect, as you mentioned, you can get some idea of the problem.

      • Written by HEIMDAL13
        on July 11, 2014 at 23:44
        Reply · Permalink

        I moved it to a place near the access point, now the raspberry pi doesn't get disconnection issues! Now I will try to see if using a powered USB Hub I can reach longer distances

        Thanks a lot!

  44. Written by Mickael
    on June 19, 2014 at 00:07
    Reply · Permalink

    Hello !

    I have an error : ERROR: could not insert '8188eu': Exec format error, any idea ?
    I'm using kernel 3.12.20+

    Thanks
    Mickael

    • Written by Samuel
      on June 29, 2014 at 14:48
      Reply · Permalink

      Hello Mickael,

      I've just uploaded the drivers for the latest Raspbian version (2014-06-20-wheezy-raspbian.img) which is using the kernel 3.12.22+. You can try if this driver works for you and, if not, I recommend you to download this latest Raspbian and the mentioned driver.

  45. Written by Juan
    on June 10, 2014 at 22:12
    Reply · Permalink

    Hey Samuel,

    I have the same adapter as you and a raspbian version 3.10.25+ #622. I followed the instructions that you indicated above but for some reason it won't let me copy the .bin file into /lib/firmware/rtlwifi, despite using the same command that works for the .ko file.

    This is the command I introduced:

    sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi

    but i get:

    cp: cannot stat 'rtl8188eufw.bin' : No such file or directory.

    I am a complete beginner on raspberry pi so I apologize in advance if this a stupid question :). How could I get over this issue?

    Gracias de antemano

    Juan

    • Written by Juan
      on June 10, 2014 at 23:41
      Reply · Permalink

      Don't worry Samuel.. I finally got it working! :D

      I re-installed the raspbian into my card to start with a new version, as I had been installing lots of folders here and there and by following your simple instructions got it detected straight away.

      Thank you very much

      Juan

      • Written by Samuel
        on June 11, 2014 at 08:40
        Reply · Permalink

        Hi Juan,

        I'm glad you got it working. You don't have to apologize for asking if you have doubts, everyone has been a beginner sometime. By the way, the error you were getting means that the file you are trying to copy (rtl8188eufw.bin) doesn't exist in your current folder. You can list the files in your current folder using the "ls" command. You'll see that you will get the same error if you make some file up and try to copy it somewhere, e.g., "cp doesntexist.txt /usr/src"

        Thank you for your comment.

  46. Written by leuk_he
    on May 21, 2014 at 20:51
    Reply · Permalink

    thx.' you saved me cable. now someone needs to include this files into raspian

    • Written by Samuel
      on June 2, 2014 at 08:57
      Reply · Permalink

      You are welcome :) and yes, they should include support for this device.

  47. Written by MemphiZ
    on May 14, 2014 at 04:51
    Reply · Permalink

    Could you please compile this driver for kernel 3.13? I would need this for kali on raspberry pi!

    • Written by MemphiZ
      on May 16, 2014 at 03:19
      Reply · Permalink

      Please?

      • Written by Samuel
        on May 16, 2014 at 08:38
        Reply · Permalink

        Hello MemphiZ, I'll try to take a look at it this weekend. To be honest I haven't played very much with Kali on Raspi. I'll write a post about Kali & TL-WN725N. I just need some free time though.

        • Written by Samuel
          on June 2, 2014 at 08:55
          Reply · Permalink

          Hello again MemphiZ, I've looking into this but it's going to take some time because it's not easy to find the exact headers or kernel source that has been used in Kali in order to compile the driver. Stay tuned..

  48. Written by Mike
    on May 4, 2014 at 01:32
    Reply · Permalink

    You are the BEST, I have spent hours looking for the proper way to do this...
    Thank you!
    :)

    • Written by Samuel
      on May 5, 2014 at 11:09
      Reply · Permalink

      You are very welcome Mike :)

  49. Written by Simone
    on April 29, 2014 at 22:32
    Reply · Permalink

    Hi, I followed the guide, but something doesn't works.
    tp-link have blinked (green) for a while after installation.
    But now, at boot time, "configuring network interfaces" doesn't succed, and since this booting step also keyboard goes down.

    I've a photo but is not possible tu upload here.

    • Written by Samuel
      on May 5, 2014 at 11:46
      Reply · Permalink

      Hello Simone,
      I will need more information in order to help you out. Are you using the latest version of Raspbian? You can upload some pictures or logs elsewhere and copy here the links.

      • Written by Simone
        on May 14, 2014 at 10:46
        Reply · Permalink

        Hi Samuel,
        thanks for your support.
        In this time I changed the device, buying another one.
        It was very strange in many situations.

        But for now I confirm that I downloaded latest version.

        Now I try with the new, I hope there will not be problems.

  50. Written by Mohamed Ibrahim K
    on April 25, 2014 at 07:26
    Reply · Permalink

    Thank U So much..

    It worked...

    ~Ibu

    • Written by Samuel
      on April 25, 2014 at 20:57
      Reply · Permalink

      You are very welcome Mohamed.

  51. Written by Alan Haverty
    on April 6, 2014 at 23:10
    Reply · Permalink

    Brilliant stuff, thanks man!

    • Written by Samuel
      on April 7, 2014 at 14:41
      Reply · Permalink

      Thank you for your comment Alan :)

  52. Written by Darren
    on March 28, 2014 at 15:09
    Reply · Permalink

    Hi,

    Thanks so much for your instructions.
    It saved me. I tried a few others that I had found but youra worked first go.

    Thankyou thankyou

    • Written by Samuel
      on March 31, 2014 at 10:51
      Reply · Permalink

      You are very welcome Darren.

  53. Written by larry
    on March 28, 2014 at 00:07
    Reply · Permalink

    muchisimas gracias!! tu tutorial me a funcionado!!

    • Written by Samuel
      on March 31, 2014 at 10:50
      Reply · Permalink

      De nada Larry, gracias por tu comentario.

  54. Written by Julia Freeman
    on March 23, 2014 at 16:59
    Reply · Permalink

    hello Samuel,

    Thank you for this post which gives me some hope after spending the whole weekend trying to get the wifi adapter to work. However..
    I am using kernel:
    Linux mpi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
    I tried the last version of your driver, but I get the following error when executing modprobe 8188eu:
    ERROR: could not insert '8188eu': Exec format error

    the last line of dmesg says:
    [12259.552786] 8188eu: disagrees about version of symbol module_layout

    Can you help me?

    Thanks in advance

    Julia

    • Written by Samuel
      on March 23, 2014 at 18:11
      Reply · Permalink

      Hello Julia and thank you for your comment.

      I see "Linux mpi" at the beginning of your kernel information line instead of "Linux raspberrypi". What distro are you using?

  55. Written by McLarenX
    on March 17, 2014 at 16:38
    Reply · Permalink

    Ok, I try it in english.

    Hi Samuel, I used your .ko for my 2014-01-07-wheezy-raspbian with kernel 10.03.25 + and after trying several different settings in the /etc/netwok/interfaces I got was connected to the router.

    So far perfect, but something strange happens, every 5 minutes or so WiFi disconnects and I do "ifup wlan0" to be reconnected. Did you happen something similar? I think it happens specially when transmitting data constantly during those 5 minutes, for example downloading something, playing a movie for streaming or connect via ssh.

    Thank you very much for your effort and I hope that you can help me because otherwise I'll have to buy another USB WiFi adapter.

    • Written by Samuel
      on March 17, 2014 at 18:04
      Reply · Permalink

      Answered in your previous comment :)

  56. Written by Ben
    on March 13, 2014 at 19:53
    Reply · Permalink

    Thanks a lot !
    Worked perfectly.. except for the zip file which I had to extract on windows first... dunno why...
    However it works !

    • Written by Samuel
      on March 17, 2014 at 13:31
      Reply · Permalink

      You are welcome. Next time you want to decompress a zip file in Linux, just open a console and type

      unzip file.zip

  57. Written by McLarenX
    on March 13, 2014 at 11:58
    Reply · Permalink

    Hola Samuel, creo que me entenderás en español. Utilicé tu .ko para mi 2014-01-07-wheezy-raspbian con kernel 3.10.25+ y tras probar varias configuraciones diferente en el /etc/netwok/interfaces conseguí que se conectara al router.

    Hasta aquí perfecto, pero me pasa algo muy raro, cada 5 minutos más o menos se me desconecta y tengo que hacer ifup wlan0 para que se vuelva a conectar. ¿Te ha pasado algo similar? Creo que pasa sobre todo cuando transmite datos constantemente durante esos 5 minutos, por ejemplo descargando algo o reproduciendo una película por streaming.

    Muchas gracias por tu esfuerzo y espero que puedas ayudarme porque sino voy a tener que comprarme otro adaptador WiFi USB.

    • Written by Samuel
      on March 17, 2014 at 18:03
      Reply · Permalink

      Hola McLarenx, gracias por tu comentario. No te he respondido antes porque ando un poco liado estos días y no he podido dedicarme demasiado al blog, nada que ver con la pregunta en castellano, faltaría más :). El comportamiento que me comentas es algo que ha aparecido en esta última versión y que les está ocurriendo a algunos usuarios, no todos. Esto es lo raro. Yo creo que se manifiesta con algunos puntos de acceso y tipos de encriptación. Estoy investigando, en cuanto tengo algo de tiempo, la causa de esto y si se soluciona con versiones posteriores del kernel de Raspberry. Espero poder publicar algo al respecto esta semana. Si me quieres echar una mano puedes comprobar si esto te sigue ocurriendo si cambias de WPA a WEP por ejemplo, o quitando la encriptación y me cuentas.

  58. Written by Barry
    on March 6, 2014 at 06:31
    Reply · Permalink

    hi , i am trying to save the files as follows, using FileZilia , but i get a open write permission denied message , i have tried to change the file/folder attributes but i still get a denied message. How can i fix this issue?

    Place the .ko object in the following path:

    /lib/modules/(your-kernel-version)/kernel/drivers/net/wireless

    In my case it is the following path:

    /lib/modules/3.6.11+/kernel/drivers/net/wireless

    Last version of the rtl8188eu driver includes a firmware file called rtl8188eufw.bin you have to place this file under:

    /lib/firmware/rtlwifi/

    Now execute the following commands

    • Written by Samuel
      on March 8, 2014 at 11:47
      Reply · Permalink

      Hello Barry, to copy files to those directories you need to be root or a user that has been given write permission by root in that path. I assume you are connecting to your Raspi using the SFTP connection (SSH & SFTP service is active by default) using the pi user, which is not allowed to copy files there. You first need to be capable of login as root in your Raspi.

      To achieve this you have to have access to a Raspbian console (Shell). You can do this by connecting a keyboard and a monitor to your Raspi or you can connect using the SSH service, using for example PuTTY (Windows) or ssh command from Linux. Once in the console you have to type the following:
      sudo passwd
      you will have to set a password for the root user.
      After this step you can login as the root user. To check that try the following command:
      su root
      and type the password you set. Now the prompt has changed and you can check you are root by typing:
      whoami
      Done. Now connect to the Raspi using FileZilla as you did but using root credentials and you will be able to copy the files.

  59. Written by gujunpu
    on March 2, 2014 at 15:39
    Reply · Permalink

    I can't begin to describe how excited I am, I already took a long time on it.I,m tired!
    I don't belong to the English speaking countries, but I have to look for information from BBS which belongs foreign countries.
    Thanks! Sincere thanks to you !

  60. Written by Camillo
    on February 27, 2014 at 17:46
    Reply · Permalink

    Hi, I did everything like You say, downloaded Your drivers & FW, kernel is 25+, fresh install, i can see the module in lsusb and lsmod, but the command "iwlist scan" gives me "No scan results"; do You think it can be due to low power given to the RPi?
    Thank you!
    Camillo

    • Written by Samuel
      on March 1, 2014 at 11:40
      Reply · Permalink

      Hi Camillo, it's weird you get no scan results if you did all the steps I wrote. To check if it's something related to power try to plug a good wire directly connected to a wall socket. Another check you can do is to place the Raspi very close to a wireless network, for example you can quickly create a wireless network if you have a smartphone. Try to put the wireless in a worldwide compatible channel, from 1 to 11. See if you can get any results, using iwlist or wpa_gui from the Raspbian Desktop (Wifi Config icon).

  61. Written by styxsailor
    on February 22, 2014 at 23:55
    Reply · Permalink

    Cristobal Colon, endlich I have found a working solution for this after two days of pain! Thanks a tonne!

    I forgot the firmware file,,,

    • Written by Samuel
      on February 24, 2014 at 21:41
      Reply · Permalink

      You are very welcome :)

  62. Written by Kurtis
    on February 21, 2014 at 19:38
    Reply · Permalink

    Thank you for publishing this tutorial; it was very useful. I plugged in my Raspberry Pi for the first time today and was on the Internet in less than an hour because of your help. Most of that time was spent figuring out how to copy the above files to the correct folders. As someone with absolute zero Linux experience (coming from Windows) it took me a while to search google and find the right commands needed to give me the permissions to copy these files and run the two commands. I may be giving poor advice here but I wanted to share with your readers what I did: I opened up LXTerminal and ran the command "sudo pcmanfm" which opened up an instance of the file manager with the required permissions needed to copy files to the correct directories (from a USB flash drive in my case). Next, I ran the command "sudo su" from the same terminal which give me the permissions needed to run the "depmode" and "modprobe" commands. For those of us new to Linux even copying a file or running a simple command can be difficult. Hope this saves someone an hour of frustration. Feel free to edit or clarify what I wrote or explain a better way of doing what I did (granting the necessary permissions to copy files and run commands).

    • Written by Samuel
      on February 22, 2014 at 12:00
      Reply · Permalink

      Thank you for your comment Kurtis I'm glad you find this post useful. It's not always easy to write a post taking in account the different experiences of possible readers but I try to keep that in mind. Nevertheless I think the effort you made surfing the Internet to find a solution is a great way of learning about Linux, and I'm sure you won't forget the things you've learnt that way easily.

  63. Written by HEIMDAL13
    on February 9, 2014 at 15:43
    Reply · Permalink

    Hi, I followed all the steps and wlan0 is always now always displaying when ifconfig. But After few minutes I lose the internet connection and I can only recover it unplugging and plugging the adaptor. What can be the problem? My kernel is 3.10.25+.

    • Written by Samuel
      on February 15, 2014 at 14:44
      Reply · Permalink

      Hi HEIMDAL13, did you make a clean install? Some people commented that they had problems playing around with various drivers and then, after a clean install of Raspbian, using the drivers from above it worked. If this is not your case, can you provide some log messages when you lose your internet connection? Use dmesg to see if, for example, wpa_supplicant is complaining about something else.

      • Written by HEIMDAL13
        on February 22, 2014 at 21:55
        Reply · Permalink

        Thanks for the reply!, When the internet connection is lost, I don't recive any error log. Just the internet stops working. The last internet crash was about an hour after using it, downloading files and web browsing. I have seen that after losing the internet connection, the Wi-Fi adapter interface can’t find any adapter.
        I have made a demsg, I attach you some photos of the results to see if you can’t find some unusual thing.
        https://imageshack.com/a/snZq/1

        Thanks.

        • Written by Samuel
          on March 1, 2014 at 11:47
          Reply · Permalink

          Hi HEIMDAL13, I can see what you mean in the third picture. Maybe it's something related to software. I understand you are using the Wifi Config icon from the Raspbian desktop to connect right? What do you do to recover the connection when is lost? Do you have to restart?

          • Written by HEIMDAL13
            on March 3, 2014 at 17:52
            Reply · Permalink

            To recover the connection I usually unplug and plug the raspberry to the power again. Because sometimes restarting the raspberry using the command shutdown -r now didn't recover the connection.

  64. Written by Crypto
    on February 8, 2014 at 22:55
    Reply · Permalink

    I would like to get this driver to work with SMOS linux, which is a distro I would like to use for mining.

    Do I need to compile the driver for SMOS or can I use the compiled version in your post?

    How can I compile it?

    And what folder do I install it into?

    • Written by Samuel
      on February 10, 2014 at 21:08
      Reply · Permalink

      Hello Crypto, the drivers are compiled for a specific version of the Linux kernel so you will need to compile them for the kernel you are using in your distro.

  65. […] 3.10.x (grâce à ce petit tuto qui m’a sauvé la vie […]

  66. Written by smyq
    on February 4, 2014 at 19:07
    Reply · Permalink

    Hi, I have kernel ver. 3.10.25+ and I managed to install the driver, but it acts strangely. When I scan for new networks using wicd the signal strength is "-1%" and it can't connect to any network.

    But most importantly - I can't use it in ad-hoc mode. It's not working at all. When I set the interface up it is not visible by others.

    I have even installed new copy of Raspian, nothing works. Do you have any suggestions?

    • Written by Samuel
      on February 7, 2014 at 13:06
      Reply · Permalink

      Hello smyq, can you provide some log information using dmesg when trying to connect to a network or putting the card in ad-hoc mode? Also is useful to check what the "iwlist wlan0 scan" outputs.

  67. Written by Base 02
    on February 3, 2014 at 15:24
    Reply · Permalink

    Initially it did not work I think because some files were corrupted from previous attempts but then I installed a fresh new 2014 raspbian image and now it's working, thanks a lot :)

    • Written by Samuel
      on February 4, 2014 at 17:57
      Reply · Permalink

      You are very welcome :)

  68. Written by Nick
    on January 29, 2014 at 06:56
    Reply · Permalink

    wlan0 now shows up in ifconfig, but WiFi Config shows no connections, nor does scan show any. Any help would be appreciated!

    Nick

    • Written by Samuel
      on January 29, 2014 at 09:45
      Reply · Permalink

      Hello Nick, could you give me more information? what kernel are you using? what driver did you download? does dmesg output something weird about wlan0? what does iwconfig output?

      • Written by Nick
        on January 29, 2014 at 11:13
        Reply · Permalink

        Kernel 3.10.25+
        Downloaded the driver for raspbian images 2013-12-20-wheezy-raspbian.img & 2014-01-07-wheezy-raspbian.img (2014-1 download)
        dmesg outputs a long list of stuff, but it doesn't seem to print anything about wlan0 specifically
        Here's a link to what iwconfig output for wlan0: http://pastie.org/private/2bgb0u1pjeziocaa1cn7g

        Thanks for the help Samuel :) I may just reinstall Raspbian just because and install the driver properly the first time. I think I may have messed it up, and I also found a download for one that was compiled for 3.10.26+ (so I may have to find the new kernel version as well; not too sure how to do that...)

        • Written by Samuel
          on January 29, 2014 at 11:26
          Reply · Permalink

          If you have 3.10.25+ try this:

          modprobe -r 8188eu
          rm /lib/modules/3.10.25+/kernel/drivers/net/wireless/8188eu.ko

          Download & unzip "8188eu.ko & firmware (Compiled in 2014-01)" from above.

          Copy the downloaded 8188eu.ko in /lib/modules/3.10.25+/kernel/drivers/net/wireless/
          and
          Copy rtl8188eufw.bin in /lib/firmware/rtlwifi/

          depmod -a

          modprobe 8188eu

          • Written by Nick
            on January 29, 2014 at 12:53
            Reply · Permalink

            Unfortunately I still don't get any scan results from Wifi Config. Going to reinstall and see if that fixes the problem.

            • Written by Samuel
              on January 29, 2014 at 13:07
              Reply · Permalink

              Test this command:

              iwlist wlan0 scan

              • Written by Nick
                on January 29, 2014 at 13:29
                Permalink

                Reinstalled and Wifi now works :) I think I may have removed other wireless drivers on my first attempt at copying the new one over D: Thanks again for all the help Samuel :)

  69. Written by Manuel
    on January 26, 2014 at 21:47
    Reply · Permalink

    Nice post, Samuel! Totally worked for me!
    I wasted an entire afternoon searching and trying until I found this method.

    Only a suggestion: it may be difficult to unzip the .ko and the firmware directly on the raspi, for newbies like me. I finally unzipped them on the PC, then uploaded both files to Google drive and at last downloaded'em on the pi.

    Again, thank you so much!

    • Written by Samuel
      on January 27, 2014 at 09:38
      Reply · Permalink

      Thank you for your comment Manuel.

      Next time you have to deal with a compressed file in linux just type the following commands:

      file.zip --> unzip file.zip
      file.tar.gz --> tar xvfz file.tar.gz
      file.tar.bz2 --> tar xvfj file.tar.bz2
      file.rar --> unrar file.rar

  70. Written by John
    on January 18, 2014 at 15:19
    Reply · Permalink

    Hi,

    Thanks for the driver. It got an issue with the 2013-12-20 version. After some time, it disconnects from the network, and I don't see the reason. Could this be a power problem ?

    • Written by Samuel
      on January 26, 2014 at 01:17
      Reply · Permalink

      Hello John,

      Sorry for the delay. I have experienced disconnections with the version you mentioned but then I upgraded 2014-01-07 with the 3.10.25+ kernel from raspberry team and it works fine again. So I don't think it's a power problem. You can use the same driver in this new version and it works perfectly.

  71. Written by Lute
    on January 11, 2014 at 17:34
    Reply · Permalink

    Thanks , really. I spent one entire day working this . really thank you.

    • Written by Samuel
      on January 13, 2014 at 12:44
      Reply · Permalink

      You are welcome. Thank you for your comment.

  72. Written by Oleg
    on January 6, 2014 at 19:39
    Reply · Permalink

    The same error as in previous comment:
    modprobe 8188eu gives error: Exec format error.

    $ uname -a
    Linux pi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux

    • Written by Oleg
      on January 6, 2014 at 19:47
      Reply · Permalink

      Maybe, you will post instruction how can I build driver from source by myself. Now when I try run "make" I'm getting error
      make: *** /lib/modules/3.10.24+/build: No such file or directory. Stop.

      • Written by Samuel
        on January 7, 2014 at 19:36
        Reply · Permalink

        You can find many tutorials about how to compile modules for a Linux kernel on the Internet. The problem with the raspi is that it's a little bit tricky to find the right kernel source or kernel headers in order to compile a compatible module in order not to get the message "Exec format error" when inserting. Maybe someday I'll try to write a post about the methods I use. Thank you for your suggestion.

    • Written by Samuel
      on January 7, 2014 at 19:30
      Reply · Permalink

      I have compiled the latest version of the driver for the 3.10.24+ #614 kernel. You can now download it from the new link above. Follow the instructions I wrote in the post and you will get it working.

      • Written by Oleg
        on January 7, 2014 at 20:02
        Reply · Permalink

        Thank you so much!
        I compiled it yesterday as well as you :) But I had no luck to configure the wifi. Then I installed raspbmc and the dongle works out of the box. Strange...

  73. Written by Cliffy
    on December 30, 2013 at 04:14
    Reply · Permalink

    modprobe 8188eu gives error: Exec format error here too, the only difference after a day of googling is that i note i am working this issue 3 months in the future i.e. December 2013 on Wheezy 3.10.25+

    I can see the device via USB:
    Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.

    is it possible the 8111eu.ko file is well out dated? i am suprised all the googling i do only shows fixes for AUG and OCT this year...

    • Written by Samuel
      on January 7, 2014 at 19:44
      Reply · Permalink

      Hello Cliffy,

      You were right, the 8188eu.ko is out dated because Raspbian is now using a different kernel. I've just compiled the latest version of the driver for the kernel 3.10.24+ #614 which is the one that comes in the latest image you can download from http://www.raspberrypi.org/downloads (2013-12-20-wheezy-raspbian.img). However I see you're using a newer kernel than this and I don't know if the one I just uploaded will work for you. As soon as I get some free time I'll try to check this and release a new version.

  74. Written by Roberto
    on December 9, 2013 at 18:19
    Reply · Permalink

    You are the best, man! A whole bunch of tutorial around the web say you have to mess around with recompiling the driver, but my issue (which by the way might be everybody else's) was I had a #538 kernel. Spread this knowledge all over the world!!

    • Written by Samuel
      on December 10, 2013 at 00:03
      Reply · Permalink

      Thank you for your support and for taking the time to comment also when things go well :)

  75. Written by Zuco
    on November 19, 2013 at 02:02
    Reply · Permalink

    Thanks! You saved me compilation time! I had compilation issues with other sources. I just got your module and it worked. Now my Pi is living in the air :)
    By the way if I plug the TL-WN725N the system reboots. It has nothing to do with the driver because it did it before installing the driver as well. I think it's an energy issue. I'm feeding the Pi with an iPhone adapter that can provide until 1A. I wonder if you experienced the same issue. I just have to plug the TL-WN725N before booting and it's fine.

    • Written by Samuel
      on November 19, 2013 at 10:43
      Reply · Permalink

      Hello Zuco and thank you for your comment. I'm glad I could help out.

      You're right about the energy issue, it has nothing to do with the driver. It's something that happens with this device, I have others (much bigger in size) that you can connect and disconnect and the Raspi doesn't reboot. One way you can achieve this with the TL-WN725N is using a powered USB hub.

  76. Written by Vittorio
    on November 8, 2013 at 14:34
    Reply · Permalink

    BTW, I'm running Berryboot and the result of uname -v is #1 PREEMPT Sat Sep 7 23:10:27 CEST 2013

    Vittorio

    • Written by Samuel
      on November 14, 2013 at 22:29
      Reply · Permalink

      Hello Vittorio,

      I wrote this post in order to get this device working on Raspbian. As you already know, Berryboot is a small distribution that lets you install other "real" distros (including Raspbian). It allows you to have many "at the same time" and choose one in boot time. I suppose you want to use the TP-LINK adapter when running Berryboot to download distros from its repository. I will try to write another post as soon as possible explaining how to achieve this. Meanwhile if you download the Raspbian distribution directly instead of using Berryboot and follow the instructions from above you will get your TL-WN725N working.

      Thank you for your comment.

  77. Written by Vittorio
    on November 8, 2013 at 14:20
    Reply · Permalink

    Hi

    I'm new to raspberry and I'm trying to use this nano wireless with it.
    My kernel is 3.6.11-rpi-aufs and I always get this error:
    ERROR: could not insert '8188eu': Exec format error

    What can I do for it?

    Thanks
    Vittorio

  78. Written by isleofmandan
    on November 3, 2013 at 12:47
    Reply · Permalink

    Thanks. Making the kernel objects available has saved me a lot of time compiling! :)

    Working perfectly.

    • Written by Samuel
      on November 4, 2013 at 10:37
      Reply · Permalink

      I am glad I could help out and thank you for taking the time to comment :).

  79. Written by JuanD
    on September 23, 2013 at 00:05
    Reply · Permalink

    modprobe 8188eu giives error:
    pi@raspberrypi ~ $ sudo modprobe 8188eu
    ERROR: could not insert '8188eu': Exec format error

    kernel: Linux raspberrypi 3.6.11+ #545 PREEMPT Fri Sep 20 23:57:55 BST 2013 armv6l GNU/Linux

    lsub
    Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.

    • Written by Samuel
      on October 6, 2013 at 19:26
      Reply · Permalink

      Hi JuanD,
      I had a very busy week and I could not answer you faster. You were right, I downloaded the latest image from raspberry repositories (2013-09-25-wheezy-raspbian.img) and the driver did not work anymore. So I recompiled it for this new kernel and now you can download it from the post above. It is totally working for me at this moment. I hope this will help you and others to finally use the TL-WN725N V2 device on a raspi.

  80. Written by Alexis
    on September 11, 2013 at 21:16
    Reply · Permalink

    This driver doesn't work anymore since the last linux updates... It gives an error (exec format error).
    You have to take the last raspbian distribution and NOT do any apt-get update/upgrade...

    I'm looking for a smarter solution for several days.

    • Written by Samuel
      on September 12, 2013 at 22:46
      Reply · Permalink

      Hi Alexis,
      I just downloaded again the latest version from the raspberry's repositories (http://downloads.raspberrypi.org/raspbian_latest, 2013-07-26-wheezy-raspbian.zip). I burned it on a different sdcard. I downloaded the 8188eu.ko compiled module from the link above and copied it in a pendrive. I turned on my raspi with the new sdcard, the pendrive and a keyboard connected. I followed the above instructions and turned off the raspi. I switched the pendrive for the TP-LINK TL-WN725N V2 and then turned on the raspi. It worked perfectly.

  81. Written by Josh Pritt
    on September 7, 2013 at 08:35
    Reply · Permalink

    modprobe 8188eu gives error: Exec format error. Now what?

    • Written by Samuel
      on September 7, 2013 at 15:57
      Reply · Permalink

      Hi Josh,

      Are you using Raspbian? What version? What kernel are you using now?

      Maybe I can help you out with more information.

Subscribe to comments via RSS

Please leave a reply :)

Time limit is exhausted. Please reload CAPTCHA.