MrEngman
Posts: 3836
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 Apr 05, 2014 9:25 am

MrWm wrote:Well I have been having the same problem now with the TP-LINK TL-WN725N (v2) but when I downloaded the source and tried to compile it, it gave me this:
[email protected] ~ $ cd ~/rtl8188eu
[email protected] ~/rtl8188eu $ make
make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.10.36+/build M=/home/pi/rtl8188eu modules
make: *** /lib/modules/3.10.36+/build: No such file or directory. Stop.
make: *** [modules] Error 2
[email protected] ~/rtl8188eu $
--
Can someone help?
uname -a :
Linux raspberrypi 3.10.36+ #662 PREEMPT Fri Apr 4 18:31:16 BST 2014 armv6l GNU/Linux
You are missing a symbolic link to the linux source code. A command something like this should fix it.

Code: Select all

sudo ln -s /home/pi/src/linux /lib/modules/3.10.36+/build
Just replace /home/pi/src/linux with the directory where you have put your linux source.


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: 3836
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 Apr 05, 2014 10:26 pm

oorah wrote:Just today bought a TP-LINK TL-WN725N v2. Using it on Raspbmc (xbmc) not sure what version.. uname -r was something like 3.10.24 #2 PREEMPT if that is helpful. I've managed to get it working, by doing the following:

sudo su -
wget http://raspishop.pl/downloads/8188eu.ko-raspbmc -O /lib/modules/`uname -r`/kernel/drivers/net/wireless/8188eu.ko
depmod -a
sed -i 's/^exit 0/modprobe 8188eu\nexit 0/' /etc/rc.local
reboot

taken from: http://raspishop.pl/info/tp-link-wn725n ... pberry_pi/

After trying literally EVERYTHING, and coming up against a lot of errors, this simple solution worked. After I did this, I simply went on to my raspberrry pi settings , turned wireless to wired, save..reboot... set wired back to wireless, put in details, rebooted again and it refreshed it all and now works fine.

Hope this is helpful to someone!
I've just been looking at Raspbmc and I have version 3.10.24 and the driver for the TP-Link WN725N V2 appears to be built in. However, it is now named r8188eu.ko so no need to download or compile a driver.

Code: Select all

[email protected]:~$ uname -a
Linux raspbmc 3.10.24 #2 PREEMPT Mon Dec 23 05:18:12 UTC 2013 armv6l GNU/Linux
[email protected]:~$
[email protected]:~$ ls -l /lib/modules/3.10.24/kernel/drivers/staging/rtl8188eu/r8188eu.ko
-rw-r--r-- 1 root root 1065364 Dec 23 05:31 /lib/modules/3.10.24/kernel/drivers/staging/rtl8188eu/r8188eu.ko
[email protected]:~$
HOWEVER, this driver needs a separate firmware file, rtl8188eufw.bin, and this is NOT included. So just download and install the firmware using the following commands

Code: Select all

sudo apt-get update
sudo apt-get install ca-certificates
sudo wget https://github.com/lwfinger/rtl8188eu/blob/master/rtl8188eufw.bin -O /lib/firmware/rtlwifi/rtl8188eufw.bin
Installing ca-certificates seems to be required as otherwise the firmware download from github using wget gets an error.


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

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

moller.peter
Posts: 4
Joined: Sun May 04, 2014 3:41 pm

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

Sun May 04, 2014 6:16 pm

I will try my first post here...

I'm having the same problem as many others with not being able to install the v2 model but I've also really really tried so many things that I have nothing left to try (I think) without ending up with the same boring answer, "FATAL: Module 8188eu not found."

There is one thing though I hope should be the problem...let's see if you can help me with it.
I'm on NOOBS with 3.10.25+ #622 (checking with uname +a) and I made sure I got the right version downloaded as well (8188eu-20131219.tar.gz) for my wifi dongle but I noticed that the folder where you are supposed to have your kernel number (uname-a) is actually "3.10.24"...so in my case "/lib/modules/3.10.24/kernel/drivers/net/wireless". Isn't that wrong? Shouldn't mine say "3.10.25+"? If so do I just change the folder's name or do I need to do something else?

MrEngman
Posts: 3836
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 04, 2014 11:38 pm

moller.peter wrote:I will try my first post here...

I'm having the same problem as many others with not being able to install the v2 model but I've also really really tried so many things that I have nothing left to try (I think) without ending up with the same boring answer, "FATAL: Module 8188eu not found."

There is one thing though I hope should be the problem...let's see if you can help me with it.
I'm on NOOBS with 3.10.25+ #622 (checking with uname +a) and I made sure I got the right version downloaded as well (8188eu-20131219.tar.gz) for my wifi dongle but I noticed that the folder where you are supposed to have your kernel number (uname-a) is actually "3.10.24"...so in my case "/lib/modules/3.10.24/kernel/drivers/net/wireless". Isn't that wrong? Shouldn't mine say "3.10.25+"? If so do I just change the folder's name or do I need to do something else?
Really? You say I'm on NOOBS with 3.10.25+ #622 (checking with uname +a). For me uname +a just generates an error.

If you are running raspbian 3.10.25+ then you should install the driver in /lib/modules/3.10.25+/kernel/drivers/net/wireless.

How did you come up with this "... I noticed that the folder where you are supposed to have your kernel number (uname-a) is actually "3.10.24" ? If you installed from a newish version of NOOBS you won't have a directory 3.10.24+, it will be 3.10.25+.



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

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

moller.peter
Posts: 4
Joined: Sun May 04, 2014 3:41 pm

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

Mon May 05, 2014 5:44 pm

MrEngman wrote:
moller.peter wrote:I will try my first post here...

I'm having the same problem as many others with not being able to install the v2 model but I've also really really tried so many things that I have nothing left to try (I think) without ending up with the same boring answer, "FATAL: Module 8188eu not found."

There is one thing though I hope should be the problem...let's see if you can help me with it.
I'm on NOOBS with 3.10.25+ #622 (checking with uname +a) and I made sure I got the right version downloaded as well (8188eu-20131219.tar.gz) for my wifi dongle but I noticed that the folder where you are supposed to have your kernel number (uname-a) is actually "3.10.24"...so in my case "/lib/modules/3.10.24/kernel/drivers/net/wireless". Isn't that wrong? Shouldn't mine say "3.10.25+"? If so do I just change the folder's name or do I need to do something else?
Really? You say I'm on NOOBS with 3.10.25+ #622 (checking with uname +a). For me uname +a just generates an error.

If you are running raspbian 3.10.25+ then you should install the driver in /lib/modules/3.10.25+/kernel/drivers/net/wireless.

How did you come up with this "... I noticed that the folder where you are supposed to have your kernel number (uname-a) is actually "3.10.24" ? If you installed from a newish version of NOOBS you won't have a directory 3.10.24+, it will be 3.10.25+.

MrEngman

Well that's what I meant, "-a" and not "+a"...just a typo.
But I don't understand why the folder gives me 3.10.24 while the "uname -a" gives me 3.10.25+?? Then the problem lies within the very NOOBS I downloaded (not more than 4 days ago) from this very homepage at:

http://www.raspberrypi.org/downloads/

So you tell me how I could have done something wrong with a version that apparently should have been the "newish" if the file hasn't been linked with a wrong URL?

Well, I will try to correct this somehow as a starter...then I'll be back!

/P

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

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

Mon May 05, 2014 6:58 pm

moller.peter wrote: Well that's what I meant, "-a" and not "+a"...just a typo.
But I don't understand why the folder gives me 3.10.24 while the "uname -a" gives me 3.10.25+?? Then the problem lies within the very NOOBS I downloaded (not more than 4 days ago) from this very homepage at:

http://www.raspberrypi.org/downloads/

So you tell me how I could have done something wrong with a version that apparently should have been the "newish" if the file hasn't been linked with a wrong URL?

Well, I will try to correct this somehow as a starter...then I'll be back!

/P
You said uname -a gives 3.10.25+ #622 which should mean you installed raspbian from NOOBS. Is that right?

However, I am confused and I still don't understand what you mean by "..the folder gives me 3.10.24". Do you mean when you use command

Code: Select all

ls /lib/modules
it shows 3.10.24 like

Code: Select all

[email protected] ~ $ ls /lib/modules
3.10.24
[email protected] ~ $
If it is not this then what folder?


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

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

moller.peter
Posts: 4
Joined: Sun May 04, 2014 3:41 pm

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

Mon May 05, 2014 7:32 pm

MrEngman wrote:
moller.peter wrote: Well that's what I meant, "-a" and not "+a"...just a typo.
But I don't understand why the folder gives me 3.10.24 while the "uname -a" gives me 3.10.25+?? Then the problem lies within the very NOOBS I downloaded (not more than 4 days ago) from this very homepage at:

http://www.raspberrypi.org/downloads/

So you tell me how I could have done something wrong with a version that apparently should have been the "newish" if the file hasn't been linked with a wrong URL?

Well, I will try to correct this somehow as a starter...then I'll be back!

/P
You said uname -a gives 3.10.25+ #622 which should mean you installed raspbian from NOOBS. Is that right?

However, I am confused and I still don't understand what you mean by "..the folder gives me 3.10.24". Do you mean when you use command

Code: Select all

ls /lib/modules
it shows 3.10.24 like

Code: Select all

[email protected] ~ $ ls /lib/modules
3.10.24
[email protected] ~ $
If it is not this then what folder?

MrEngman

Sorry for the confusion, that's when I use the File Manager in Raspbian (GUI) and I see all the folders /lib/...there, one folder is called "3.10.24" but when I use (uname -a) in LXTerminal I see "3.10.25+"

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

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

Mon May 05, 2014 7:57 pm

OK, I've tried NOOBS 1.3.4, 1.3.5 and 1.3.6 and there is no 3.10.24 on any of the SD cards when you install raspbian so where are you reading it says you must use 3.10.24.

Did you see my install instructions here.

It shows the driver for 310.25+ #622

Code: Select all

3.10.24+ #610       - 8188eu-20131209.tar.gz
3.10.24+ #614       - 8188eu-20131219.tar.gz

3.10.25+ #616, #618 - 8188eu-20131219.tar.gz
3.10.25+ #622, #624 - 8188eu-20131219.tar.gz

3.10.26+ #628       - 8188eu-20140110.tar.gz
is 8188eu-20131219.tar.gz but it does not say install in 3.10.24. Please tell me exactly where it shows you should use 3.10.24 to install the driver.

To install the driver you need to use the commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-201xyyzz.tar.gz <--set data code for driver version above
tar -zxvf 8188eu-201xyyzz.tar.gz                                         <--set data code for driver version above
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
so you will need to set these to

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20131219.tar.gz
tar -zxvf 8188eu-20131219.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
And you do not need to use 3.10.25+, or any other value, as $(uname -r) used in the install commands will select the right value automatically.

I hope this helps. But please tell me where you read that is says use 3.10.24.


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

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

Mon May 05, 2014 8:05 pm

moller.peter wrote: Sorry for the confusion, that's when I use the File Manager in Raspbian (GUI) and I see all the folders /lib/...there, one folder is called "3.10.24" but when I use (uname -a) in LXTerminal I see "3.10.25+"
OK, that's very strange as when I install NOOBS and raspbian I only see /lib/modules/3.10.25+. I don't use the GUI and I install the drivers manually so I will have to take a look and see what is says myself. Very confusing.

Thanks for that as it clears things up. Just can't understand why so I must take a look at it myself.


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

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

moller.peter
Posts: 4
Joined: Sun May 04, 2014 3:41 pm

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

Mon May 05, 2014 8:17 pm

MrEngman wrote:
moller.peter wrote: Sorry for the confusion, that's when I use the File Manager in Raspbian (GUI) and I see all the folders /lib/...there, one folder is called "3.10.24" but when I use (uname -a) in LXTerminal I see "3.10.25+"
OK, that's very strange as when I install NOOBS and raspbian I only see /lib/modules/3.10.25+. I don't use the GUI and I install the drivers manually so I will have to take a look and see what is says myself. Very confusing.

Thanks for that as it clears things up. Just can't understand why so I must take a look at it myself.

MrEngman
Thanks Mr.Engman! I'm a total noob at this so I can't give you any more explanation than that but I will reinstall it and see for myself again.

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

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

Mon May 05, 2014 9:16 pm

moller.peter wrote:
MrEngman wrote:
moller.peter wrote: Sorry for the confusion, that's when I use the File Manager in Raspbian (GUI) and I see all the folders /lib/...there, one folder is called "3.10.24" but when I use (uname -a) in LXTerminal I see "3.10.25+"
OK, that's very strange as when I install NOOBS and raspbian I only see /lib/modules/3.10.25+. I don't use the GUI and I install the drivers manually so I will have to take a look and see what is says myself. Very confusing.

Thanks for that as it clears things up. Just can't understand why so I must take a look at it myself.

MrEngman
Thanks Mr.Engman! I'm a total noob at this so I can't give you any more explanation than that but I will reinstall it and see for myself again.
That's OK, Sounds like we are both as confused as each other :lol: :lol:

I tested using the GUI to connect my wifi and I still don't see any reference to 3.10.24.

However, once the driver is loaded and if you use command modinfo 8188eu which returns information about the 8188eu.ko module there is a reference to 3.10.24+ in the following line

Code: Select all

vermagic:       3.10.24+ preempt mod_unload modversions ARMv6
but this is to do with the version of driver the module was compiled with and has nothing to do with where it should be installed.

To install it if you are using the GUI open a terminal window and use the commands from my previous post to install the 8188eu driver then run Wifi Config to set up the network connection.

If you do see any reference to 3.10.24 again I would be interested to know where if you can let me know.


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
sudo
Posts: 5
Joined: Mon Jul 21, 2014 4:37 am
Location: Calgary, Alberta, Canada
Contact: Website

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

Sun Oct 05, 2014 8:53 pm

I had great woe with this until I found this post: http://www.mendrugox.net/2013/08/tp-lin ... -raspbian/

slftr141
Posts: 1
Joined: Sat Nov 15, 2014 6:32 am

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

Sat Nov 15, 2014 6:38 am

Thank You Mr Engman,
I was able to get my TP-LINK TL-WN723N WiFi working following the instructions here. I really appreciate the help online:-)

slftr141
$ lsusb
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
$ ifconfig
wlan0 Link encap:Ethernet HWaddr f8:1a:67:17:d6:cb
inet addr:192.168.157.6 Bcast:192.168.157.255 Mask:255.255.255.0
...
RX bytes:40781 (39.8 KiB) TX bytes:13120 (12.8 KiB)

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Sun Dec 21, 2014 8:27 pm

Still stuck with trying to install my TP-Link WN725N.
I'm on 3.12.28+ #709 and followed all the instructions on installation, but in the end I get the error:

Code: Select all

Error: could not insert module /lib/modules/3.12.28+/kernel/drivers/net/wireless/8188eu.ko: File exists
Don't know how to solve this problem.
Who can help?

Kind regards, R.

MrEngman
Posts: 3836
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 Dec 21, 2014 8:59 pm

REsPawnz wrote:Still stuck with trying to install my TP-Link WN725N.
I'm on 3.12.28+ #709 and followed all the instructions on installation, but in the end I get the error:

Code: Select all

Error: could not insert module /lib/modules/3.12.28+/kernel/drivers/net/wireless/8188eu.ko: File exists
Don't know how to solve this problem.
Who can help?

Kind regards, R.
That says the file is already installed.

What do the output of commands lsmod and ifconfig show?


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

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

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Sun Dec 21, 2014 9:23 pm

MrEngman wrote:
REsPawnz wrote:Still stuck with trying to install my TP-Link WN725N.
I'm on 3.12.28+ #709 and followed all the instructions on installation, but in the end I get the error:

Code: Select all

Error: could not insert module /lib/modules/3.12.28+/kernel/drivers/net/wireless/8188eu.ko: File exists
Don't know how to solve this problem.
Who can help?

Kind regards, R.
That says the file is already installed.

What do the output of commands lsmod and ifconfig show?


MrEngman
Is there something specific you want to know in the lsmod?
The ifconfig shows:

Code: Select all

wlan0       Link encap:Ethernet HWaddr c4:6e:1f:1a:ae:01
                          UP BROADCAST MULTICAST MTU:1500 Metric:1
                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          collisions:0 txqueuelen:1000
                          RX bytes:0 (0.0 B).   TX bytes:0 (0.0 B)
Need eth0 and lo info too?

MrEngman
Posts: 3836
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 Dec 21, 2014 9:40 pm

I'm assuming lsmod shows the module 8188eu especially since the output of ifconfig shows wlan0.

And if it does the wifi driver is installed.

Also what does the output of command lsusb show re the wifi module?



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

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

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Sun Dec 21, 2014 9:50 pm

lsmod indeed shows 8188eu. Size: 663122. Used by: 0.
lsusb shows:

Code: Select all

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 04f3:0212 Elan Microelectronics Corp. Laser Mouse
Bus 001 Device 005: ID 413c:2107 Dell Computer Corp.
Bus 001 Device 006: ID 0bda:8179 Realtek Semiconductor Corp.

MrEngman
Posts: 3836
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 Dec 21, 2014 10:39 pm

Looks OK.

Other than the original message you showed I am assuming you can't connect to your wifi network. Have you set up file /etc/network/interfaces to make the connection or have you tried connecting by running startx and using the Wifi Config in the GUI?

If not you need do one or the other.

To use the file /etc/network/interfaces to make the connection it needs to be edited. Using the nano editor use command

Code: Select all

sudo nano /etc/network/interfaces
and set up like

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "Your-Network-Name"
wpa-psk "Your-Network-Password"
If you want to set it up using the Wifi Config GUI the file /etc/network/interfaces should be left as the default raspbian initially loads, which is

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 use command startx to run the X GUI and select the Wifi Config button to set up the wifi.


If you have already set up the wifi and cannot get it to connect you can try the following two commands

Code: Select all

sudo ifdown wlan0
sudo ifup wlan0

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

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

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Mon Dec 22, 2014 7:22 am

It finally works!
The command sudo ifup wlan0 did the trick.
Thx mr Engman.

Now I noticed that after a reboot the adapter isn't automatically connecting to my network.
I have to give the sudo ifup wlan0 command again, before I get wifi adapter to work.
Is there a way to auto connect to the internet using wifi after a reboot without using static IP?
(The GUI doesn't work by the way. It's completely blank. Don't know if that's supposed to be normal)

Kind regards, R.

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

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

Mon Dec 22, 2014 8:22 am

When originally installing the wifi driver did you run the command depmod to register the driver? If the depmod command is not used then the driver will not be registered and I'm fairly certain you will see the problem you have.

Run this command

Code: Select all

sudo depmod 3.12.28+
and then reboot and see what happens.



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

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

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Mon Dec 22, 2014 8:45 am

I runned the depmod command when installing the driver and did it again (a minute ago) to make sure the driver got registered.
Rebooted, but unfortunately the adapter won't come alive.
When i give the sudo ifup wlan0 command the green LED starts blinking and I got my wifi connection.
Any other ideas?

Kind regards, R.

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

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

Mon Dec 22, 2014 11:14 am

I've seen this before and it's a real pain. A couple of things you could try.

1. Shut down the Pi. Remove the wifi adaptor and power on and log on to the Pi, then shutdown and re-insert the wifi adaptor. Start up the Pi again and see if it now connects.

