PieHead
Posts: 20
Joined: Sun Dec 14, 2014 5:00 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.34+

Mon Dec 15, 2014 9:52 pm

Code: Select all

# go to kernel source directory
cd /home/pi/src/linux  - you will need to use the directory you store your source in.
My /home/pi dir exists, but I do not appear to have /src/linux inside here (searched for hidden types too)
I have run find / -type d "src" and cannot locate this folder.

I setup my Pi from http://downloads.raspberrypi.org/raspbian_latest image, image to microSD, and thats pretty much it.
Am I supposed to do some other step to get this /src/linux folder?

Regards

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.34+

Tue Dec 16, 2014 10:06 pm

PieHead wrote:

Code: Select all

# go to kernel source directory
cd /home/pi/src/linux  - you will need to use the directory you store your source in.
My /home/pi dir exists, but I do not appear to have /src/linux inside here (searched for hidden types too)
I have run find / -type d "src" and cannot locate this folder.

I setup my Pi from http://downloads.raspberrypi.org/raspbian_latest image, image to microSD, and thats pretty much it.
Am I supposed to do some other step to get this /src/linux folder?

Regards
Hi PiHead,

The src directory is a directory I configured to put the source data for the kernel and driver code I use.

As an example I will show you how I compile the driver module, including downloading and configuring all the necessary code.

First I am starting with a newly set up SD card with raspbian 3.12.28+ from the Raspberry Pi Download page and it is connected to the internet using a wired network cable connection.

The command uname -a shows the following:-

Code: Select all

Linux raspberrypi 3.12.28+ #709 PREEMPT Mon Sep 8 15:28:00 BST 2014 armv6l GNU/Linux
After logging in which puts me in my home directory /home/pi I generate the src directory with the command

Code: Select all

mkdir src
Now I enter the source directory and download the source code for the kernel, the kernel firmware and the rtl8188eu driver. The command

Code: Select all

cd src
will put me in directory /home/pi/src.

Now download the linux kernel source, the kernel firmware and the driver source from the various git repositories with the commands

Code: Select all

git clone --depth 100 https://github.com/raspberrypi/linux.git
git clone --depth 25 https://github.com/raspberrypi/firmware.git
git clone https://github.com/lwfinger/rtl8188eu
Note: the option --depth xxx in the git clone commands above limits the amount of code downloaded otherwise it will literally take all day to download and most of the code will not be needed.

Now you will have three directories in the /home/pi/src directory. These are linux, firmware and rtl8188eu. Now we need to configure the linux and firmware directories to point to the right kernel version, 3.12.28+ #709, ready for compiling the driver. First enter the firmware directory and set it up with the commands

Code: Select all

cd firmware
git checkout 53d1ae311226b5cd7ea1277832139b74b2bb0f90
Be patient as the checkout may take some time before it appears to do anything. Now enter the linux source directory and set that up using commands

Code: Select all

cd ../linux
git checkout 94a382fed1a5ec303eef9e1f3439df8f759ba60c
The long numbers in the git checkout commands are the commit IDs and can be found looking at the firmware git repository for a particular kernel revision. For a particular kernel version look at the description of the commit to find the firmware commit ID and then browse the code and look at the value at extra/git_hash and that is the kernel commit ID for the particular kernel version.

Now we can configure the kernel ready to compile the driver. First initialise the kernel code and set up the .config file

Code: Select all

make mrproper
make bcmrpi_defconfig
The make bcmrpi_defconfig command is a general command using data included in the source code that can be used to generate the .config file even if you are compiling a kernel version that is different to the version currently running on the Pi. An alternative to this command if you are compiling for the kernel you are running on the Pi is zcat /proc/config.gz > .config and this will copy the .config used by the running kernel.

Now finish configuring the kernel ready to compile the driver with the following commands.

Code: Select all

make modules_prepare
cp ../firmware/extra/Module.symvers .
Note the period/full stop at the end of the cp command. The kernel should now be ready for compiling the wifi driver.

One final thing before compiling the driver. You will need to set up a pair of symbolic links that the driver compile requires to reference the kernel source directory when the driver is compiled. Set up the symlinks with the commands

