User avatar
pi-anazazi
Posts: 1013
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Aug 19, 2021 2:52 pm

Any comprehensive, short, clear HOW-TO out there? I'm not used to that kind of stuff....
:-)
Kind regards

anazazi

User avatar
DougieLawson
Posts: 41898
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Aug 19, 2021 11:08 pm

pi-anazazi wrote:
Thu Aug 19, 2021 2:52 pm
Any comprehensive, short, clear HOW-TO out there? I'm not used to that kind of stuff....
:-)
viewtopic.php?f=28&t=62371&start=1550#p1898145

The hard part is finding the source for your WiFi dongle's driver (8188eu is easy).
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on Twitter/LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

KreativeThinker
Posts: 3
Joined: Wed Aug 25, 2021 12:20 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Aug 25, 2021 12:35 pm

Hello!

I installed the drivers and now, when I plug in the dongle a wlan1 shows up as well. What should I do after that? I think that the adapter is being recognized but isn't the one being used. How can I confirm this and make it the default one?

Thanks in advance.

KreativeThinker

danjperron
Posts: 3890
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Aug 26, 2021 10:37 am

Hi Kreative Thinker,

The next step will be to install the interface setup.

Create a wlan1 instead of wlan0. Replace all wlan0 by wlan1. From this link.
viewtopic.php?f=28&t=62371&sid=55129920 ... 5#p1902262

KreativeThinker
Posts: 3
Joined: Wed Aug 25, 2021 12:20 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Aug 29, 2021 8:00 am

danjperron wrote:
Thu Aug 26, 2021 10:37 am
Hi Kreative Thinker,

The next step will be to install the interface setup.

Create a wlan1 instead of wlan0. Replace all wlan0 by wlan1. From this link.
viewtopic.php?f=28&t=62371&sid=55129920 ... 5#p1902262
Thanks danjperron for a prompt response. I tried doing so but it appears that my /etc/network/interfaces.d folder is completely empty. I have no idea what I did wrong.

I followed this guide to get the driver installed: https://blog.samat.org/2014/12/15/realt ... pberry-pi/

Everything went smoothly and there were no errors. After that, upon plugging in the adapter, the wlan1 started showing up when I ran lsusb in the terminal. Still, the adapter was not being used to connect to my wifi source as the connection was being made from the internal chip.

I have no idea how to configure the pi such that it would connect through the wifi adapter. There was some talk about using startx in the terminal to open a setup gui but I get an error when I run it.

Am I missing something? (I must be). What can I do to get this thing to work?

Thanks in advance!

KreativeThinker

danjperron
Posts: 3890
Joined: Thu Dec 27, 2012 4:05 am
Location: Québec, Canada

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Sun Aug 29, 2021 11:16 am

I tried doing so but it appears that my /etc/network/interfaces.d folder is completely empty
This is normal. You need to fill it yourself!

Enter this command and your text.

Code: Select all

sudo nano /etc/network/interfaces.d/wlan1

Code: Select all

auto wlan1
allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
If "wlan1" is already visible with the command "ifconfig" then you need to set wpa_supplicant.

