jason.zouikri
Posts: 1
Joined: Wed Jun 13, 2018 10:22 pm

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

Wed Jun 13, 2018 10:42 pm

Wow -- your driver and hostapd works on 8188eu without a hitch. I am on Raspian 4.14.48+ on a Raspberry Pi Zero. Just from the modinfo 8818eu I see there is a lot more supported in this driver module. iw/iwconfig commands also seem to be working.

Is there a GPL or BSD license for the source code for the built drivers or is it private source:
http://downloads.fars-robotics.net/wifi-drivers/

All I did was:
(1) "uname -r" came back with 4.14.48+
(2) download driver for http://downloads.fars-robotics.net/wifi ... eu-drivers which is the following driver package 8188eu-4.14.48-1118.tar.gz (4.14.48)
(3) tar -xvzf 8188eu-4.14.48-1118.tar.gz
(4) ran the installation script
(5) Followed this directions: https://scribles.net/creating-wireless- ... pi-zero-w/ (updates system, brings down hostapd and dnsmasq, and configures the appropriate files)

Thanks a bunch. Now to try to make the zero connect to a vpn server -- I ultimately want a VPN router but my current one doesn't support it AND I think I will lose a lot of hardware support if I go to Linux firmware (DD-WRT?).

corrobor
Posts: 8
Joined: Thu Jun 07, 2018 6:13 pm

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

Thu Jun 14, 2018 9:48 am

MrEngman wrote:
Fri Jun 08, 2018 6:39 pm
Hi corrobor,

It would appear the issue is to do with Raspbian Stretch and the mt7610u driver.

When I checked the driver and it was OK when rebooting or using shutdown or halt it appears the kernel I was using was Raspbian Jessie although it was updated to kernel 4.14.44-v7+.

I made a new SD card with Raspbian Stretch and now I am getting the same problem you see when the kernel appears to crash when using reboot or shutdown/halt.

I have no idea why it is happening and I've been looking for some different source code to try but have not been able to find any yet.

I am trying to find a driver that works but I don't know how long that will take.
Nothing?

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

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

Thu Jun 14, 2018 9:20 pm

corrobor wrote:
Thu Jun 14, 2018 9:48 am
MrEngman wrote:
Fri Jun 08, 2018 6:39 pm
Hi corrobor,

It would appear the issue is to do with Raspbian Stretch and the mt7610u driver.

When I checked the driver and it was OK when rebooting or using shutdown or halt it appears the kernel I was using was Raspbian Jessie although it was updated to kernel 4.14.44-v7+.

I made a new SD card with Raspbian Stretch and now I am getting the same problem you see when the kernel appears to crash when using reboot or shutdown/halt.

I have no idea why it is happening and I've been looking for some different source code to try but have not been able to find any yet.

I am trying to find a driver that works but I don't know how long that will take.
Nothing?
Sorry nothing yet.
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: 3721
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

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

Thu Jun 14, 2018 9:25 pm

jason.zouikri wrote:
Wed Jun 13, 2018 10:42 pm
Wow -- your driver and hostapd works on 8188eu without a hitch. I am on Raspian 4.14.48+ on a Raspberry Pi Zero. Just from the modinfo 8818eu I see there is a lot more supported in this driver module. iw/iwconfig commands also seem to be working.

Is there a GPL or BSD license for the source code for the built drivers or is it private source:
http://downloads.fars-robotics.net/wifi-drivers/
The source files include this header

Code: Select all

/******************************************************************************
 *
 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
 *
 *
 ******************************************************************************/
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

corrobor
Posts: 8
Joined: Thu Jun 07, 2018 6:13 pm

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

Sat Jun 16, 2018 1:17 pm

MrEngman wrote:
Sorry nothing yet.
Friend I change the dongle and stop! can you suggest me a dongle usb wifi 5ghz that works in raspberry 2 without problem? I will buy it in Amazon

corrobor
Posts: 8
Joined: Thu Jun 07, 2018 6:13 pm

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

Tue Jun 19, 2018 8:04 am

corrobor wrote:
Sat Jun 16, 2018 1:17 pm
MrEngman wrote:
Sorry nothing yet.
Friend I change the dongle and stop! can you suggest me a dongle usb wifi 5ghz that works in raspberry 2 without problem? I will buy it in Amazon
I will buy raspberry pi 3b+ and stop. Tanks

