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

TL-WN725N v2 issue

Fri Apr 26, 2013 3:18 pm

Hi,
I bought a Tp-Link TL-WN725N (v2), I read that it use the chipset rtl8188eu.
I followed this readme to recompile it: https://github.com/macliu010/pi_plus/tr ... /rtl8188eu
The command “uname -r” print “3.6.11+".
I put the 8188eu.ko (download ->my file<- if you need) file here: /lib/modules/3.6.11+/kernel/net/wireless
After that I reboot and the command “lsusb” print “Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp.” and doesn’t work.
What can I do?
Regards.


Edit:
Configuring the network file writing this:

Code: Select all

auto lo

iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

auto wlan0
iface wlan0 inet static
address (my address)
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

auto eth0
iface eth0 inet static
address (my address+1)
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
with wpa_supplicant.conf:

Code: Select all

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

network={
ssid="(my ssid)"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="(my password)"
}
Still appear "Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp." but works.
Last edited by Kaos1337 on Sun Apr 28, 2013 12:33 pm, edited 3 times in total.
My website, hosted on a raspberry: www.marretta.it

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

Re: TL-WN725N v2 issue

Fri Apr 26, 2013 8:26 pm

Good to hear you've got your wifi working.

I'm curious though, there is no mention in the instructions where to get the rtl8188eu source from. It is not included in the Linux source the instructions say to download so where did you get the source from and where is it installed for the compile?


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
Kaos1337
Posts: 6
Joined: Fri Apr 26, 2013 1:02 pm

Re: TL-WN725N v2 issue

Fri Apr 26, 2013 8:34 pm

You can clone it with the command "git clone https://github.com/macliu010/pi_plus.git".
My website, hosted on a raspberry: www.marretta.it

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 12:03 pm

1) Well, one thing you are missing is the following at the very top of the wpa_supplicant.conf file:

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

I see you fixed the other things that I mentioned.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

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

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 12:33 pm

Thank you for your corrections, I wrote "config" but it's obviously that the file to edit is the only one that exist... with conf, I corrected it in the post.
Now I add your point 1) in the main post, however I don't know why but works with and without it :)
My website, hosted on a raspberry: www.marretta.it

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 12:37 pm

Kaos1337 wrote:Thank you for your corrections, I wrote "config" but it's obviously that the file to edit is the only one that exist... with conf, I corrected it in the post.
Now I add your point 1) in the main post, however I don't know why but works with and without it :)

and doesn’t work.
What can I do?

I am confused. Why are you posting this thread if everything works?
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

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

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 12:42 pm

Initially it didn't work, but after some corrections it works, the first post now contains all informations about what I did to solve my issue with the wifi adapter.
My website, hosted on a raspberry: www.marretta.it

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 12:51 pm

Kaos1337 wrote:Initially it didn't work, but after some corrections it works, the first post now contains all informations about what I did to solve my issue with the wifi adapter.
You really need to stop constantly re-editing your posts like (especially initial posts, and especially after a couple of days have passed) because it makes subsequent posts confusing and making no sense for anyone reading and or replying to the thread. It would be better to correct it in a later post so the entire flow is logical. In fact, as I was typing my response, in real time you were changing things........I had to do a double take.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

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

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 1:04 pm

I'm really sorry for this, I'll not edit anymore my posts to avoid problems of understanding.
My website, hosted on a raspberry: www.marretta.it

pjc123
Posts: 922
Joined: Thu Mar 29, 2012 3:37 pm
Contact: Website

Re: TL-WN725N v2 issue

Sun Apr 28, 2013 1:17 pm

Don't get me wrong, there is nothing wrong with editing posts. I do it myself for things like typos or grammar that I catch later. But you can understand the confusion it can make in certain circumstances. To be honest, I am quite surprised that you were able to change a post two days later, unless something changed on this forum, as I thought users were typically locked out much sooner. Maybe the rules for original posts aren't the same as for subsequent replies? Oh well.
My Raspberry Pi Project Page:

https://www.flaminghellmet.com/launch/

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

Re: TL-WN725N v2 issue

Thu May 02, 2013 11:25 pm

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

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