Code: Select all

sudo ln -s /home/pi/src/linux /lib/modules/$(uname -r)/build
sudo ln -s /home/pi/src/linux/arch/arm /home/pi/src/linux/arch/armv6l
Now enter the wifi driver source directory and compile it with the following commands

Code: Select all

cd ../rtl8188eu
make clean
make
sudo make install
You should now have a driver compiled and installed. Now to get the wifi working you will have to configure the wifi either by editing the file /etc/network/interfaces and then rebooting or running the GUI and using the Wifi Config button.

As an alternative to using the lwfinger driver which requires a seperate firmware file you can use the driver I use. You can load both sets of source code as they use different directory names, rtl8188eu for lwfinger's version and rtl8188eus for the version I prefer. Load, compile and install the driver I use using the following commands. First enter the source directory and download the driver using one of the following sets of two commands

Code: Select all

cd /home/pi/src
wget http://lazyzhu.com/file/RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104.zip
or

Code: Select all

cd /home/pi/src
wget https://dl.dropboxusercontent.com/u/80256631/RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104.zip
Now unzip it and install the driver source.

Code: Select all

unzip -q RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104.zip
cp RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104/driver/rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104.tar.gz .
tar xzf rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104.tar.gz
rm rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104.tar.gz
rm -r RTL8188EUS_RTL8189ES_linux_v4.1.8_9499.20131104
mv rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 rtl8188eus
Note the period/full stop at the end of the cp command. The driver source is now in directory /home/pi/src/rtl8188eus. The driver now needs a patch applying to make it work with the Pi. Download the patch, go to the driver source directory and apply the patch.

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/rtl8188eus.patch
cd rtl8188eus
patch -p1 < ../rtl8188eus.patch
and now compile and install the driver

Code: Select all

make clean
make
sudo make install
and don't forget to update /etc/network/interfaces if necessary. And you can, if you want, install the source for both drivers and try compiling both drivers and see how each behave although only one or the other will be installed at any one time.

Once installed the driver file is at /lib/modules/3.12.28+/kernel/drivers/net/wireless/8188eu.ko. The lwfinger version also includes a separate firmware file which is installed at /lib/firmware/rtlwifi/rtl8188eufw.bin

Hopefully this is some help. There is also a lot on the internet about compiling modules for the Raspberry Pi which may be useful searching for and looking at.



MrEngman
Last edited by MrEngman on Wed Mar 04, 2015 3:47 pm, edited 1 time in total.
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: 3576
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Fri Dec 19, 2014 8:16 pm

Hi everyone,

The driver list has been updated to include the latest 3.12.35+ #730 raspbian version - http://www.raspberrypi.org/forums/viewt ... 82#p462982


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

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

nrg-fv
Posts: 4
Joined: Tue Nov 26, 2013 9:48 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Sat Dec 20, 2014 1:11 pm

Can this driver be somehow included in raspbian kernel/repository?

marudhanayagam
Posts: 2
Joined: Sun Jan 20, 2013 11:38 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Fri Dec 26, 2014 5:37 pm

today i went to shope for buying the subject wifi adpter and found ver2.1 only. now is version 2.1 compatible for adhoc mode?? i would like to stream videos from DLNA certified mobiles to tv thru Rpi, please tell me which wifi adapter is suitable ?? (of course we need to install certain packages in Rpi to meet the above requirements)

kubunto
Posts: 2
Joined: Sat Dec 20, 2014 8:29 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Thu Jan 01, 2015 11:14 pm

I have taken down the latest driver and while I did not have any of the invalid module messages as others have mentioned, I was still unable to get the wireless adapter to work.

uname -r gives 3.12.35+ #700 (it matched the last one given in the original post)

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Fri Jan 02, 2015 1:06 am

kubunto wrote:I have taken down the latest driver and while I did not have any of the invalid module messages as others have mentioned, I was still unable to get the wireless adapter to work.

uname -r gives 3.12.35+ #700 (it matched the last one given in the original post)
The output you give for uname -r does not match what is in the OP. Do you mean 3.12.35+ #730?