supershitcodemonkey
Posts: 2
Joined: Mon Sep 24, 2018 6:51 pm

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

Mon Sep 24, 2018 7:13 pm

The driver itself works perfectly for me, but I have some issues with installing & updating.

Of course you won't be able to download this driver on the pi itself without it having the driver (unless you connect it via ethernet, which is not an option on the A+ or an embedded system). This isn't that big of a deal, since I can just download it on my pc and put it on the boot partition of the sd card.
Doing this once isn't really a problem. But when the kernel is updated I have to do it all over again, which is somewhat of an issue for me since I can't easily shutdown my project and take out the sd card.
Is there some way that I can detect when the kernel is going to be updated and download the new driver is advance?

Also the site seems to be extremely slow since yesterday (<1 KB/s), downloading the 400KB driver takes literally forever

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

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

Thu Sep 27, 2018 8:34 pm

supershitcodemonkey wrote:
Mon Sep 24, 2018 7:13 pm
The driver itself works perfectly for me, but I have some issues with installing & updating.

Of course you won't be able to download this driver on the pi itself without it having the driver (unless you connect it via ethernet, which is not an option on the A+ or an embedded system). This isn't that big of a deal, since I can just download it on my pc and put it on the boot partition of the sd card.
Doing this once isn't really a problem. But when the kernel is updated I have to do it all over again, which is somewhat of an issue for me since I can't easily shutdown my project and take out the sd card.
Is there some way that I can detect when the kernel is going to be updated and download the new driver is advance?

Also the site seems to be extremely slow since yesterday (<1 KB/s), downloading the 400KB driver takes literally forever
Hi supershitcodemonkey,

Sorry for not responding sooner.

If you want to update your kernel using rpi-update, although using rpi-update is not usually recommended, run command sudo install-wifi -h for detailed help on using the install-wifi script.

If you are updating your code using apt update/apt upgrade it's a bit of a pain checking if a new kernel is going to be installed and determining the driver update you need to install.

So first run sudo apt update and then sudo apt upgrade. After running sudo apt upgrade but before you select Y to continue and download the updated files check the list of files to be installed and see if there is a file raspberrypi-kernel. If that file is not in the list of files to install then you can continue and install the updates and you should not need to update your wifi driver.

If file raspberrypi-kernel is in the list of files to install select n to abort installing the files. The file raspberrypi-kernel will install a new kernel version so you first need to find the driver version to download and install before upgrading the files.

To find the kernel version that will be installed so you will be able to select the right driver to install run command apt search raspberrypi-kernel. This will return a result something like

Code: Select all

[email protected]:~ $ apt search raspberrypi-kernel
Sorting... Done
Full Text Search... Done
raspberrypi-kernel/stable 1.20180919-1 armhf [upgradable from: 1.20180328-1]
  Raspberry Pi bootloader

raspberrypi-kernel-headers/stable 1.20180919-1 armhf
  Header files for the Raspberry Pi Linux kernel
This shows the version of raspberrypi-kernel file that will be installed, in this case stable 1.20180919.

To find the actual kernel version to select the wifi driver file you need you will need to view the web site https://github.com/raspberrypi/firmware/. Then select the dialog box "Branch: master" and select tags and then select the tag that matches the one shown for the raspberrypi-kernel file in the output from the apt search command above, in this case 1.20180919.

Then select link extra then either uname_string7 if installing the wifi driver on a Pi 2B, 3B or 3B+, or uname_string if installing the wifi driver on any other Pi.

Using the values for the kernel version and kernel build from uname_string(7) you can then determine the wifi driver file you need to download to install when you update to the new kernel version. The kernel version is 4.14.70+ or 4.14.70-v7+ depending on the Pi you are using and build is #1144.

So in this case the driver file will be either 8188eu-4.14.70-1144.tar.gz or 8188eu-4.14.70-v7-1144.tar.gz depending on the Pi you are installing it on if using the 8188eu wifi module or replace 8188eu with the driver you are using if using a different wifi module, 8192eu, 8821au, 8822bu, mt7610 or mt7612.

Then download the driver file you need using command