Re: TL-WN725N v2 issue

Fri May 03, 2013 9:49 am

Kaos1337 wrote:You can clone it with the command "git clone https://github.com/macliu010/pi_plus.git".
Sorry for the delay in replying but thanks very much for that pointer. It's been interesting trying to get the wifi module working as the LED did not appear to work but I have now fixed that by making an edit to one of the driver source files.

I usually do my module compiles a slightly different way but the way Pi_plus showed is interesting and useful.


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

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

catkinso
Posts: 14
Joined: Mon Apr 08, 2013 9:31 pm

Re: TL-WN725N v2 issue

Tue Jun 04, 2013 9:10 am

So I really appreciate all the help everyone adds in these forums.

After several hours of trying to get the v2 module working, I have to say it gave me great satisfaction to take the little dongle out of the raspberry......... and smash it under the end of a screwdriver handle.

I will never get those 5 hours back............

Can anyone rec a dongle which does work out of the box as a wireless access point?

TAS1981
Posts: 2
Joined: Thu Aug 01, 2013 1:01 am

Re: TL-WN725N v2 issue

Thu Aug 01, 2013 10:56 pm

Hahaha! That made my day, was trying to get a generic 8188eu dongle working last night and failed miserably, no led, no recognition at boot, followed all the "How to" posts, largely from MrEngman and I can install the driver 8188eu.ko to the correct folder... having had the pi for a sum total of about 4hours play time and not having done much like this before ever this is incredibly frustrating spending a further 4 hours trying to get a wifi dongle working....just no response!

I followed the guide...but then when I try to do the insmod line on 8188eu.ko it just pings out "invalid module format" and when I reboot still nothing.

I think I too will get more satisfaction from smashing it to pieces and finding one that works out of the box!

PS it resets my pi when inserted too. Bl00dy thing!

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

Re: TL-WN725N v2 issue

Thu Aug 01, 2013 11:22 pm

TAS1981 wrote:I followed the guide...but then when I try to do the insmod line on 8188eu.ko it just pings out "invalid module format" and when I reboot still nothing.

I think I too will get more satisfaction from smashing it to pieces and finding one that works out of the box!

PS it resets my pi when inserted too. Bl00dy thing!
What kernel image are you using? Command uname -a will show the necessary info. The error indicates the version of driver you are trying to load is not compatible with the kernel you are using. Where are you getting the driver from?

Plugging pretty much anything into the USB when the Pi is switched on will reset the Pi, a problem with the Pi hardware design, not the wifi adaptor.


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

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

h.vanderveen3
Posts: 5
Joined: Sat Dec 07, 2013 6:24 pm

Re: TL-WN725N v2 issue

Sat Dec 07, 2013 6:31 pm

I see the problems regarding TL-WN725N v2 are solved. Can anyone make a step by step 'how to' for noobs like myself.

I have a clean install of 2013-09-25-wheezy-raspbian. I did a sudo apt-get update && sudo apt-get upgrade
uname -a outputs: Linux raspberrypi 3.10.22+ #606 PREEMPT Thu Dec 5 18:16:13 GMT 2013 armv6l GNU/Linux

many attempts failed.

Please can someone help me?

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

Re: TL-WN725N v2 issue

Sat Dec 07, 2013 9:12 pm

h.vanderveen3 wrote:I see the problems regarding TL-WN725N v2 are solved. Can anyone make a step by step 'how to' for noobs like myself.

I have a clean install of 2013-09-25-wheezy-raspbian. I did a sudo apt-get update && sudo apt-get upgrade
uname -a outputs: Linux raspberrypi 3.10.22+ #606 PREEMPT Thu Dec 5 18:16:13 GMT 2013 armv6l GNU/Linux

many attempts failed.

Please can someone help me?
You could take a look 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.

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

Re: TL-WN725N v2 issue

Sat Dec 07, 2013 9:21 pm

TAS1981 wrote:
PS it resets my pi when inserted too. Bl00dy thing!
You can't plug'n'pray on the Pi. The voltage drop when you plug in a new USB device is too much and usually causes a system reset. That way lies SDCard corruption.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