With your wifi adaptor connected to your Pi what is the output from commands

Code: Select all

uname -a
lsusb
ifconfig
.
How did you try and configure your wifi? Manually editing file /etc/network/interfaces, or file /etc/wpa_supplicant/wpa_supplicant.conf or using the Wifi Config GUI?


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

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

Ecofritze
Posts: 1
Joined: Sun Jan 04, 2015 1:07 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Sun Jan 04, 2015 1:17 pm

Thank you so much for this post!
I've read before that it could very difficult to get a wifi-dongle running on the pi when it doesn't work out of the box. But with your manual it was as easy as pi(e)!

ice4drink
Posts: 1
Joined: Sun Jan 11, 2015 3:10 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Sun Jan 11, 2015 3:26 pm

RaspBerry Pi B+ with Sitecom N150 Wi-Fi-Dongle

susessfully wlan-connection with Sitecom N150 USB(2.0) Stick (update 8188eu driver)

--- excecute in a terminal window

1. get the kernel typ
$ uname -a --> Linux raspberrypi 3.12.35+ #730 PREEMT

2. get dongle id
$ lsusb --> Bus 001 Device 005: 0df6:0076 Sitecom Europe B.V.

3. find driver package on
http://www.raspberrypi.org/forums/viewt ... 82#p462982

4. download driver from https://dl.dropboxusercontent.com/u/802 ... 107.tar.gz

Instructions:
The driver installation instructions expect you to be using Raspbian, either installed from a basic rasbian 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.

uname -a --> RaspBerryPi 3.12.35+ #730

5. 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-20141107.tar.gz
tar -zxvf 8188eu-20141107.tar.gz                                      
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
restart the raspberry pi , find the wlan-Settings , select/scan SSID , select it, select typ of WPA, put in username and password , check the connection
;)

6. without internet connection use infos at: http://www.fcsys.us/webapp/wordpress/?p=1452
Last edited by ice4drink on Sun Jan 11, 2015 5:51 pm, edited 3 times in total.

kubunto
Posts: 2
Joined: Sat Dec 20, 2014 8:29 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Sun Jan 11, 2015 3:58 pm

I am sorry for not editing completely, the uname result was 3.12.35 #730

I ran the same commands as they were given (copy and pasted into an ssh session to the pi) and have not gotten it to work yet.

Code: Select all

$ uname -a
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux

$ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. 