Enter the essid and password in /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
; (I'm in Canada then put your country abbreviation)
country=CA 

network={
        ssid="put your essid there"
        psk="put your password there"
}
b.t.w since you have wlan0, it should be wise to create another wpa_supplicant.conf like wpa.supplicant.wlan1.conf for your second wifi.
Just specify that one instead in your /etc/network/interfaces.d/wlan1 file,

What is wrong with wlan0 ??? Why do you need another wifi ???

KreativeThinker
Posts: 3
Joined: Wed Aug 25, 2021 12:20 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Aug 30, 2021 8:31 am

danjperron wrote:
Sun Aug 29, 2021 11:16 am
I tried doing so but it appears that my /etc/network/interfaces.d folder is completely empty
This is normal. You need to fill it yourself!

Enter this command and your text.

Code: Select all

sudo nano /etc/network/interfaces.d/wlan1

Code: Select all

auto wlan1
allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
If "wlan1" is already visible with the command "ifconfig" then you need to set wpa_supplicant.

Enter the essid and password in /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
; (I'm in Canada then put your country abbreviation)
country=CA 

network={
        ssid="put your essid there"
        psk="put your password there"
}
b.t.w since you have wlan0, it should be wise to create another wpa_supplicant.conf like wpa.supplicant.wlan1.conf for your second wifi.
Just specify that one instead in your /etc/network/interfaces.d/wlan1 file,

What is wrong with wlan0 ??? Why do you need another wifi ???
This did the trick! Thanks a ton danjperron.

My board is a tad bit old and the in-built wifi chip (wlan0) has very poor range and speed for some reason. Before I had to use a mobile hotspot but now I can finally connect to my home router.

EDIT:

It seems to me that something is wrong, I got it working but it seems to have continued to use the wlan0 (default) one. Would it be possible to disable that one altogether? It seems to override the usb for some reason.

stillerz
Posts: 6
Joined: Sat Nov 12, 2016 4:41 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Sep 02, 2021 9:11 pm

Hi all, related to the new kernel and drivers discussions --

Is there a way to install a wifi driver from the install-wifi script for the new kernel at the same time as the kernel update?

I have a Pi 4 at a remote location, where it's only connection is via wifi using a device driver from install-wifi. So, when I do a 'sudo apt upgrade' where there is a kernel version update, after the reboot the system goes offline because there's no wifi driver found for that version number.

Current solution is to wait until I can go physically retrieve the Pi 4 and plug it into an ethernet connection or local wifi, and then run install-wifi to get the matching driver for the kernel rev.

Thank you!

tinker2much
Posts: 317
Joined: Wed Jun 20, 2018 12:38 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Mon Sep 06, 2021 9:32 pm

FYI: the usual Mr Engman site now has driver files dated as recently as 25 August 2021, and with a suffix as high as 1449, as in 8188eu-5.10.60-v7l-1449.tar.gz.

Welcome back.

Osmn
Posts: 3
Joined: Wed Jun 30, 2021 10:27 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Wed Sep 08, 2021 1:55 am

MrEngman wrote:
Mon Dec 02, 2013 10:22 pm
Driver files available for the TP-LINK TL-WN725N V2 and similar wifi dongles using the 8188eu driver module for systems using the Raspbian image.

LAST UPDATED: 05/12/2019

MAJOR UPDATE:-

The list of drivers available generally covers kernel versions 3.18, 4.0, 4.1, 4.4, 4.9, 4.14 and 4.19 although there may be limitations for some of the drivers.

I have changed the filename format which now makes it unnecessary to list the files as the filename uses data from command uname -a to create the filename. Use command uname -a to find the kernel version and build for the kernel you are using and the wifi driver filename is now formed using those values like 8188eu-kernel-build.tar.gz. Drivers for kernel versions 3.18, 4.0, 4.1, 4.4, 4.8/9, 4.14 and 4.19 are available using this new filename format.

For example, for the Pi 2 B or 3 B, if uname -a shows Linux raspberrypi 4.4.8-v7+ #881 SMP Sat Apr 30 12:16:50 BST 2016 armv7l GNU/Linux the file to download is 8188eu-4.4.8-v7-881.tar.gz.

I have changed the web site address to http://downloads.fars-robotics.net. It is now possible to view and download all available drivers using a web browser.

Directory structure is

Code: Select all

downloads.fars-robotics.net 
             |
             - wifi-drivers 
                     |
                     - 8188eu-drivers
                     - 8192eu-drivers
                     - 8812au-drivers
		     - 8822bu-drivers
                     - mt7610-drivers
                     - mt7612-drivers
To download 8188eu drivers use address http://downloads.fars-robotics.net/wifi ... -file-name where driver-file-name uses my standard filename format as described above. You will then need to extract the driver and run the script ./install.sh to install it. As an example:-

Code: Select all

wget http://downloads.fars-robotics.net/wifi-drivers/8188eu-drivers/8188eu-4.19.50-v7-1234.tar.gz
tar xzf 8188eu-4.19.50-v7-1234.tar.gz
./install.sh
which will download and install the driver for kernel 4.19.50-v7+ #1234.

Also I have made a script which will automatically install the right driver version if it is available. The script can be downloaded using

Code: Select all

sudo wget http://downloads.fars-robotics.net/wifi-drivers/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
Use command sudo install-wifi -h for details on how you can use it to download or update the wifi driver. This script will automatically determine the wifi you are using and search for the correct driver to download for the kernel version you are using. The script can also install wifi drivers for wifi modules using 8192eu, 8812au, mt7610 or mt7612 drivers.

End of update

IMPORTANT: First check the version of Linux you have. Use the command uname -a to find the version of Linux.

Code: Select all

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux
pi@raspberrypi ~ $
The important part is 3.10.24+ #614. This is just an example and your version may be different. Select the right driver for the version you have from the list below.

This driver supports wifi modules with the following USB IDs

Code: Select all

ID 2001:3310
ID 2001:330F
ID 07B8:8179
ID 0BDA:0179
ID 0BDA:8179

and for 3.12.28+ and newer the additional devices:

ID 056E:4008
ID 2001:3311
ID 0DF6:0076
With the wifi dongle connected to your Pi use command lsusb to show a list of USB devices connected to your Pi. You should see your wifi module in the list and the USB ID of the device which you can check is in the list above. If it is read on to find the device driver you need and how to install it.


rtl8188eu drivers for 3.6.11+

Code: Select all

3.6.11+ #371 up to #520 inclusive    - 8188eu-20130209.tar.gz
3.6.11+ #524, #528, #532             - 8188eu-20130815.tar.gz
3.6.11+ #538, #541, #545, #551, #557 - 8188eu-20130830.tar.gz
rtl8188eu drivers for 3.10.18+ to 3.10.38+

Code: Select all

3.10.18+ #577       - 8188eu-20131105.tar.gz
3.10.18+ #579, #585 - 8188eu-20131106.tar.gz
3.10.18+ #587       - 8188eu-20131110.tar.gz
3.10.18+ #590, #592 - 8188eu-20131111.tar.gz
3.10.18+ #594, #596 - 8188eu-20131113.tar.gz

3.10.19+ #600       - 8188eu-20131113.tar.gz

3.10.21+ #602, #604 - 8188eu-20131113.tar.gz

3.10.22+ #606       - 8188eu-20131206.tar.gz

3.10.23+ #608       - 8188eu-20131209.tar.gz

Code: Select all

3.10.24+ #610       - 8188eu-20131209.tar.gz
3.10.24+ #614       - 8188eu-20131219.tar.gz

3.10.25+ #616, #618 - 8188eu-20131219.tar.gz
3.10.25+ #622, #624 - 8188eu-20131219.tar.gz

3.10.26+ #628       - 8188eu-20140110.tar.gz

3.10.27+ #630       - 8188eu-20140117.tar.gz

3.10.28+ #632, #634 - 8188eu-20140117.tar.gz

3.10.29+ #636, #638 - 8188eu-20140117.tar.gz

Code: Select all

3.10.30+ #640, #642 - 8188eu-20140117.tar.gz

3.10.32+ #646, #648 - 8188eu-20140117.tar.gz

3.10.33+ #654, #656 - 8188eu-20140117.tar.gz
3.10.33+ #658       - 8188eu-20140117.tar.gz

3.10.34+ #660, #661 - 8188eu-20140117.tar.gz

3.10.36+ #662, #664 - 8188eu-20140117.tar.gz
3.10.36+ #665, #666 - 8188eu-20140117.tar.gz

3.10.37+ #667, #669 - 8188eu-20140117.tar.gz

Code: Select all

3.10.38+ #675       - 8188eu-20140117.tar.gz
rtl8188eu drivers for 3.12.xx

Code: Select all

3.12.18+ #673, #677 - 8188eu-20140425.tar.gz
3.12.18+ #679, #680 - 8188eu-20140501.tar.gz

3.12.19+ #681, #682 - 8188eu-20140509.tar.gz
3.12.19+ #684       - 8188eu-20140509.tar.gz

3.12.20+ #685, #686 - 8188eu-20140509.tar.gz
3.12.20+ #687       - 8188eu-20140509.tar.gz

3.12.21+ #688, #689 - 8188eu-20140509.tar.gz

3.12.22+ #690, #691 - 8188eu-20140616.tar.gz

Code: Select all

3.12.23+ #692       - 8188eu-20140626.tar.gz

3.12.24+ #693, #694 - 8188eu-20140705.tar.gz

3.12.25+ #698, #700 - 8188eu-20140705.tar.gz
3.12.25+ #701       - 8188eu-20140705.tar.gz

3.12.26+ #702, #703 - 8188eu-20140705.tar.gz
3.12.26+ #704, #707 - 8188eu-20140705.tar.gz
3.12.26+ #708       - 8188eu-20140705.tar.gz

3.12.28+ #709, #710 - 8188eu-20140908.tar.gz
3.12.28+ #712, #713 - 8188eu-20140908.tar.gz

Code: Select all

3.12.29+ #714, #715 - 8188eu-20140908.tar.gz

3.12.30+ #717       - 8188eu-20141017.tar.gz

3.12.31+ #718, #720 - 8188eu-20141026.tar.gz

3.12.32+ #721       - 8188eu-20141107.tar.gz

3.12.33+ #722, #724 - 8188eu-20141107.tar.gz

3.12.34+ #725, #727 - 8188eu-20141107.tar.gz

3.12.35+ #730, #733 - 8188eu-20141107.tar.gz

Code: Select all

3.12.36+ #737       - 8188eu-20150114.tar.gz
rtl8188eu drivers for 3.18.xx+. There are separate drivers for the Pi 2, see separate list below for the Pi 2.
See note below for installing 3.18.xx+ and 3.18.xx-v7+ drivers

Code: Select all

3.18.3+ #739, #740 - 8188eu-20150120.tar.gz
3.18.3+ #741, #742 - 8188eu-20150120.tar.gz

3.18.5+ #744, #746 - 8188eu-20150130.tar.gz
3.18.5+ #748       - 8188eu-20150130.tar.gz

3.18.6+ #753, #754 - 8188eu-20150208.tar.gz

3.18.7+ #755, #756 - 8188eu-20150212.tar.gz
3.18.7+ #757       - 8188eu-20150212.tar.gz

3.18.7+ #758, #759 - 8188eu-20150223.tar.gz

Code: Select all

3.18.8+ #761, #763 - 8188eu-20150227.tar.gz
3.18.8+ #764, #765 - 8188eu-20150227.tar.gz

3.18.9+ #767, #768 - 8188eu-20150307.tar.gz
3.18.9+ #772       - 8188eu-20150307.tar.gz

3.18.10+ #774, #775 - 8188eu-20150325.tar.gz

3.18.11+ #776, #777 - 8188eu-20150406.tar.gz
3.18.11+ #780, #781 - 8188eu-20150406.tar.gz

3.18.12+ #782, #783 - 8188eu-20150428.tar.gz

Code: Select all

3.18.13+ #784, #785 - 8188eu-20150509.tar.gz

3.18.14+ #792, #793 - 8188eu-20150523.tar.gz
3.18.14+ #794       - 8188eu-20150523.tar.gz

3.18.16+ #795       - 8188eu-20150617.tar.gz

3.18.16+ #796       - 8188eu-20150619.tar.gz
rtl8188eu drivers for 4.0.xx+.

Code: Select all

4.0.5+ #797       - 8188eu-20150621.tar.gz

4.0.6+ #798, #799 - 8188eu-20150623.tar.gz

4.0.7+ #801, #802 - 8188eu-20150630.tar.gz

4.0.8+ #803, #804 - 8188eu-20150713.tar.gz
4.0.8+ #805       - 8188eu-20150713.tar.gz

4.0.9+ #807       - 8188eu-20150724.tar.gz
rtl8188eu drivers for 4.1.xx+.

Code: Select all

4.1.4+ #808       - 8188eu-20150806.tar.gz

4.1.5+ #809       - 8188eu-20150813.tar.gz

4.1.6+ #810       - 8188eu-20150818.tar.gz
4.1.6+ #811, #812 - 8188eu-20150818.tar.gz

4.1.7+ #813, #815 - 8188eu-20150914.tar.gz
4.1.7+ #817       - 8188eu-20150914.tar.gz

4.1.8+ #818       - 8188eu-20150929.tar.gz

4.1.9+ #819       - 8188eu-20151002.tar.gz

Code: Select all

4.1.10+ #820, #821 - 8188eu-20151004.tar.gz

4.1.11+ #822       - 8188eu-20151023.tar.gz

4.1.12+ #824, #825 - 8188eu-20151028.tar.gz

4.1.13+ #826, #827 - 8188eu-20151113.tar.gz

4.1.14+ #828       - 8188eu-20151210.tar.gz

4.1.15+ #829       - 8188eu-20151215a.tar.gz

4.1.15+ #830, #831 - 8188eu-20151215.tar.gz

Code: Select all

4.1.16+ #832, #833 - 8188eu-20160124.tar.gz

4.1.17+ #834, #838 - 8188eu-20160201.tar.gz
4.1.17+ #840, #841 - 8188eu-20160201.tar.gz
4.1.17+ #842, #843 - 8188eu-20160201.tar.gz

4.1.18+ #845, #846 - 8188eu-20160219.tar.gz
4.1.18+ #848       - 8188eu-20160219.tar.gz

4.1.19+ #851, #852 - 8188eu-20160305.tar.gz
4.1.19+ #853, #858 - 8188eu-20160305.tar.gz

4.1.20+ #862, #865 - 8188eu-20160319.tar.gz

Code: Select all

4.1.20+ #867       - 8188eu-20160319.tar.gz

4.1.21+ #872, #873 - 8188eu-20160406.tar.gz
For newer kernel versions see MAJOR UPDATE:- at the start of this post.

Pi 2 driver files.

Drivers for 3.18.xx-v7+.

Code: Select all

3.18.5-v7+ #746, #748 - 8188eu-v7-20150202.tar.gz

3.18.6-v7+ #753, #754 - 8188eu-v7-20150208.tar.gz

3.18.7-v7+ #755, #756 - 8188eu-v7-20150212.tar.gz
3.18.7-v7+ #757       - 8188eu-v7-20150212.tar.gz

3.18.7-v7+ #758, #759 - 8188eu-v7-20150223.tar.gz

3.18.8-v7+ #761, #763 - 8188eu-v7-20150227.tar.gz
3.18.8-v7+ #764, #765 - 8188eu-v7-20150227.tar.gz

3.18.9-v7+ #767, #768 - 8188eu-v7-20150307.tar.gz

Code: Select all

3.18.9-v7+ #772       - 8188eu-v7-20150307.tar.gz

3.18.10-v7+ #774, #775 - 8188eu-v7-20150325.tar.gz

3.18.11-v7+ #776, #777 - 8188eu-v7-20150406.tar.gz
3.18.11-v7+ #780, #781 - 8188eu-v7-20150406.tar.gz

3.18.12-v7+ #782, #783 - 8188eu-v7-20150428.tar.gz

3.18.13-v7+ #784, #785 - 8188eu-v7-20150509.tar.gz

3.18.14-v7+ #792, #793 - 8188eu-v7-20150523.tar.gz
3.18.14-v7+ #794       - 8188eu-v7-20150523.tar.gz

Code: Select all

3.18.16-v7+ #795       - 8188eu-v7-20150617.tar.gz

3.18.16-v7+ #796       - 8188eu-v7-20150619.tar.gz
rtl8188eu drivers for 4.0.xx-v7+.

Code: Select all

4.0.5-v7+ #797       - 8188eu-v7-20150621.tar.gz

4.0.6-v7+ #798, #799 - 8188eu-v7-20150623.tar.gz

4.0.7-v7+ #801, #802 - 8188eu-v7-20150630.tar.gz

4.0.8-v7+ #803, #804 - 8188eu-v7-20150713.tar.gz
4.0.8-v7+ #805       - 8188eu-v7-20150713.tar.gz

4.0.9-v7+ #807       - 8188eu-v7-20150724.tar.gz
rtl8188eu drivers for 4.1.xx-v7+.

Code: Select all

4.1.4-v7+ #808       - 8188eu-v7-20150806.tar.gz

4.1.5-v7+ #809       - 8188eu-v7-20150813.tar.gz

4.1.6-v7+ #810       - 8188eu-v7-20150818.tar.gz
4.1.6-v7+ #811, #812 - 8188eu-v7-20150818.tar.gz

4.1.7-v7+ #813, #815 - 8188eu-v7-20150914.tar.gz
4.1.7-v7+ #817       - 8188eu-v7-20150914.tar.gz

4.1.8-v7+ #818       - 8188eu-v7-20150929.tar.gz

4.1.9-v7+ #819       - 8188eu-v7-20151002.tar.gz

Code: Select all

4.1.10-v7+ #820, #821 - 8188eu-v7-20151004.tar.gz

4.1.11-v7+ #822       - 8188eu-v7-20151023.tar.gz

4.1.12-v7+ #824, #825 - 8188eu-v7-20151028.tar.gz

4.1.13-v7+ #826, #827 - 8188eu-v7-20151113.tar.gz

4.1.14-v7+ #828       - 8188eu-v7-20151210.tar.gz

4.1.15-v7+ #829       - 8188eu-v7-20151215a.tar.gz

4.1.15-v7+ #830, #831 - 8188eu-v7-20151215.tar.gz

Code: Select all

4.1.16-v7+ #832, #833 - 8188eu-v7-20160124.tar.gz

4.1.17-v7+ #834, #838 - 8188eu-v7-20160201.tar.gz
4.1.17-v7+ #840, #841 - 8188eu-v7-20160201.tar.gz
4.1.17-v7+ #842, #843 - 8188eu-v7-20160201.tar.gz

4.1.18-v7+ #845, #846 - 8188eu-v7-20160219.tar.gz
4.1.18-v7+ #848       - 8188eu-v7-20160219.tar.gz

4.1.19-v7+ #851, #852 - 8188eu-v7-20160305.tar.gz
4.1.19-v7+ #853, #858 - 8188eu-v7-20160305.tar.gz

4.1.20-v7+ #862, #865 - 8188eu-v7-20160319.tar.gz

Code: Select all

4.1.20-v7+ #867       - 8188eu-v7-20160319.tar.gz

4.1.21-v7+ #872, #873 - 8188eu-v7-20160406.tar.gz
For newer kernel versions see MAJOR UPDATE:- at the start of this post.

NOTE: the driver files for 3.18.xx+ and 3.18.xx-v7+ and newer versions contain two additional files, install.sh and 8188eu.conf. Download the driver file selecting the right driver for your kernel version from the list above then to install the 3.18 drivers first untar the tar.gz driver file and then run the install.sh command.eg. For the Pi 1 (A, A+, B, B+) use

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-2015yyzz.tar.gz
tar xzf 8188eu-2015yyzz.tar.gz
./install.sh
and for the Pi 2 the filename includes an additional "-v7" so use

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-v7-2015yyzz.tar.gz
tar xzf 8188eu-v7-2015yyzz.tar.gz
./install.sh
change yyzz in the wget and tar commands to select the right driver file. install.sh will install the driver file and copy the file 8188eu.conf to directory /etc/modprobe.d. The 8188eu.conf file will disable power management for the 8188eu driver and disable the inbuilt driver version r8188eu.


The link to driver files for kernel versions 3.6, 3.10 and 3.12 is as follows - use the date code from the list above to download the required driver

Code: Select all

https://dl.dropboxusercontent.com/u/80256631/8188eu-201xyyzz.tar.gz
Replace xyyzz with the last 5 digits of the date code of the filename for the driver for your kernel version.


NOTE: If updating firmware revisions, say from 3.10.23+ to 3.10.24+, and they use the same driver, in this case 8188eu-20131209.tar.gz, you will still need to reinstall the driver on the newer version of Linux, even though the driver has not changed as it will be loaded from a different directory by the new Linux revision and you need to install it in the new directory.

The driver installation instructions expect you to be using Raspbian, either installed from a basic raspbian image or installed using NOOBS. The instructions are based on running from a Command Line Terminal, not a GUI (Graphical User Interface). If you are running using the GUI you will need to open a terminal window and run the commands from the terminal window but I can't guarantee they will work.

If you have a wired internet connection install the driver with the following commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-201xyyzz.tar.gz <--set data code for driver version above
tar -zxvf 8188eu-201xyyzz.tar.gz                                         <--set data code for driver version above
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
If you do not have an internet connection the driver file will need to be downloaded on another computer and copied to the SD card. I use a Windows laptop and will use that as an example of how to copy and install the wifi driver.

Open a web browser on your Windows computer and download the driver. Check the name of the driver file before saving it and correct it if necessary. I have sometimes found Windows tries to save the driver file as 8188eu-201xyyzz.tar.tar when it should be 8188eu-201xyyzz.tar.gz. Substitute the correct file name for "xyyzz".

Take the SD card and load it into an SD card reader on your Windows computer. Copy the driver file, 8188eu-201xyyzz.tar.gz, from your Windows computer to the SD card. Safely remove the SD card from the card reader by clicking the safe removal icon in the task bar and install the SD card in your Raspberry Pi and power on and login.

After logging in you will need to copy the driver file to your home directory. How you do this is dependent on whether you installed rasbian using NOOBS or directly from a Rasbian image. If you are running raspbian installed using NOOBS you need to run the following commands to copy the driver file to your home directory

Code: Select all

sudo mount /dev/mmcblk0p1 /mnt
sudo mv /mnt/8188eu-201xyyzz.tar.gz .
sudo umount /dev/mmcblk0p1
You will need the period, full stop (.), after the filename in the sudo mv command. The mount/umount commands are required as the driver file is in the NOOBS boot directory, not the rasbian boot directory, so the NOOBS boot directory needs mounting and accessing to get to the driver file.

If you installed raspbian directly from a rasbian image use the following command to copy the driver file to your home directory

Code: Select all

sudo mv /boot/8188eu-201xyyzz.tar.gz .
Now the driver file has been moved to your home directory the driver installation can be completed using the following commands

Code: Select all

tar -zxvf 8188eu-201xyyzz.tar.gz                                         <--set data code for driver version above
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
Once the driver is loaded you will need to configure the network set up so the Pi will connect to your wifi network if it is not already done. There are some basic details on how to do that available here.

To help in installing or updating the driver @LaFambe has produced a very simple script available here which will automatically select and install the correct version of the driver for the version of Raspbian being used. I was quite impressed by it and it really does make life much simpler. You will need an internet connection for the script to work.

Thank you very much, LaFambe.


MrEngman
The driver, which worked very well a short time ago, unfortunately runs the wifi module with little network power. My raspberry kernel version is 5.10.17-.v7+ and I am using driver 8192eu. Could my problem be caused by updates in drivers? Is it possible to access old .tar files? very urgent thanks

MacB19
Posts: 1
Joined: Thu Sep 09, 2021 1:10 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 4.xx.xx+

Thu Sep 09, 2021 6:15 pm

i try to install the following device with Mr.Engman´s script:
You find the details at the end of the script output:

Code: Select all

root@raspberrypi:/home/pi# install-wifi

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 5.10.60+
Your current kernel build    = #1449

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 005: ID 07b8:8188 AboCom Systems Inc AboCom Systems Inc [WN2001 Prolink Wireless-N Nano Adapter]

And it uses the 8192su driver.


Your Pi revision number is 000e
You have a Pi B v2.0
Checking for a 8192su wifi driver module for your current kernel.
A driver does not exist for this update.
unfortunately the driver for the 8912su is not available for my kernel build
Can somebody here or MrEngman help, please ?

Best regards in advance,
Marcus

Return to “Troubleshooting”