Silkstone
Posts: 24
Joined: Wed Dec 28, 2016 4:35 am

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

Thu Apr 27, 2017 1:39 pm

Hi Mr. EngMan,

I'm trying to install the drivers for the TL-WN823N dongle, but I am getting the following error from the script:


Your current kernel revision = 4.4.50-v7+
Your current kernel build = #970

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

Your wifi module is Bus 001 Device 006: ID 2357:0109

And it uses the 8192eu driver.

Checking for a new 8192eu wifi driver module for your current kernel.
A driver does not yet exist for this update.

Is there a new driver that can be compiled for this dongle? or am I doing something wrong?

Thanks for any help.

Edit - I got it installed using the new script and method outlined in this post:
MrEngman wrote:
PierreLeRoi wrote:After long time no maintenance I checked the current driver list before I would initiate a rpi update.

According https://github.com/Hexxeh/rpi-firmware a rpi-update would bump me to kernel 4.9.20.

Page one show "The list of drivers available is limited but should cover 4.4.35 - 4.4.50 and 4.9.xx"...Drivers for kernel versions 3.18, 4.1, 4.4 and 4.8/9 are available using this new filename format."

However, I cannot find drivers in the lists at http://www.fars-robotics.net/ (rtl8188eu drivers for 4.1.xx+. For the Pi 2B) which indicate 4.9 drivers are available indeed. So I played with the auto installation script (# install-wifi - v9.4 - by MrEngman.) to verify but no success yet.

Am I missing something?

Hope someone can help.
Dropbox have made a major change to their web site and its really screwed things up. Really annoying to say the least and the old script does not work anymore.

I have moved some of the drivers to a new site. You will need to download and install a new script to use the new site.

Download and install the new version of the script with commands

Code: Select all

sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command

Code: Select all

sudo install-wifi -h
will show details on using it.

This hopefully will let you get the driver you need. If it is still not available let me know and I will upload the version you need to the new site.

If you want to use rpi-update you can check a driver is available for the kernel rpi-update will install using command

Code: Select all

sudo install-wifi -c rpi-update
Drivers for 4.9.20(-v7)+ #985 should now be available.

The drivers are available using the new script but the instructions and list of drivers shown on that web site are no longer valid.



MrEngman
Thanks for maintaining support for this!

slurmking
Posts: 1
Joined: Sat May 06, 2017 11:09 pm

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

Sat May 06, 2017 11:18 pm

Forgive me but I feel like I am missing something

I try using the wget command and I receive an error

Code: Select all

Resolving www.fars-robotics..net (www.fars-robotics.net)... failed: Name or service not known.
wget: unable to resolve host address 'www.fars-robotics.net'
I also cannot go to the file directly I'm wondering if i used the wrong naming convention or the file is just not there

my kernel is 3.18.11+ #781

Code: Select all

wget http://www.fars-robotics.net/8188eu-20150406.tar.gz
any help would be appreciated

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun May 07, 2017 2:12 am

slurmking wrote:Forgive me but I feel like I am missing something

I try using the wget command and I receive an error

Code: Select all

Resolving www.fars-robotics..net (www.fars-robotics.net)... failed: Name or service not known.
wget: unable to resolve host address 'www.fars-robotics.net'
I also cannot go to the file directly I'm wondering if i used the wrong naming convention or the file is just not there

my kernel is 3.18.11+ #781

Code: Select all

wget http://www.fars-robotics.net/8188eu-20150406.tar.gz
any help would be appreciated
Copied the file to the new web site so it should now be available using

Code: Select all

wget http://www.fars-robotics.net/8188eu-20150406.tar.gz

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

ronm
Posts: 11
Joined: Mon Feb 23, 2015 10:50 pm

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

Sun May 07, 2017 3:47 pm

Will the older version be available? I'm looking for 8188eu-20150212.tar.gz, which should go with 3.18.7+ #755.
Thanks for making these available, it looks like a lot of work to maintain.

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun May 07, 2017 5:27 pm

ronm wrote:Will the older version be available? I'm looking for 8188eu-20150212.tar.gz, which should go with 3.18.7+ #755.
Thanks for making these available, it looks like a lot of work to maintain.
Should now be available using

Code: Select all

wget http://www.fars-robotics.net/8188eu-20150212.tar.gz

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

nurda228
Posts: 3
Joined: Sun May 07, 2017 11:04 am

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

Sun May 07, 2017 5:47 pm

do you have grivers for 4.9.26+ #996 version

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sun May 07, 2017 11:08 pm

nurda228 wrote:do you have grivers for 4.9.26+ #996 version
Yes.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

ronm
Posts: 11
Joined: Mon Feb 23, 2015 10:50 pm

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

Mon May 08, 2017 1:49 am

I downloaded the driver you made available, thank you. I followed instructions and got this error:

Error: could not insert module /lib/modules/3.18.7+/kernel/drivers/net/wireless/8188eu.ko: Unknown symbol in module

Am I missing something?

nurda228
Posts: 3
Joined: Sun May 07, 2017 11:04 am

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

Mon May 08, 2017 9:11 am

can you send me link or terminal code to download it?
please

nurda228
Posts: 3
Joined: Sun May 07, 2017 11:04 am

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

Mon May 08, 2017 9:13 am

exactly for 8188eu drivers
Best regards

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Mon May 08, 2017 10:57 am

nurda228 wrote:can you send me link or terminal code to download it?
please
The easiest way is probably using my script. You can download and install the script using commands

Code: Select all

sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command

Code: Select all

sudo install-wifi -h
will show details on using it. Using command

Code: Select all

sudo install-wifi
should download and install the driver.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Mon May 08, 2017 11:30 am

ronm wrote:I downloaded the driver you made available, thank you. I followed instructions and got this error:

Error: could not insert module /lib/modules/3.18.7+/kernel/drivers/net/wireless/8188eu.ko: Unknown symbol in module

Am I missing something?
Just tried and I have no problems.

I created an SD card with the 2015-02-16-raspbian-wheezy image, 3.18.7+ #755, and using it with a Pi 1 B downloaded the wifi driver and installed it using commands

Code: Select all

wget http://www.fars-robotics.net/8188eu-20150212.tar.gz
tar xzf 8188eu-20150212.tar.gz
./install.sh
sudo modprobe.d 8188eu
and the 8188eu module loads without problems.

The driver relies on dependencies with other modules so however you tried installing it the errors may be due to the additional modules required by the driver not being loaded. Using sudo modprobe 8188eu will load the driver and any other modules it requires.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

ronm
Posts: 11
Joined: Mon Feb 23, 2015 10:50 pm

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

Tue May 09, 2017 3:42 am

I found several modules missing, so I did an rip-update and used the latest drivers. Thank again for keeping these driver available.

ronm
Posts: 11
Joined: Mon Feb 23, 2015 10:50 pm

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

Tue May 09, 2017 5:40 am

You're knowledgeable about these drivers and the rpi networking.
Do you know how to force a wifi dongle to reconnect? The dongle I'm using only connects to the wifi router when I unplug the dongle and plug it back in. If I reboot the rpi, or if the wifi router goes down, the dongle will not reconnect to the router.

Code: Select all

iwlist wlan0 scan
shows the network, but

Code: Select all

dhclient -v wlan0
returns

Code: Select all

Listening on LPF/wlan0/00:0b:81:97:c6:c7
Sending on   LPF/wlan0/00:0b:81:97:c6:c7
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Can I force the dongle into thinking it's been unplugged and replugged?

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Tue May 09, 2017 9:34 am

ronm wrote:I found several modules missing, so I did an rip-update and used the latest drivers. Thank again for keeping these driver available.
I would be very, very, surprised if the modules the driver needs were not available in your original image.

If you install the driver and then try loading it without rebooting first and use sudo insmod 8188eu to load the driver and any extra modules the driver needs are not already running then you will get a message about missing modules. To load the driver you should use sudo modprobe 8188eu and then any additional modules the driver depends on will also be loaded.

The alternative is to reboot after installing the driver and then all necessary modules will get loaded.

Using rpi-update is not a good idea as this loads kernel versions under test and can occasionally cause all sorts of problems.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Tue May 09, 2017 3:02 pm

ronm wrote:You're knowledgeable about these drivers and the rpi networking.
Do you know how to force a wifi dongle to reconnect? The dongle I'm using only connects to the wifi router when I unplug the dongle and plug it back in. If I reboot the rpi, or if the wifi router goes down, the dongle will not reconnect to the router.

Code: Select all

iwlist wlan0 scan
shows the network, but

Code: Select all

dhclient -v wlan0
returns

Code: Select all

Listening on LPF/wlan0/00:0b:81:97:c6:c7
Sending on   LPF/wlan0/00:0b:81:97:c6:c7
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Can I force the dongle into thinking it's been unplugged and replugged?
Trying this is effectively hiding some issue with either power or wifi set up and as such is not a good idea. You need to find out what the problem really is and fix it.

This sort of problem can be caused by a number of issues. If the wifi doesn't connect after rebooting or powering on it is very possible it could be a power supply issue. When booting the Pi and wifi use a lot more power than after it has booted and it settles down to normal use and this can stop the wifi dongle connecting to the network if the power supply or the cable connecting the power supply to the Pi are not good enough. Loads of stuff on the forum about this.

The other major issue is the configuration of the wifi connection to the network. Using Raspbian Wheezy, which kernel 3.18.7 is, I always set up the wifi configuration by editing file /etc/network/interfaces, not something you would now do with Raspbian jessie images. I used this set up as I found trying to set up the configuration using file /etc/wpa_supplicant/wpa_supplicant.conf was a real pain with raspbian wheezy kernels.

When I set up kernel 3.18.7 and installed the wifi I configured it by editing file /etc/network/interfaces like

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "Network-name"
wpa-psk "Network-password"
With this set up the wifi connected without problems. When I used to use the 3.18 and earlier kernel versions, now a fairly long time ago, I always configured the wifi by editing the file /etc/network/interfaces as I always ended up with some sort of issue when trying to use file /etc/wpa_supplicant/wpa_supplicant.conf for the wifi configuration.

Just to see if using rpi-update may be causing a problem I ran rpi-update like you did and then updated the wifi driver and after rebooting the wifi continued to connect without any problems just using the file /etc/network/interfaces, as it was for the 3.18.7 kernel, for the wifi configuration.

I then decided to try to configure the wifi using file /etc/wpa_supplicant/wpa_supplicant.conf just to see if the wifi would continue working. First I edited file /etc/network/interfaces and returned it to the default configuration as it was initially set in kernel 3.18.7 like

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
and then started editing file /etc/wpa_supplicant/wpa_supplicant.conf to try and get the wifi connected. Initially I could not get the wifi to connect and so tried various changes to the set up in file /etc/wpa_supplicant/wpa_supplicant.conf. After playing around with it for quite a while I finally got the wifi to connect with the file set up like

Code: Select all

country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
	ssid="network-name"
	psk="network-password"
	key_mgmt=WPA-PSK
}
Now powering off and removing the power and then re-connecting the power and booting the Pi and the wifi connects OK as it also does if I just do a reboot without disconnecting the power so everything is working fine.




MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

ronm
Posts: 11
Joined: Mon Feb 23, 2015 10:50 pm

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

Tue May 09, 2017 6:15 pm

Thanks for your reply. I've been doing what you've suggested, and had checked the power supply, which seems fine, though brief voltage/current fluctuations are beyond my multimeters capability. I have 2 questions.
1) When I reboot I see this error/warning: "8188eu: loading out-of-tree module taints kernel." Is this a problem?

2) I can make a connection to the WIFI with these 2 commands:

Code: Select all

iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
  dhclient -v wlan0
Is it ok to do use "iwconfig wlan0 ap ...." for this purpose? I agree it's better to get to the root of the problem, but I'm ready for a workaround.
Last edited by ronm on Tue May 09, 2017 7:45 pm, edited 1 time in total.

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Tue May 09, 2017 6:41 pm

ronm wrote:Thanks for your reply. I've been doing what you've suggested, and had checked the power supply, which seems fine, though brief voltage/current fluctuations are beyond my multimeters capability. I have 2 questions.
1) When I reboot I see this error/warning: "8188eu: loading out-of-tree module taints kernel." Is this a problem?
I see the same message. It's just a warning.
2) I can make a connection to the WIFI with these 2 commands:

Code: Select all

iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
  dhclient -v wlan0
It ok to do use "iwconfig wlan0 ap ...."?
I have never used any commands like these so I've no idea. I always configure my wifi by manually editing files /etc/network/interfaces or /etc/wpa_supplicant/wpa_supplicant.conf as necessary.

Can you post the contents of your files /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf. Might help figure out what your problem is.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 291
Joined: Sat Aug 27, 2016 4:33 pm

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

Fri May 19, 2017 8:10 pm

Hi,

My info is as follows on a rpi0:
Linux raspberrypi 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie

which driver file should I get? And how do I install it from the terminal of a pi0 that has no internet connection? I know how to download and move stuff over via ssh to the pi0. What I dont know is which file to get and how to run the install script from the pi0 terminal?

thanks

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Fri May 19, 2017 8:16 pm

marciokoko wrote:Hi,

My info is as follows on a rpi0:
Linux raspberrypi 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie

which driver file should I get? And how do I install it from the terminal of a pi0 that has no internet connection? I know how to download and move stuff over via ssh to the pi0. What I dont know is which file to get and how to run the install script from the pi0 terminal?

thanks
You need to provide information about the wifi adapter you want to use. I cannot tell you what driver to download without that info.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 291
Joined: Sat Aug 27, 2016 4:33 pm

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

Fri May 19, 2017 10:49 pm

Sorry, its a TP-Link WN725N V2 (because it has the 1588 after the CE).

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Fri May 19, 2017 11:15 pm

marciokoko wrote:Sorry, its a TP-Link WN725N V2 (because it has the 1588 after the CE).
The Raspbian image has a driver for the WN725N - r8188eu - included in the image. I also compile a driver that some people use as they find it has better performance.

To use the included driver you will just need to set up the configuration.

You can configure your wifi by editing file /etc/wpa_supplicant/wpa_supplicant.conf and set it like

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
        ssid="Network-name"
        psk="Network-password"
        key_mgmt=WPA-PSK
}
using the network name and password your network uses. This set up is for network security WPA/WPA2.

I would suggest you set up your wifi using the included driver then if you want to try the driver I compile look here. You will then be able to download the script and my wifi driver as your wifi should be working using the built in driver so you should then have an internet connection.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 291
Joined: Sat Aug 27, 2016 4:33 pm

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

Fri May 19, 2017 11:58 pm

Ive done that but I guess it doesnt work because Im using WEP. Can I just say key_mgmt=WEP?

MrEngman
Posts: 3858
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Sat May 20, 2017 12:13 am

marciokoko wrote:Ive done that but I guess it doesnt work because Im using WEP. Can I just say key_mgmt=WEP?
Using WEP is not a good idea as it is very insecure these days. You really should change to WPA/WPA2 if possible.

If you are unable to change your network to use WPA then you can set up the WEP configuration by changing the network={..} section in the wpa_supplicant.conf file to something like

Code: Select all

network={
        ssid="Network-Name"
        wep_key0=Wep-Hex-key
        key_mgmt=NONE
        auth_alg=OPEN
}
NOTE: no ".." around the WEP key.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

User avatar
marciokoko
Posts: 291
Joined: Sat Aug 27, 2016 4:33 pm

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

Sat May 20, 2017 1:53 am

Well something must be wrong because it just doesnt connect. I added your corrections to the wpa_supplicant.conf and it still wont connect. Do I need to remove that ether thing I put into the cmdline or config file?

Return to “Troubleshooting”