$ ifconfig
eth0      Link encap:Ethernet  HWaddr ...  
          inet addr:...  Bcast:...  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2665 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:144818 (141.4 KiB)  TX bytes:80163 (78.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
I used the etc network interface file to directly define the connection. It just doesnt seem to be lighting up at all.

peter_boonen
Posts: 2
Joined: Mon Jan 12, 2015 6:46 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Tue Jan 13, 2015 6:27 pm

Thanks for the help. The driver is installed, it works. Lovely

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Tue Jan 13, 2015 7:41 pm

kubunto wrote:I am sorry for not editing completely, the uname result was 3.12.35 #730

I ran the same commands as they were given (copy and pasted into an ssh session to the pi) and have not gotten it to work yet.

Code: Select all

$ uname -a
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux

$ lsusb
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. 

$ ifconfig
eth0      Link encap:Ethernet  HWaddr ...  
          inet addr:...  Bcast:...  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2665 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:144818 (141.4 KiB)  TX bytes:80163 (78.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
I used the etc network interface file to directly define the connection. It just doesnt seem to be lighting up at all.
Hi kubunto,

As the wifi module, wlan0, is not shown by command ifconfig then it appears that the driver is not installed, or not installed correctly, although I suppose it is possible the wifi module could possibly be faulty.

Using command lsmod do you see the wifi module, 8188eu, listed?

Do you see anything using command dmesg | grep -i "8188eu" ?

If the driver is loaded you should see something like

Code: Select all

[    6.774394] usbcore: registered new interface driver rtl8188eu
If you have the wrong driver version installed you would possibly see something like

Code: Select all

[    5.849112] 8188eu: disagrees about version of symbol wireless_send_event
[    5.980060] 8188eu: Unknown symbol wireless_send_event (err -22)
or other similar messages or possibly no message at all referencing 8188eu.

Try reinstalling the driver using commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20141107.tar.gz
tar -zxvf 8188eu-20141107.tar.gz                                      
sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo depmod -a $(uname -r)
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko

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

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

conde
Posts: 5
Joined: Sun Jan 11, 2015 4:43 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.35+

Wed Jan 14, 2015 6:54 pm

I´m using last version of drivers (3.12.35+) and I have a problem connecting to my WIFI network. The log of the interface report this error:

Code: Select all

Trying to associate with e0:91:53:5f:18:9c (SSID='WLAN_11' freq=2452 Mhz)
Association request to the driver failed
CTRL-EVENT-DISCONNECTED bssid=e0:91:53:5f.18:9c reason=0
CTRL-EVENT-SCAN-RESULT
WPS-AP-AVAILABLE
I´m trying to connect to a WIFI network encrypted with WPA2+AES.
Could you help me with this?
What do i have to do?

Thank you very much.

alpo259
Posts: 1
Joined: Thu Jan 15, 2015 2:58 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Thu Jan 15, 2015 3:06 am

I performed all RasPi updates today (e.g. rpi-update, apt-get update, etc.) and my uname result was 3.12.36 #737.

I don't see any recommendations in this thread for a file for #737, so I tried #730 version (8188eu-20141107.tar.gz), which did not work. I received an "invalid parameters" error when attempting the insmod command.

Any suggestions?

Thanks.

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Thu Jan 15, 2015 5:35 pm

alpo259 wrote:I performed all RasPi updates today (e.g. rpi-update, apt-get update, etc.) and my uname result was 3.12.36 #737.

I don't see any recommendations in this thread for a file for #737, so I tried #730 version (8188eu-20141107.tar.gz), which did not work. I received an "invalid parameters" error when attempting the insmod command.

Any suggestions?

Thanks.
Take a look here.

The driver you need is 8188eu-20150114.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.

amitava82
Posts: 7
Joined: Thu Aug 28, 2014 7:31 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Mon Jan 19, 2015 1:53 am

Hi, I'm trying to get the wifi working on xbian and my firmware version is 3.15.8+
Is there any compiled driver or any instructions to compile and install? Thanks!

Leusent
Posts: 1
Joined: Mon Jan 19, 2015 6:20 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Mon Jan 19, 2015 6:25 am

amitava82 wrote:Hi, I'm trying to get the wifi working on xbian and my firmware version is 3.15.8+
Is there any compiled driver or any instructions to compile and install? Thanks!
I suspect xbian forget to ship with the correct firmware binary. This seemed to work for me...

Boot into console, become root, go to /lib/firmware/rtlwifi and type

Code: Select all

wget https://www.sensorgnome.org/@api/deki/files/845/=rtl8188eufw.bin -O rtl8188eufw.bin

reboot.

--Leusent

amitava82
Posts: 7
Joined: Thu Aug 28, 2014 7:31 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Mon Jan 19, 2015 8:24 am

Thanks, yeah that works!

Gwynne
Posts: 3
Joined: Fri Jan 16, 2015 4:29 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Wed Jan 21, 2015 12:38 pm

Sorry this is all too complicated!
I'm very new to all this!

I've just loaded the latest software. My new B+ has booted. All is good.

I now want WiFi. I have just been out and bought a TP-LINK nano USB adapter model TL-WN725N. The chap that sold it to me in MAPLINS said it was compatible with the Raspberry Pi.

I plug it in and nothing.

So I go to config. Nothing seen.

List lsusb

and it is shown as there id 0bda:8179

Now what?

Where is the driver? How do I find the driver? Where should I load it on the micro SD card? How do I load it on the micro SD card? (simple instructions using a mac would be helpful)

I thought this was supposed to be simple. :o(

Simple instructions please for a numpty novice

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Wed Jan 21, 2015 12:51 pm

Gwynne wrote:Sorry this is all too complicated!
I'm very new to all this!

I've just loaded the latest software. My new B+ has booted. All is good.

I now want WiFi. I have just been out and bought a TP-LINK nano USB adapter model TL-WN725N. The chap that sold it to me in MAPLINS said it was compatible with the Raspberry Pi.

I plug it in and nothing.

So I go to config. Nothing seen.

List lsusb

and it is shown as there id 0bda:8179

Now what?

Where is the driver? How do I find the driver? Where should I load it on the micro SD card? How do I load it on the micro SD card? (simple instructions using a mac would be helpful)

I thought this was supposed to be simple. :o(

Simple instructions please for a numpty novice
Take a look here http://www.raspberrypi.org/forums/viewt ... 82#p462982


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
DougieLawson
Posts: 30211
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Wed Jan 21, 2015 12:53 pm

Gwynne wrote:
I now want WiFi. I have just been out and bought a TP-LINK nano USB adapter model TL-WN725N. The chap that sold it to me in MAPLINS said it was compatible with the Raspberry Pi.
Go back to Maplins. Tell them it's not compatible. Get your money back.

Then buy this: https://www.modmypi.com/wireless-usb-1n ... ifi-dongle
or this: https://www.modmypi.com/tenda-wireless- ... rk-adapter

My choice is the more expensive one.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

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

csatt
Posts: 6
Joined: Sat Oct 25, 2014 12:07 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Wed Jan 21, 2015 10:31 pm

I just updated:

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.18.3+ #739 PREEMPT Tue Jan 20 17:45:32 GMT 2015 armv6l GNU/Linux

I tried - 8188eu-20150114.tar.gz which is the most recent driver but it gives me an error on the insmod:

pi@raspberrypi ~ $ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Error: could not insert module /lib/modules/3.18.3+/kernel/drivers/net/wireless/8188eu.ko: Invalid module format

I assume that a new driver needs to be generated for 3.18.3+ #739. Any ETA?

Thanks,

- Chris

jayemm96
Posts: 7
Joined: Tue Jan 20, 2015 9:47 pm

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Thu Jan 22, 2015 1:42 am

Hi,
Any idea when the driver for 3.18.3+ is coming out? I accidentally ran rpi-update before checking for drivers, and the old drivers for 3.12 dont work with 3.18.
Thanks

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

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Thu Jan 22, 2015 3:52 am

Hi guys,

If you update to 3.18.xx+ there is a version of the driver included in the image so you don't need to download a new driver, however, it needs a separate firmware file downloading and installing.

You can download and install the driver firmware file with the single command

Code: Select all

sudo wget https://github.com/lwfinger/rtl8188eu/raw/c83976d1dfb4793893158461430261562b3a5bf0/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
You will only need to do this once as it does not need updating when the linux version is updated. Also you will not need to load a new driver whenever you update the linux version as the new driver is now included in the code.

Once you have downloaded the firmware file reboot the Pi to bring up the wifi.


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

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

csatt
Posts: 6
Joined: Sat Oct 25, 2014 12:07 am

Re: (UPDATE) Drivers for TL-WN725N V2 - 3.6.11+ -> 3.12.36+

Thu Jan 22, 2015 5:06 am

MrEngman wrote:Hi guys,

If you update to 3.18.xx+ there is a version of the driver included in the image so you don't need to download a new driver, however, it needs a separate firmware file downloading and installing.

You can download and install the driver firmware file with the single command

Code: Select all

sudo wget https://github.com/lwfinger/rtl8188eu/raw/c83976d1dfb4793893158461430261562b3a5bf0/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
You will only need to do this once as it does not need updating when the linux version is updated. Also you will not need to load a new driver whenever you update the linux version as the new driver is now included in the code.

Once you have downloaded the firmware file reboot the Pi to bring up the wifi.


MrEngman
After rebooting, wpa_gui still did not list wlan0. But I removed and re-inserted the dongle from the USB hub and that got it working.

So really - no more of this song and dance for every OS update from now on? That is GREAT news! I was seriously just about to buy a different brand because I was tired of going through this every time.

- Chris

Return to “Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests