Page 3 of 66

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

Posted: Sun Dec 22, 2013 8:46 pm
by otiumh
MrEngman wrote:Hi otiumh,

I think jmn is probably correct. Check the version of 3.10.24+ you have. Use the command uname -a and I think it will show

Code: Select all

Linux raspberrypi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux
3.10.24+ #614 uses driver 8188eu-20131219.tar.gz

THANK YOU SO MUCH (Muchísimas Gracias) MrEngman. Now it is flashing , and it´s visible when I write "ifconfig", now I have to configure it. Again, thanks a lot, you have made it reality.
Regards.

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

Posted: Sun Dec 22, 2013 10:43 pm
by MrEngman
phl1 wrote:Hello,

I am trying to install a TL WN725N on my new raspberry Pi.
I am in 3.6.11 #538 with a WN725N 0bda:8179.

I have installed 8188eu from 8188eu-20130830.tar.gz.

I can see wifi networks, and my Box, can connect but is not able to have an IP address. I tried with fixed IP, does not work. I have installed Wicd to help the management of wifi and network, no improvement.
Any clue ?

I would like to have confirmation for file: rtl8188eufw.bin is this file required for my version? It is not provided in the tar.gz file: 8188eu-20130830.tar.gz ...
Should I use one ? which one ? I tried to install the one from 20131113 with no success.

Thanks!
Hi phl1,

You do not need the firmware file rtl8188eufw.bin with that version of the driver. That is why it is not included in the tar.gz file.

I have never used wicd to control my wifi and I do not usually use wpa_supplicant.conf either. I find it much simpler to just use file /etc/network/interfaces.

This is the format I normally use

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"
To use a fixed IP use the following format

Code: Select all

auto lo

iface lo inet loopback

iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet static
address 192.168.1.10
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.254
wpa-ssid "network name"
wpa-psk "network password"
The important parts are the address and gateway - your routers address. You will need to select addresses according to your own network. These are just an example.

It's a good idea to reboot after making any changes to the network configuration or you could possibly use the commands

Code: Select all

sudo ifdown --force wlan0
sudo ifup --force wlan0
MrEngman

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

Posted: Mon Dec 23, 2013 3:51 pm
by drj
MrEngman wrote:Updated 8188eu.ko driver now available for 3.10.24+ #614, 8188eu-20131219.tar.gz

See here


MrEngman
Hi MrEngman,

I've got my TP-Link working after following the instructions for 3.10.24+ but after a reboot of the Raspberry the wlan0 interface has disappeared again.
After redoing the last commands below my wlan0 is back up again.
Any suggestions on how to make wlan0 available after a reboot ?

Code: Select all

sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a

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

Posted: Mon Dec 23, 2013 6:17 pm
by MrEngman
drj wrote:
MrEngman wrote:Updated 8188eu.ko driver now available for 3.10.24+ #614, 8188eu-20131219.tar.gz

See here


MrEngman
Hi MrEngman,

I've got my TP-Link working after following the instructions for 3.10.24+ but after a reboot of the Raspberry the wlan0 interface has disappeared again.
After redoing the last commands below my wlan0 is back up again.
Any suggestions on how to make wlan0 available after a reboot ?

Code: Select all

sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
Hmm? I've heard mention of a similar sort of problem before. It may be trying to load an older driver version, although I'm not sure. Do a search for all copies of the file 8188eu.ko and delete all except for /lib/modules/3.10.24+/kernel/drivers/net/wireless/8188eu.ko.

To find all copies of 8188eu.ko use the command

Code: Select all

sudo find / -name 8188eu.ko
This should generate a list of all the 8188eu.ko files. Delete all copies except /lib/modules/3.10.24+/kernel/drivers/net/wireless/8188eu.ko. Then reboot and try again. You will probably need to run the insmod and depmod commands again.

Just a thought but you should probably check the file /etc/network/interfaces to make sure the wlan0 section starts with allow-hotplug wlan0 or auto wlan0, just in case.


MrEngman

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

Posted: Mon Dec 23, 2013 7:52 pm
by drj
MrEngman wrote:
drj wrote:
MrEngman wrote:Updated 8188eu.ko driver now available for 3.10.24+ #614, 8188eu-20131219.tar.gz

Hmm? I've heard mention of a similar sort of problem before. It may be trying to load an older driver version, although I'm not sure. Do a search for all copies of the file 8188eu.ko and delete all except for /lib/modules/3.10.24+/kernel/drivers/net/wireless/8188eu.ko.

MrEngman
That did the trick! There where a few extra 8188eu.ko files floating around. Removing them made the wlan0 interface stick around after a reboot!
Thanks a lot for the great help!!

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

Posted: Mon Dec 23, 2013 8:01 pm
by MrEngman
drj wrote:
MrEngman wrote:Updated 8188eu.ko driver now available for 3.10.24+ #614, 8188eu-20131219.tar.gz

Hmm? I've heard mention of a similar sort of problem before. It may be trying to load an older driver version, although I'm not sure. Do a search for all copies of the file 8188eu.ko and delete all except for /lib/modules/3.10.24+/kernel/drivers/net/wireless/8188eu.ko.

MrEngman
That did the trick! There where a few extra 8188eu.ko files floating around. Removing them made the wlan0 interface stick around after a reboot!
Thanks a lot for the great help!!
Great!! I don't understand why it happens but looks like we have a solution. Can't be bad.


MrEngman

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

Posted: Mon Dec 23, 2013 8:11 pm
by MrEngman
Raspbian has been updated to 3.10.25+.

An updated 8188eu.ko driver is now available for 3.10.25+ #616, 8188eu-20131223.tar.gz

See here.


MrEngman

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

Posted: Fri Dec 27, 2013 2:37 pm
by wiso
Just wanted to say thank you for the continued compilation for the driver for the tl-wn725n v2! I am very new to this, had successfully installed for Occidentalis. Then I updated, and the kernel changed to 3.10.24+. I have now updated the driver once again and everything is working very well. Your instructions are clear and have been a good source of motivation over this end of year tech break.

Thanks MrEngman!

wiso

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

Posted: Sat Dec 28, 2013 6:24 pm
by sveneb
Hi MrEngman

Thanks for all the work you put into keeping this driver up todate. :-)
I have used it for sometime as an wifi accesspoint on an older kernelversion with no problems.
I use a TL-WN723N V3 that is the same as TL-WN725N V2 (0BDA:8179)
I have just installed a fresh image of raspbian (2013-12-20-wheezy) (kernel 3.10.24+ #614),and installed the driver version 8188eu-20131219.tar.gz and I can list my wifi networks fine with iwlist.

But when I install hostapd from http://jenssegers.be/blog/43/realtek-rt ... spberry-pi it failes to startup hostapd. This is the same version that I had working previously with the same configuration file and wifi dongle:

Code: Select all

wget https://github.com/jenssegers/RTL8188-hostapd/archive/v1.1.tar.gz
tar -zxvf v1.1.tar.gz 
cd RTL8188-hostapd-1.1/hostapd
sudo make
sudo make install
When I try to start the hostapd it result in the following:
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported

Code: Select all

root@raspberrypi:~# hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0x166c648
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=100 freq=5500 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=104 freq=5520 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=108 freq=5540 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=112 freq=5560 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=116 freq=5580 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=120 freq=5600 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=124 freq=5620 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=128 freq=5640 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=132 freq=5660 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=136 freq=5680 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=140 freq=5700 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=0 dBm
Completing interface initialization
Mode: IEEE 802.11g  Channel: 13  Frequency: 2472 MHz
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
[b]Flushing old station entries
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Could not connect to kernel driver.
Deauthenticate all stations[/b]
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=0)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=1)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=2)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=3)
Using interface wlan0 with hwaddr a0:f3:c1:2b:ac:5d and ssid 'VISK'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=4):
     56 49 53 4b                                       VISK            
PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
rtl871x_set_wps_assoc_resp_ie
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
random: Got 20/20 bytes from /dev/random
Get randomness: len=32 entropy=0
GMK - hexdump(len=32): [REMOVED]
Get randomness: len=32 entropy=0
Key Counter - hexdump(len=32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Get randomness: len=16 entropy=0
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
rtl871x_set_beacon_ops
rtl871x_set_hidden_ssid_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set beacon head/tail or DTIM period
wlan0: Setup of interface done.
This is the contents of my hostapd.conf file:

Code: Select all

# Basic configuration
interface=wlan0
ssid=VISK
channel=13
#bridge=br0

# WPA and WPA2 configuration
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=raspberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

# Hardware configuration
driver=rtl871xdrv
ieee80211n=1
hw_mode=g
device_name=RTL8192CU
manufacturer=Realtek
I have seen this reported earlier, but I have never seen a solution or a workaround.

Anybody that has a solution?
Thanks in advance
sveneb

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

Posted: Sat Dec 28, 2013 8:03 pm
by MrEngman
sveneb wrote:Hi MrEngman

Thanks for all the work you put into keeping this driver up todate. :-)
I have used it for sometime as an wifi accesspoint on an older kernelversion with no problems.
I use a TL-WN723N V3 that is the same as TL-WN725N V2 (0BDA:8179)
I have just installed a fresh image of raspbian (2013-12-20-wheezy) (kernel 3.10.24+ #614),and installed the driver version 8188eu-20131219.tar.gz and I can list my wifi networks fine with iwlist.

But when I install hostapd from http://jenssegers.be/blog/43/realtek-rt ... spberry-pi it failes to startup hostapd. This is the same version that I had working previously with the same configuration file and wifi dongle:

I have seen this reported earlier, but I have never seen a solution or a workaround.

Anybody that has a solution?
Thanks in advance
sveneb
Hi sveneb,

Thanks for your comments about the driver.

I tried to set mine up as an AP a week or two ago and had problems as well and couldn't get it to work. I used the hostapd source included with the 8188eu driver source code I use to compile the driver which is available at https://github.com/lwfinger/rtl8188eu.

I'll have another look and see if I can get it running again as I have had it working some time ago with on an older version of Linux.


MrEngman

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

Posted: Sun Dec 29, 2013 8:31 pm
by pongolongo
I am completely new to all of this so I have no clue what is going wrong so if I could have any help it would be much appreciated. My kernel number or whatever it is called is 3.10.25+. Okay, so when i put the code into the LXTerminal this is what I get:

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz 
--2013-12-29 20:25:56--  https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.53.200
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.53.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[======================================>] 315,343      243K/s   in 1.3s    

2013-12-29 20:26:03 (243 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz                                         
tar (child): 8188eu-20131223.tar.gz : Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
pi@raspberrypi ~ $ cat README                                                               
cat: README : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
pi@raspberrypi ~ $ sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi                            
cp: target ` ' is not a directory
pi@raspberrypi ~ $ sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
install: cannot stat `8188eu.ko': No such file or directory
pi@raspberrypi ~ $ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Error: could not insert module /lib/modules/3.10.25+/kernel/drivers/net/wireless/8188eu.ko: Invalid module format
pi@raspberrypi ~ $ sudo depmod -a
pi@raspberrypi ~ $ 
I have no clue what any of that means or what the errors are, so if I am doing anything wrong or there is any help I can be given, again, it would be much appreciated, thanks.
Pongo

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

Posted: Sun Dec 29, 2013 8:41 pm
by pongolongo
I am completely new to all of this so I have no clue what is going wrong so if I could have any help it would be much appreciated. My kernel number or whatever it is called is 3.10.25+. Okay, so when i put the code into the LXTerminal this is what I get:

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz 
--2013-12-29 20:25:56--  https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.53.200
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.53.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[======================================>] 315,343      243K/s   in 1.3s    

2013-12-29 20:26:03 (243 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz                                         
tar (child): 8188eu-20131223.tar.gz : Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
pi@raspberrypi ~ $ cat README                                                               
cat: README : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
pi@raspberrypi ~ $ sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi                            
cp: target ` ' is not a directory
pi@raspberrypi ~ $ sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
install: cannot stat `8188eu.ko': No such file or directory
pi@raspberrypi ~ $ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Error: could not insert module /lib/modules/3.10.25+/kernel/drivers/net/wireless/8188eu.ko: Invalid module format
pi@raspberrypi ~ $ sudo depmod -a
pi@raspberrypi ~ $ 
I have no clue what any of that means or what the errors are, so if I am doing anything wrong or there is any help I can be given, again, it would be much appreciated, thanks.
Pongo

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

Posted: Sun Dec 29, 2013 10:39 pm
by MrEngman
pongolongo wrote:I am completely new to all of this so I have no clue what is going wrong so if I could have any help it would be much appreciated. My kernel number or whatever it is called is 3.10.25+. Okay, so when i put the code into the LXTerminal this is what I get:

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz 
--2013-12-29 20:25:56--  https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.53.200
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.53.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[======================================>] 315,343      243K/s   in 1.3s    

2013-12-29 20:26:03 (243 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz                                         
tar (child): 8188eu-20131223.tar.gz : Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
pi@raspberrypi ~ $ cat README                                                               
cat: README : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
cat:  : No such file or directory
pi@raspberrypi ~ $ sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi                            
cp: target ` ' is not a directory
pi@raspberrypi ~ $ sudo install -p -m 644 8188eu.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
install: cannot stat `8188eu.ko': No such file or directory
pi@raspberrypi ~ $ sudo insmod /lib/modules/$(uname -r)/kernel/drivers/net/wireless/8188eu.ko
Error: could not insert module /lib/modules/3.10.25+/kernel/drivers/net/wireless/8188eu.ko: Invalid module format
pi@raspberrypi ~ $ sudo depmod -a
pi@raspberrypi ~ $ 
I have no clue what any of that means or what the errors are, so if I am doing anything wrong or there is any help I can be given, again, it would be much appreciated, thanks.
Pongo
I'm not sure what's going on here but the download command wget is either storing the file in some other directory or is not actually doing the download because the remaining commands are reporting errors that the files needed do not exist. What do you see if you run the command ls. It should show the file in the directory.

I usually do not use the gui and run directly from a text terminal but I tried using startx and running the LXTerminal and had no problem with downloading

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz
--2013-12-29 21:57:45--  https://dl.dropboxusercontent.com/u/80256631/8188eu-20131223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 54.243.118.205
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|54.243.118.205|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[==============================================================================================>] 315,343      471K/s   in 0.7s

2013-12-29 21:57:54 (471 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz
8188eu.ko
rtl8188eufw.bin
README
pi@raspberrypi ~ $
I downloaded the file and tried to untar it and everything was OK. I didn't continue with the install because the driver is already install but I expect it would install without problems and the remaining commands would be OK as the files needed are present.

It is behaving as though the file 8188eu-20131223.tar.gz does not exist, at least not where it should be. Try downloading again. What do you see if you use the command ls after doing the download and before running tar -xzvf ....

If you see the file 8188eu-20131223.tar.gz then try the tar -xzvf and see what happens to that command. You should see three filenames listed as the files are untarred from 8188eu-20131223.tar.gz.


MrEngman

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

Posted: Sun Dec 29, 2013 10:52 pm
by pongolongo
I did as you said and I think it worked this time? Thanks!
pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/802 ... 223.tar.gz
--2013-12-29 22:50:00-- https://dl.dropboxusercontent.com/u/802 ... 223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.86.153
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.86.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[======================================>] 315,343 267K/s in 1.2s

2013-12-29 22:50:07 (267 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ ls
8188eu-20131223.tar.gz Desktop indiecity ocr_pi.png python_games wget-log
pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz
8188eu.ko
rtl8188eufw.bin
README
pi@raspberrypi ~ $

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

Posted: Sun Dec 29, 2013 10:54 pm
by MrEngman
pongolongo wrote:I did as you said and I think it worked this time? Thanks!
pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/802 ... 223.tar.gz
--2013-12-29 22:50:00-- https://dl.dropboxusercontent.com/u/802 ... 223.tar.gz
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.86.153
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.86.153|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 315343 (308K) [application/octet-stream]
Saving to: `8188eu-20131223.tar.gz'

100%[======================================>] 315,343 267K/s in 1.2s

2013-12-29 22:50:07 (267 KB/s) - `8188eu-20131223.tar.gz' saved [315343/315343]

pi@raspberrypi ~ $ ls
8188eu-20131223.tar.gz Desktop indiecity ocr_pi.png python_games wget-log
pi@raspberrypi ~ $ tar -zxvf 8188eu-20131223.tar.gz
8188eu.ko
rtl8188eufw.bin
README
pi@raspberrypi ~ $
Looks OK from here.


MrEngman

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

Posted: Tue Dec 31, 2013 1:10 pm
by cecchisandrone
Thank you...it works!

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

Posted: Wed Jan 01, 2014 5:30 pm
by Logimus
Thank you very much for this driver and guide on how to get my TL-WN725N V2 working on Rasbian !
It took me several days of reading on several forums and fiddling around with my Rasberry to get this stick (V2) working on Rasbian 3.10.24. This was the only place that gave correct information on how to get it working. THANK YOU !
I hereby wish all the best to you and all 'Raspberians' out there for 2014 !

(proud owner of 3 Raspberries (B), one as dedicated XBMC mediaplayer, connected to TV with plex-plugin making use of OVM as Plexserver on a HP Proliant witch holds all the media, one running squeezeplug as LMS Spotify streamer, and finally a wireless one thanks to MrEngman that will be used during the summer outside during bbq's as a sqeezelite player for spotify and occasional movie projections with a beamer.) Why buy an expensive audio/video/multiroom system if you can make it all by yourself using an magnificent piece of hardware called 'Raspberry' and some willpower to get it all working...

Logimus

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

Posted: Wed Jan 01, 2014 6:58 pm
by MrEngman
Logimus wrote:Thank you very much for this driver and guide on how to get my TL-WN725N V2 working on Rasbian !
It took me several days of reading on several forums and fiddling around with my Rasberry to get this stick (V2) working on Rasbian 3.10.24. This was the only place that gave correct information on how to get it working. THANK YOU !
I hereby wish all the best to you and all 'Raspberians' out there for 2014 !

(proud owner of 3 Raspberries (B), one as dedicated XBMC mediaplayer, connected to TV with plex-plugin making use of OVM as Plexserver on a HP Proliant witch holds all the media, one running squeezeplug as LMS Spotify streamer, and finally a wireless one thanks to MrEngman that will be used during the summer outside during bbq's as a sqeezelite player for spotify and occasional movie projections with a beamer.) Why buy an expensive audio/video/multiroom system if you can make it all by yourself using an magnificent piece of hardware called 'Raspberry' and some willpower to get it all working...

Logimus
Thank you. Have fun with your Pi.


MrEngman

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

Posted: Thu Jan 02, 2014 7:57 pm
by svent
There should be a prize for MrEngman!
Thank You so much.
I lost Wifi after an apt-get upgrade.
10 minutes and this thread and I`m back on Wifi.

/Sven

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

Posted: Fri Jan 03, 2014 1:18 am
by LaFambe
attached is an updated version of the "automatic download and install script": version information is fetched directly from the initial post in this topic, and firmware is systematically installed if present in tarball. Use install-8188eu.sh to download and install the proper driver for the rpi you run from. Use install-8188eu.sh -k <kernel build> to select the closest available driver version in case no exact match is found for the local kernel. install-8188eu.sh -l shows a list of available driver versions.

pi@raspberrypi ~ $ ./install-8188eu.sh -h
usage: install-8188eu.sh [-k|--kernel <kernel build>] [-l|--list]

UPDATE: fixed version of the script attached.
INSTALL: pi@raspberrypi ~ $ curl -s http://www.raspberrypi.org/phpBB3/download/file.php?id=5536 | tar xz

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

Posted: Fri Jan 03, 2014 1:46 am
by MrEngman
Hi LaFambe,

Really clever. I like it.

Just tried it with the lastest update 02/01/2014 #618 and it makes things really easy.

Must make sure I keep the post updated when kernel versions get updated.


MrEngman

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

Posted: Fri Jan 03, 2014 8:29 am
by LaFambe
MrEngman wrote: Really clever. I like it.
Thanks ! Glad if this can help. Fell free to advertise this install method in the head of the topic if/when you deem appropriate. I would suggest pointing directly to the (latest) tgz attachment (http://www.raspberrypi.org/phpBB3/downl ... hp?id=5536), to keep things stupid simple and in one place, but you may as well upload the script to your dropbox; or I can create a github project.
MrEngman wrote: Must make sure I keep the post updated when kernel versions get updated.
Option -k provides a way to cope with ever-changing kernel builds, but we could instruct the script to guess the nearest compatible tarball.

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

Posted: Sun Jan 05, 2014 5:55 pm
by matakapo
Hi everyone,
I have exactly the same problem as poogle and I find no solution on the forum, any idea?
I use the driver rtl8188eu drivers for 03.10.25 + provided by MrEngman
http://www.raspberrypi.org/phpBB3/viewt ... 82#p462982

The dongle works well as a client but I can not run in AP

Code: Select all

pi@raspberrybob ~ $ uname -a
Linux raspberrybob 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux
When running

Code: Select all

pi@raspberrybob ~/scripts $ sudo hostapd -dd /etc/hostapd/hostapd.conf
I get this output, and i can't see any wifi ssid on my other devices.

Code: Select all

pi@raspberrybob ~/scripts $ sudo hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0xac3648
BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=12 freq=2467 MHz max_tx_power=0 dBm
Allowed channel: mode=1 chan=13 freq=2472 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=0 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=36 freq=5180 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=40 freq=5200 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=44 freq=5220 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=48 freq=5240 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=52 freq=5260 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=56 freq=5280 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=60 freq=5300 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=64 freq=5320 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=100 freq=5500 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=104 freq=5520 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=108 freq=5540 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=112 freq=5560 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=116 freq=5580 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=120 freq=5600 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=124 freq=5620 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=128 freq=5640 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=132 freq=5660 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=136 freq=5680 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=140 freq=5700 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=149 freq=5745 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=153 freq=5765 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=157 freq=5785 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=161 freq=5805 MHz max_tx_power=0 dBm
Allowed channel: mode=2 chan=165 freq=5825 MHz max_tx_power=0 dBm
Completing interface initialization
Mode: IEEE 802.11g  Channel: 1  Frequency: 2412 MHz
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x1
RATE[3] rate=110 flags=0x1
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Flushing old station entries
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Could not connect to kernel driver.
Deauthenticate all stations
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=0)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=1)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=2)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
Failed to clear default encryption keys (ifname=wlan0 keyidx=3)
Using interface wlan0 with hwaddr 64:66:b3:25:9e:29 and ssid 'bystoufly'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=9):
     62 79 73 74 6f 75 66 6c 79                        bystoufly
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
rtl871x_set_wps_assoc_resp_ie
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
random: Got 20/20 bytes from /dev/random
Get randomness: len=32 entropy=0
GMK - hexdump(len=32): [REMOVED]
Get randomness: len=32 entropy=0
Key Counter - hexdump(len=32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Get randomness: len=16 entropy=0
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
rtl871x_set_key_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
rtl871x_set_beacon_ops
rtl871x_set_hidden_ssid_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set beacon head/tail or DTIM period
wlan0: Setup of interface done.
^CSignal 2 received - terminating
Flushing old station entries
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Could not connect to kernel driver.
Deauthenticate all stations
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
ELOOP: remaining socket: sock=6 eloop_data=0xac36b8 user_data=(nil) handler=0x29df0
I guess that it's not a good think

Code: Select all

ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Could not connect to kernel driver.
Deauthenticate all stations
Please help me before i throw out the pi across the room!! ;)

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

Posted: Sun Jan 05, 2014 9:54 pm
by dlivingstone
Just want to add myself to the folk thanking you for these incredibly helpful instructions - and the downloads themselves of course!

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

Posted: Sun Jan 05, 2014 10:23 pm
by MrEngman
matakapo wrote:Hi everyone,
I have exactly the same problem as poogle and I find no solution on the forum, any idea?
I use the driver rtl8188eu drivers for 03.10.25 + provided by MrEngman
http://www.raspberrypi.org/phpBB3/viewt ... 82#p462982

The dongle works well as a client but I can not run in AP


Please help me before i throw out the pi across the room!! ;)
There have been a number of people trying to get the WN725N V2 and similar devices working as an AP. I haven't seen anything specific for the rtl8188eu driver but this may help although you will probably need to use the hostapd module that comes with the rtl8188eu driver source available here.


MrEngman