h.vanderveen3
Posts: 5
Joined: Sat Dec 07, 2013 6:24 pm

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 9:28 am

You could take a look here.


MrEngman
MrEngman thank you very much for the link. It's a great help. If got a nice led burning on the dongel.
However I can't get a IP from my dhcp server / router.

When I try to disable wlan and enable it again doing 'sudo ifdown wlan0' and then 'sudo ifup wlan0' I get:

Code: Select all

sudo ifup wlan0
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f8:1a:67:25:f1:fe
Sending on   LPF/wlan0/f8:1a:67:25:f1:fe
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
sudo nano /etc/network/interfaces:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf:

Code: Select all

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

network={
ssid="UPC241337"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="XXXXX"
}
What am I doing wrong?

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

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 11:01 am

h.vanderveen3 wrote:
You could take a look here.


MrEngman
MrEngman thank you very much for the link. It's a great help. If got a nice led burning on the dongel.
However I can't get a IP from my dhcp server / router.

When I try to disable wlan and enable it again doing 'sudo ifdown wlan0' and then 'sudo ifup wlan0' I get:

Code: Select all

sudo ifup wlan0
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/f8:1a:67:25:f1:fe
Sending on   LPF/wlan0/f8:1a:67:25:f1:fe
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
wpa_supplicant: wpa-roam can only be used with the "manual" inet METHOD
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
Take note of the error message - wpa-roam only works with MANUAL
sudo nano /etc/network/interfaces:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
So if using wpa-roam you need "iface wlan0 inet manual"
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf:

Code: Select all

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

network={
ssid="UPC241337"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="XXXXX"
}
What am I doing wrong?
Or do not use wpa_supplicant and just set up the wifi using only file /etc/network/interfaces such as

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"
Or you could try changing wpa-roam to wpa-conf but I'm not sure that will work or not. I usually just use /etc/network/interfaces to configure my networks and generally everything works OK.
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

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

h.vanderveen3
Posts: 5
Joined: Sat Dec 07, 2013 6:24 pm

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 11:32 am

So if using wpa-roam you need "iface wlan0 inet manual"
Or do not use wpa_supplicant and just set up the wifi using only file /etc/network/interfaces such as
I changed /etc/network/interfaces to:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
# auto wlan0
iface wlan0 inet manual
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa-ssid "UPC241337"
wpa-psk "XXXX"
when I sudo ifdown wlan0 sudo ifup wlan0 i get:

Code: Select all

ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Am I missing something or do I really am a NOOB ;) ?

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

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 11:49 am

h.vanderveen3 wrote:
So if using wpa-roam you need "iface wlan0 inet manual"
Or do not use wpa_supplicant and just set up the wifi using only file /etc/network/interfaces such as
I changed /etc/network/interfaces to:

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
# auto wlan0
iface wlan0 inet manual
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa-ssid "UPC241337"
wpa-psk "XXXX"
You are getting things a little confused. If you use wpa_supplicant the /etc/network/interfaces should look something 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
If just using /etc/network/interfaces to configure the interfaces it should look something 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"
when I sudo ifdown wlan0 sudo ifup wlan0 i get:

Code: Select all

ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
These are OK don't worry about these. I'm not sure exactly what they mean but I see these always when my interfaces start up and always have from when I first started using my Pi 18 months ago.
Am I missing something or do I really am a NOOB ;) ?
No comment :lol: :lol: :lol:


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

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

h.vanderveen3
Posts: 5
Joined: Sat Dec 07, 2013 6:24 pm

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 12:03 pm

No comment :lol: :lol: :lol:
Well I am a NOOB for sure. You on the other hand are THE BEST.

All working. IP recieving is a bit slow but its working.

Thanks for you help.

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

Re: TL-WN725N v2 issue

Sun Dec 08, 2013 12:08 pm

h.vanderveen3 wrote:
No comment :lol: :lol: :lol:
Well I am a NOOB for sure. You on the other hand are THE BEST.

All working. IP recieving is a bit slow but its working.

Thanks for you help.
Good to hear your wifi is now working. Glad to be some help.


MrEngman
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”