rpijet
Posts: 2
Joined: Sun Jan 13, 2013 6:40 pm

TP-Link TL-WN725N V2 works out of the box on Raspbian

Tue Jan 15, 2013 3:46 am

I buy a TP-Link TL-WN725N WiFi mini USB net adapter for my RPi. But it does not work (can not bring wlan0 up) even I install this driver: http://blog.elevendroids.com/2012/12/pr ... 27-kernel/
I check this adapter hardware version is V2. I doubt it using different ship with V1. Check the file "netrtwlanu.inf" from windows driver. The chip is really 'rtl8188eu'. You know the v1 chip is 'rtl8188cus'. It is terrible that Realtek do not provide rtl8188eu Linux driver from official WEB site.
But I found a OEM driver from: https://github.com/Red54/linux-shumeipa ... /rtl8188eu
Download rtl8188eu from this source:
git clone https://github.com/Red54/linux-shumeipai2.git

Current knernel of RPi is 3.2.27+. Check yours by command "uname -v". I tried to compile the driver for kernel 3.2. But the driver can not working.
upgrade RPi kernel to 3.6.1:
git fetch git://github.com/raspberrypi/linux.git rpi-3.6.y:refs/remotes/origin/rpi-3.6.y
http://elinux.org/RPi_Kernel_Compilation
and recompile the 8188eu driver. install and reboot RPi Finially, the WN725N works without USb hub and connect WiFi network well. Wave~
I will update the driver and Tips later.

geeker
Posts: 1
Joined: Wed Jan 23, 2013 1:00 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Wed Jan 23, 2013 1:17 pm

I use the same adapter. But it didn't work after I followed your steps.
I can see the 8188eu module by lsmod after reboot. But I can find wlan through ifconfig and lsusb doesn't detect its chip model. It just displays:

Code: Select all

Bus 001 Device 005: ID 0bda:8179 Realtek Semiconductor Corp.
Do you come across this after installing the 8188eu module?


zhujunsan
Posts: 1
Joined: Sat Mar 03, 2012 10:46 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu Mar 21, 2013 2:46 pm

thanks! my 725n works fine with the .ko file! :D

here's a alternative link to the .ko file in case the baidu pan link fail to work:
http://file.zhujunsan.net/8188eu.ko

glok
Posts: 1
Joined: Mon Apr 15, 2013 12:37 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Mon Apr 15, 2013 12:41 pm

Thank you verrrrrryyyy much rpijet :)

With you file , all is ok.



1. copy 8188eu.ko to ``/lib/modules/`uname -r`/kernel/driver/net/wireless``
2. depmod -a
3. modprobe 8188eu
4. ifconfig

See your WN725N v2....have fun :twisted:

njpollard
Posts: 4
Joined: Wed Feb 13, 2013 2:08 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu Apr 18, 2013 8:18 pm

Thanks very much for this.

Two weeks ago I ordered a Pi and WN725N and it all worked fine. This week ordered the same thing again, set it up the same way and spent hours trying to get it to work with no luck.

Turns out I'd ended up with a V2 second time round, but once I'd discovered these instructions, I had it working in minutes.

:D

jimmymcmahon
Posts: 8
Joined: Wed Mar 20, 2013 2:00 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu Apr 25, 2013 3:19 pm

:D Hi guys,

I am currently running Raspbmc on an rpi and have been sent a v2 tp link wifi adapter which I discovered does not work out of the box... ( I have another rpi with a v1 version of the adapter which works without issue straight out).

I am attempting to follow the instructions above to get the v2 working however I just get a format error when trying to run the modprobe command...

I have copied over the 8188eu.ko file over to the /lib/modules/3.6.11/kernel/drivers/net/wireless/ directory and attempted to run the following commands...

root@raspbmc:~# cd /lib/modules/3.6.11/kernel/drivers/net/wireless/
root@raspbmc:/lib/modules/3.6.11/kernel/drivers/net/wireless# ls
8188eu.ko ath libertas_tf rndis_wlan.ko rtl818x zd1201.ko
at76c50x-usb.ko libertas p54 rt2x00 rtl8192cu zd1211rw

root@raspbmc:/lib/modules/3.6.11/kernel/drivers/net/wireless# depmod -a
root@raspbmc:/lib/modules/3.6.11/kernel/drivers/net/wireless# modprobe 8188eu
ERROR: could not insert '8188eu': Exec format error

Any ideas please? :D

Here are some screenshots...

my v1 dongle which as you can see is detected and works without issue

Image


my v2 dongle which is detected but does not work


Image

As you can see, it is detected, however it never obtains an IP address...

williamnick89
Posts: 2
Joined: Fri Apr 26, 2013 9:39 am

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Fri Apr 26, 2013 9:52 am