2. An alternative method of installing the adaptor.

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/install-8188eu.tgz
tar xzf install-8188eu.tgz
./install-8188eu.sh
This is a script that will automatically find the driver for the version of the raspbian kernel and install it from the list here http://www.raspberrypi.org/forums/viewt ... 82#p462982. Not sure it that will make any difference.

3. Search for all copies of the driver using

Code: Select all

sudo find / -name 8188eu.ko
and delete them then use ./install-8188eu.sh to reinstall 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.

REsPawnz
Posts: 13
Joined: Sun Dec 21, 2014 11:49 am

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

Tue Dec 23, 2014 12:32 pm

Hello MrEngman,

thx for your tips.
I tried all three of them, but they didn't work.
Now I created a shell script with this content:

Code: Select all

ifdown wlan0
ifup wlan0
And added the following line to the interface file:

Code: Select all

auto wlan0
iface wlan0 inet dhcp
... rest of the config ...

post up /path-to-the-script/script.sh
And this workaround seems to work.
Don't know if it can do any harm, but for now the wifi adapter starts up on boot.

Kind regards, R.

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

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

Tue Dec 23, 2014 5:20 pm

Hi REsPawnz,

Do you have the wired network connection connected when trying to boot with the wifi? There are some who say the wifi will not connect if the wired network is connected. I haven't seen any issues myself with the wifi when the wired network is connected and the Pi I'm currently using has the wired internet connected and two wifi modules connected and they all come up when I boot my Pi. One wifi uses the 8188eu driver and the other the 8192cu driver.

My /etc/network/interfaces looks 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"

allow-hotplug wlan1
iface wlan1 inet dhcp
wpa-ssid "network-name"
wpa-psk "network-password"
AFAIK using auto wlan0 or allow-hotplug wlan0 shouldn't make any difference.

ifconfig shows

Code: Select all

eth0      Link encap:Ethernet  HWaddr b8:27:eb:xx:yy:zz
          inet addr:192.168.16.15  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:72181 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17518 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10756384 (10.2 MiB)  TX bytes:3834803 (3.6 MiB)

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)

wlan0     Link encap:Ethernet  HWaddr c0:4a:00:xx:yy:zz
          inet addr:192.168.16.16  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:73282 errors:0 dropped:1 overruns:0 frame:0
          TX packets:823 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12515029 (11.9 MiB)  TX bytes:230720 (225.3 KiB)

wlan1     Link encap:Ethernet  HWaddr 80:1f:02:xx:yy:zz
          inet addr:192.168.16.14  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:74921 errors:0 dropped:24 overruns:0 frame:0
          TX packets:385 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13381729 (12.7 MiB)  TX bytes:68028 (66.4 KiB)
and iwconfig shows

Code: Select all

wlan0     IEEE 802.11bg  ESSID:"Network-Name"  Nickname:"<[email protected]>"
          Mode:Managed  Frequency:2.447 GHz  Access Point: 30:46:9A:xx:yy:zz
          Bit Rate:54 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=88/100  Signal level=31/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:"Network-name"  Nickname:"<[email protected]>"
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:0B:3B:xx:yy:zz
          Bit Rate:150 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=98/100  Signal level=44/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Have you run dmesg to see if there are any issues when you boot? iwconfig will show the wifi wireless signal status. Low signal levels could cause issues connecting. Low quality power supplies or poor quality power cables connecting the power supply to the Pi can also cause problems with the wifi connecting as this is when the wifi is likely using the most power.

I have seen the odd problem with wifi not connecting and no have real explanations why. On one occasion I had a wifi that would not connect and I tried the suggestions in my previous post including unplugging it and plugging it back in several times and still it didn't connect but then changing the USB port the wifi was connected to allowed it to connect, but then changing back to using the original USB port and it continued to connect OK. Rather odd and I can't explain why. Interference from other wifi or wireless devices or mobiles could possibly cause problems as well.

Not much help I'm afraid but provided /etc/network/interfaces is set up correctly there should be no real reason the wifi shouldn't connect.


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 “Beginners”