Code: Select all

wget http://downloads.fars-robotics.net/wifi-drivers/8188eu-drivers/8188eu-4.14.70-v7-1144.tar.gz
this is assumimg you are using the 8188eu driver on a Pi 2B, 3B or 3B+

For other versions of the Pi it would be

Code: Select all

wget http://downloads.fars-robotics.net/wifi-drivers/8188eu-drivers/8188eu-4.14.70-1144.tar.gz
So now you can update your kernel and install the new wifi driver. Run apt update and apt upgrade again and allow the upgrade to install the files. Then before rebooting unzip the wifi driver and install it using commands

Code: Select all

tar xzf 8188eu-4.14.70-v7-1144.tar.gz
./install.sh
for Pi 2B, 3B or 3B+ or

Code: Select all

tar xzf 8188eu-4.14.70-1144.tar.gz
./install.sh
for other versions of the Pi. Then reboot and you should have your Pi running with the new kernel and wifi driver.

Hope this make sense, any questions just ask. And again sorry for taking so long to respond to your question.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

supershitcodemonkey
Posts: 2
Joined: Mon Sep 24, 2018 6:51 pm

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

Thu Sep 27, 2018 9:51 pm

Thanks for you comprehensive reply! I'll try to make it work tomorrow.
So first run sudo apt update and then sudo apt upgrade. After running sudo apt upgrade but before you select Y to continue and download the updated files check the list of files to be installed and see if there is a file raspberrypi-kernel. If that file is not in the list of files to install then you can continue and install the updates and you should not need to update your wifi driver.

If file raspberrypi-kernel is in the list of files to install select n to abort installing the files. The file raspberrypi-kernel will install a new kernel version so you first need to find the driver version to download and install before upgrading the files.
Is there any way I can automate this part so I can just have a script that updates everything automatically? My knowledge about linux isn't that great, is there a command for requesting packages that are ready for update or can I easily parse the output of apt-get upgrade?
And again sorry for taking so long to respond to your question.
No problem, everybody is busy sometimes :D

fgimenez
Posts: 31
Joined: Sun May 05, 2013 4:54 am

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

Thu Oct 25, 2018 2:12 am

Hi there,
I've just noticed a new version of the 8188eu driver that seems to be activelly developed over here:
https://github.com/lwfinger/rtl8188eu/tree/v5.2.2.4
Last commit 4 hours ago.

Not sure if it works or if it's stable (I'm compiling it right now) but it might be worth taking a look at it.

Cheers.

thmtht1612
Posts: 1
Joined: Thu Oct 25, 2018 2:31 am

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

Thu Oct 25, 2018 2:39 am

Hi guys, I am using the usb otg cable that comes with the pi0 to connect the tplink wifi adapter after Ive made the wpa_supplicant.conf file, since the pi0 only has the one microUSB port (apart from the power one). ;) ;) ;)
You will do it!
_________
An,
Hello everyone, my name is An, nice to meet you.

mohit1
Posts: 1
Joined: Sat Nov 10, 2018 10:23 am

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

Sat Nov 10, 2018 10:27 am

Can some one help me make work usb wifi on raspberry kernel
with chipset rtl8188fu

i managed to compile it on ubuntu desktop
https://github.com/lutmm/rtl8188fu
and it works

But cannot find anyway to make it compile on pi

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

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

Wed Nov 14, 2018 1:59 pm

mohit1 wrote:
Sat Nov 10, 2018 10:27 am
Can some one help me make work usb wifi on raspberry kernel
with chipset rtl8188fu

i managed to compile it on ubuntu desktop
https://github.com/lutmm/rtl8188fu
and it works

But cannot find anyway to make it compile on pi
Hi mohit1,

I've had a look at the rtl8188fu driver and have got it to compile on the PI for Raspbian OS.

The driver needs patching to use with the Pi. I have patched the driver and have now been able to compile it for Raspbian kernel versions 4.4.xx, 4.9.xx, 4.14.xx, 4.18.xx and 4.19.xx.

I cannot test it as I do not have a wifi dongle using the rtl8188fu driver.

If you tell me the version of kernel you use, using command uname -a I can compile it for you and put it on my web site for you to download and install.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

Return to “Troubleshooting”