I just bought a TL-WN725N today, and only realize it is a V2,I have no idea how to copy the file to those directory you guy mentioned above (Sorry,I'm total noob/begineer). Anyone can lead me/give me any direction/instructions for that?
And if I dun have LAN connection(which I only have phone internet at home),how can I copy/drag the .ko file into the SD card?
If anyone know how to do it, I'm hereby begging you to teach me. I will be appreciate on that and if you in Malaysia,I can get you a drink too. Thank.

User avatar
Kaos1337
Posts: 6
Joined: Fri Apr 26, 2013 1:02 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sat Apr 27, 2013 2:35 pm

Initially I didn't solved the problem, but with this my thread to ask help I solved http://www.raspberrypi.org/phpBB3/viewt ... 8&p=338865
My website, hosted on a raspberry: www.marretta.it

lwfinger
Posts: 4
Joined: Sun Apr 28, 2013 8:07 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sun Apr 28, 2013 8:11 pm

Where did you buy your TL-WN725N V2 devices? I have been trying to get my hands on one for testing in preparation on adding the RTL8188EU driver to the Linux kernel. So far, I have only found V1 models and those have the wrong chip.

Thanks,

Larry

rustybike
Posts: 3
Joined: Mon Apr 29, 2013 11:34 am

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Mon Apr 29, 2013 11:55 am

I bought a TP-Link TL-WN723 V3 from gocomp.com.au

It has the same Realtek 8188eus according to http://wikidevi.com/wiki/TP-LINK_TL-WN723N_v3

Haven't tried the above method yet...

njpollard
Posts: 4
Joined: Wed Feb 13, 2013 2:08 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Mon Apr 29, 2013 12:03 pm

lwfinger wrote:Where did you buy your TL-WN725N V2 devices?
Got mine from here:-
http://www.newit.co.uk/shop/proddetail. ... ink&cat=35

They are aware of the difference between V1 and V2 so you could email them to ensure they send the right one. Have bought a few things from there now and recommend them!

lwfinger
Posts: 4
Joined: Sun Apr 28, 2013 8:07 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Tue Apr 30, 2013 3:37 pm

Thanks for the link; however, the 30 pound shipping is a killer. Anyone know of US suppliers?

mooselord
Posts: 8
Joined: Tue Apr 30, 2013 11:57 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Wed May 01, 2013 12:01 am

I bought a Tp-Link wn725n from newegg.com about a week ago and it is a v2 with the 8188eu chip. They were on sale for $8 with free shipping. Couldn't pass that up.

mooselord
Posts: 8
Joined: Tue Apr 30, 2013 11:57 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Wed May 01, 2013 12:07 pm

Thanks to everyone for posting very useful information on this thread. I have the WN725N v2 wifi adapter and was able to get it running on the latest version of Raspbian (2013-02-09) using the 8188eu driver and the info in this thread. Unfortunately, I have another SD card with BerryBoot on it and I can't get the adapter to work using the version of Raspbian that's downloaded by BerryBoot (2012.12). Both versions of Raspbian seem to have kernel version 3.6.11, but when I try to run the "modprobe 8188eu" command after booting Raspbian with BerryBoot I get the message "ERROR: could not insert '8188eu': Exec format error", and the adapter just doesn't work. That error message is also mentioned earlier in this thread. Has anyone figured this out? I've grown to rely on BerryBoot and would hate to have to give it up to use my shiney, new wifi adapter.

I've perused the syslog and see that the adapter is identified in the USB chain:
usb 1-1.2: new high-speed USB device number 4 using dwc_otg
usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 802.11n NIC
usb 1-1.2: Manufacturer: Realtek
but further down the log I see this:
8188eu: disagrees about version of symbol module_layout

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

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu May 02, 2013 2:47 pm

mooselord wrote:Thanks to everyone for posting very useful information on this thread. I have the WN725N v2 wifi adapter and was able to get it running on the latest version of Raspbian (2013-02-09) using the 8188eu driver and the info in this thread. Unfortunately, I have another SD card with BerryBoot on it and I can't get the adapter to work using the version of Raspbian that's downloaded by BerryBoot (2012.12). Both versions of Raspbian seem to have kernel version 3.6.11, but when I try to run the "modprobe 8188eu" command after booting Raspbian with BerryBoot I get the message "ERROR: could not insert '8188eu': Exec format error", and the adapter just doesn't work. That error message is also mentioned earlier in this thread. Has anyone figured this out? I've grown to rely on BerryBoot and would hate to have to give it up to use my shiney, new wifi adapter.

I've perused the syslog and see that the adapter is identified in the USB chain:
usb 1-1.2: new high-speed USB device number 4 using dwc_otg
usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.2: Product: 802.11n NIC
usb 1-1.2: Manufacturer: Realtek
but further down the log I see this:
8188eu: disagrees about version of symbol module_layout
The driver you have is not compatible with the version of Linux used with Berryboot.

Even though the main version number, 3.6.11+ is the same a module may not work with different #xxx revisions and you need to get a version of 8188eu compiled using the source for the version of Linux used with Berryboot. Alternatively update the revision of Linux used with Berryboot to the version you have working.

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: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu May 02, 2013 3:06 pm

Something a little different.

I've compiled rtl8188eu and it is running OK, well almost, with my new TL-WN725N V2. Ordered it late Monday from Amazon UK, was dispatched yesterday and arrived this morning. £8.05 - free postage, can't be bad. http://www.amazon.co.uk/dp/B008B7PZU4/r ... _M3T1_dp_1

Now for the almost - although the wifi works fine the LED light does NOT come on AT ALL so it's very hit and miss to know if it's working.

I've tried it on my Windows 7 laptop and it works AND the LED FLASHES so I guess there is some issue with the driver source with the Pi.

I'm hunting through the code to try and find what it may be but if anyone has any ideas?


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

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

rustybike
Posts: 3
Joined: Mon Apr 29, 2013 11:34 am

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Thu May 02, 2013 11:25 pm

Thanks everyone for the above driver installation process. It worked great for my TP-LINK TL-WN723N v3, which uses the same chipset.

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

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Fri May 03, 2013 9:34 am

MrEngman wrote:Something a little different.
....
Now for the almost - although the wifi works fine the LED light does NOT come on AT ALL so it's very hit and miss to know if it's working.

I've tried it on my Windows 7 laptop and it works AND the LED FLASHES so I guess there is some issue with the driver source with the Pi.

I'm hunting through the code to try and find what it may be but if anyone has any ideas?
Managed to find a solution to this problem and now the LED works fine. Also noticed the 8188eu driver outputs loads of debug data to dmesg using up valuable time and memory.

Details of the fix for the LED problem and how to stop the debug data being output can be found here.


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

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

mooselord
Posts: 8
Joined: Tue Apr 30, 2013 11:57 pm

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sat May 04, 2013 3:06 pm

Thanks for your suggestions MrEngman. I repackaged the latest Raspbian image using the instructions here: http://www.berryterminal.com/doku.php/b ... tributions. Then installed the 8188eu.ko driver. Unfortunately, I still get the "ERROR: could not insert '8188eu': Exec format error" message when I run the "modprobe 8188eu" command, and the adapter still doesn't work. Dang.

I noticed in the BerryBoot instructions for adding your own OS image it says "We are excluding /lib/modules from the image, because the kernel modules shipped with Berryboot are used instead, and shared with all distributions." Maybe that's the root of the problem. At any rate I guess I'll go back to using multiple SD cards when I want to use my WN725N v2 adapter.

Would you mind posting your recompiled driver? I like blinky LEDs too, but I'm too lazy to run a compiler :)

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

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sat May 04, 2013 6:46 pm

mooselord wrote:Thanks for your suggestions MrEngman. I repackaged the latest Raspbian image using the instructions here: http://www.berryterminal.com/doku.php/b ... tributions. Then installed the 8188eu.ko driver. Unfortunately, I still get the "ERROR: could not insert '8188eu': Exec format error" message when I run the "modprobe 8188eu" command, and the adapter still doesn't work. Dang.

I noticed in the BerryBoot instructions for adding your own OS image it says "We are excluding /lib/modules from the image, because the kernel modules shipped with Berryboot are used instead, and shared with all distributions." Maybe that's the root of the problem. At any rate I guess I'll go back to using multiple SD cards when I want to use my WN725N v2 adapter.

Would you mind posting your recompiled driver? I like blinky LEDs too, but I'm too lazy to run a compiler :)
Well, the driver you're trying to install isn't compatible with Berryboot I guess.

OK, the 8188eu driver for 2013-02-09-wheezy-raspbian is on dropbox. To download and install it use the following commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20130209.tar.gz
tar -zxvf 8188eu-20130209.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/3.6.11+/kernel/drivers/net/wireless
I'm going to take a look at Berryboot and see if I can get a working module. If I get anywhere, or not, I'll let you know.

Just for fun my Pi now has two wifi adapters installed and both working, an Edimax EW-7811Un which is the one I usually use and the TP-Link TL-WN725N which I'm checking out. And for those interested both powered directly from my Pi - no powered hub in sight.

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: 4140
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sat May 04, 2013 9:29 pm

Hi Mooselord,

When you run Rasbian with BerryBoot can you tell me what the output of command uname -a shows?

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

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

andy18
Posts: 2
Joined: Sun May 05, 2013 12:23 am

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sun May 05, 2013 12:30 am

mr. engman
when I "install -p -m 644", I get and error "missing file operand"
any suggestions?

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

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sun May 05, 2013 7:55 am

andy18 wrote:mr. engman
when I "install -p -m 644", I get and error "missing file operand"
any suggestions?
You did not type the complete command - it should be

Code: Select all

sudo install -p -m 644 8188eu.ko /lib/modules/3.6.11+/kernel/drivers/net/wireless
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

andy18
Posts: 2
Joined: Sun May 05, 2013 12:23 am

Re: TP-Link TL-WN725N V2 works out of the box on Raspbian

Sun May 05, 2013 10:26 am

Thank you MrEngman

Return to “Beginners”