Giter Site home page Giter Site logo

rtl8188eu's Introduction

IMPORTANT - PLEASE READ:

Beginning on November 4, 2019, I will NO LONGER support people that have downloaded the source as a zip file. Using git has much more flexibility. In addition, there is much less likelihood that a user will contact me with a problem that is ALREADY fixed.

If your system says that /lib/modules/...../build does not exist, you have not installed the kernel headers, you have done it incorrectly, or you are not running the kernel for which the headers have been installed. The necessary steps are dependent on which distro you are using. Creating a new issue and asking at GitHub will not be productive.

Your kernel configuration MUST have CONFIG_WIRELESS_EXT set.

Unsolicited E-mail sent to my private address will be ignored!!

If a build fails that previously worked, perform a 'git pull' and retry before reporting a problem. As noted, if you had downloaded the source in zip form, then you would need to get an entirely new source file. That is why using git, which downloads only the changed lines, is required.

rtl8188eu

Repository for the stand-alone RTL8188EU driver.

Compiling & Building

Dependencies

To compile the driver, you need to have make and a compiler installed. In addition, you must have the kernel headers installed. If you do not understand what this means, consult your distro.

Compiling

make all

Installing

sudo make install

Submitting Issues

Frequently asked Questions

The network manager says: "Device is not ready"!

Make sure you copied the firmware (rtl8188eufw.bin) to /lib/firmware/rtlwifi/

NetworkManager does not list SSID

NetworkManager changes the Wi-Fi MAC address during scanning to improve privacy but this adapter does not support it. To address this issue, please create /etc/NetworkManager/conf.d/80-wifi.conf with content:

[device]
wifi.scan-rand-mac-address=no

and run systemctl restart NetworkManager

rtl8188eu's People

Contributors

amal avatar angelofsky1980 avatar atiti avatar bradguru2 avatar etanot avatar fiadosau avatar hadess avatar kompiro avatar kovi avatar lwfinger avatar machinekoder avatar manugupt1 avatar milhousevh avatar noltari avatar purcola avatar rizwan-hasan avatar ryanel avatar shaun2029 avatar sim0nx avatar stsp avatar timarmstrong avatar twinshadow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rtl8188eu's Issues

Error inserting 8188eu

Module is correctly compiled, but when I execute modprobe 8188eu command I receive the following error message:

Error inserting 8188eu (/lib/modules/3.8.0-29-generic/kernel/net/wireless/8188eu.ko): Unknown symbol in module, or unknown parameter (see dmesg)

I'm trying to install this driver on Ubuntu 12.04 with kernel revision 3.8.0.29.

Do you know the cause of this error?

Thank you

Issue #3 reintroduced on in-kernel driver

Hi,

it seems that the same problem reported in #3 was reintroduced on the in-kernel version of this driver.

I had to build 3695d58 manually to get hostapd working.

The error is exactly the same of #3, then I'm not attaching any logs, just asking you to check if that fix made it way to the mainline kernel.

[]s

Poor link quality and constant disassociations

This is more of a mailing list question. I would like some help debugging an issue with the 8188eu driver being used on an Ubuntu 13.10 x64 running the 3.11.0-12 kernel. I have the driver compiled (after applying patch located in another issue) and installed. I'm using wpa_supplicant to connect to an AP using WPA2. The connection seems to work but it will immediately disconnect. Here's a sampling of wpa_cli output:

<3>CTRL-EVENT-DISCONNECTED bssid=5c:0e:8b:14:b9:00 reason=0
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>Trying to associate with b4:c7:99:64:17:20 (SSID='soon01' freq=2437 MHz)
<3>Association request to the driver failed
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>Associated with 5c:0e:8b:14:b9:00
<3>WPA: Key negotiation completed with 5c:0e:8b:14:b9:00 [PTK=CCMP GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to 5c:0e:8b:14:b9:00 completed (reauth) [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=5c:0e:8b:14:b9:00 reason=0
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>Trying to associate with b4:c7:99:64:17:20 (SSID='soon01' freq=2437 MHz)
<3>Association request to the driver failed
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>Associated with 00:00:00:00:0000
<3>CTRL-EVENT-DISCONNECTED bssid=b4:c7:99:64:17:20 reason=0
<3>CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0

And here's a sampling of /var/log/syslog

Feb 10 07:17:54 ca03lw130134 kernel: [335609.182675] R8188EU: ERROR sta recv deauth reason code(2) sta:b4:c7:99:64:17:20
Feb 10 07:17:54 ca03lw130134 kernel: [335609.189938] R8188EU: ERROR indicate disassoc
Feb 10 07:17:59 ca03lw130134 kernel: [335614.220021] R8188EU: ERROR indicate disassoc
Feb 10 07:18:02 ca03lw130134 kernel: [335617.288022] R8188EU: ERROR indicate disassoc
Feb 10 07:18:06 ca03lw130134 kernel: [335621.144023] R8188EU: ERROR indicate disassoc
Feb 10 07:18:09 ca03lw130134 kernel: [335624.112023] R8188EU: ERROR indicate disassoc
Feb 10 07:18:12 ca03lw130134 kernel: [335627.092022] R8188EU: ERROR indicate disassoc
Feb 10 07:18:20 ca03lw130134 kernel: [335635.328689] R8188EU: ERROR assoc success
Feb 10 07:20:44 ca03lw130134 kernel: [335778.933979] R8188EU: ERROR sta recv deauth reason code(2) sta:5c:0e:8b:14:b9:00
Feb 10 07:20:44 ca03lw130134 kernel: [335778.941239] R8188EU: ERROR indicate disassoc
Feb 10 07:20:48 ca03lw130134 kernel: [335782.960022] R8188EU: ERROR indicate disassoc
Feb 10 07:20:51 ca03lw130134 kernel: [335786.032023] R8188EU: ERROR indicate disassoc
Feb 10 07:20:55 ca03lw130134 kernel: [335790.632023] R8188EU: ERROR indicate disassoc

Signal strength seems to fluctuate between -74dBm and -50dBm but link quality tends to be always very low. Granted, with constant disconnections I'm not sure that link quality is an accurate measure. Do I need a driver parameter? Is this a voltage problem with USB? Or a misconfiguration of wpa_supplicant?

sudo iw does not list device

Hello,

Just wanted to check if this is expected behaviour:

sudo lshw
.
.
.
*-network DISABLED
description: Wireless interface
physical id: 1
bus info: usb@1:4
logical name: wlan0
serial: d8:fe:e3:57:6d:7d
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated


smart_sudo iw list


smart_sudo ip link list
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
link/ether 60:a4:4c:ac:91:94 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
link/ether d8:fe:e3:57:6d:7d brd ff:ff:ff:ff:ff:ff

Thanks
Joe

could not find the shared wifi

I had started the hostapd, but when using an andriod phone, it could not find the shared wifi? what is the problem? thanks!

the content of hostapd.conf under /etc/hostapd/hostapd.conf

[qinmao@localhost ~]$ sudo cat /etc/hostapd/hostapd.conf
[sudo] password for qinmao:
interface=wlan1
driver=rtl871xdrv
bridge=br0
ssid=shingocat
channel=6
wmm_enabled=0
wpa=1
wpa_passphrase=8221016cat
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0

starting the hostapd

[qinmao@localhost ~]$ sudo hostapd -dd /etc/hostapd/hostapd.conf
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=4
Configure bridge br0 for EAPOL traffic.
l2_packet_init: ioctl[SIOCGIFINDEX]: No such device
no br0 interface , let l2_sock_recv==l2_sock_xmit=0x0x1ab6ed0
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=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.11b Channel: 6 Frequency: 2437 MHz
RATE[0] rate=10 flags=0x1
RATE[1] rate=20 flags=0x1
RATE[2] rate=55 flags=0x0
RATE[3] rate=110 flags=0x0
Flushing old station entries
Deauthenticate all stations
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2
rtl871x_set_key_ops
rtl871x_set_key_ops
rtl871x_set_key_ops
rtl871x_set_key_ops
Using interface wlan1 with hwaddr 0c:72:2c:f4:eb:fa and ssid 'shingocat'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=9):
73 68 69 6e 67 6f 63 61 74 shingocat
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
rtl871x_set_wps_assoc_resp_ie
rtl871x_set_wps_beacon_ie
rtl871x_set_wps_probe_resp_ie
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
rtl871x_set_beacon_ops
wlan1: Setup of interface done.
Wireless event: cmd=0x8b06 len=12
Wireless event: cmd=0x8b15 len=24
Wireless event: cmd=0x8b15 len=24
Wireless event: cmd=0x8b19 len=16
Wireless event: cmd=0x8b19 len=16
Wireless event: cmd=0x8b19 len=16
Wireless event: cmd=0x8b19 len=16
Wireless event: cmd=0x8b19 len=16

TP-Link TL-WN725N not working on latest Ubuntu

Hi,

I looked through the current issues, but none of them described my issue.

I am using Ubuntu 13.10 3.11.0-13-generic kernel.

The latest commit of your driver I used is f4d1258.

After pulling the latest master branch and compiling your driver it stopped working. The network manager says: "Device is not ready". I see it in the usb devices list, but cannot get it work. I reverted to the mentioned commit for now, but I don't know what the next step is.

Unusable after upgrading to Fedora 19

I had fedora 16 (3.6.11 kernel) and my TP-Link wireless usb used to work fine with the old repo of 8188eu driver (where I had to download firm and linux separately). Recently I upgraded my desktop to use fedora 19 and I downloaded 8188eu driver from this repo as the old one was not working with fedora 19 kernel (couldn't find daemonize and I think thread_start on insmod).

Now on fedora 19 (3.11.9), I get a bad connection with the usb wireless. Whenever I reset the connection, it works for 3/4 seconds and then just stops. You can see the dmesg output below. If you need some more info please let me know. How can I fix this issue?

$ dmesg

[38402.961069] usb 2-4: new high-speed USB device number 5 using ehci-pci
[38403.076277] usb 2-4: New USB device found, idVendor=0bda, idProduct=8179
[38403.076290] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[38403.076297] usb 2-4: Product: 802.11n NIC
[38403.076303] usb 2-4: Manufacturer: Realtek
[38403.076308] usb 2-4: SerialNumber: 00E04C0001
[38403.076950] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[38403.177354] systemd-udevd[5761]: renamed network interface wlan0 to wlan1
[38403.894250] MAC Address = 64:66:b3:1a:64:e0
[38403.919127] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[38403.938419] R8188EU: ERROR indicate disassoc
[38403.941479] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[38403.951257] R8188EU: ERROR indicate disassoc
[38403.953526] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[38406.911808] R8188EU: ERROR assoc success
[38406.911923] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[38488.524636] R8188EU: ERROR indicate disassoc
[38491.587050] R8188EU: ERROR assoc success
[38682.819340] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[38682.824835] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[38682.855796] R8188EU: ERROR indicate disassoc
[38684.398592] R8188EU: ERROR assoc success
[38983.734360] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[38983.771188] R8188EU: ERROR indicate disassoc
[38985.567311] R8188EU: ERROR assoc success
[39284.655279] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39284.696548] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39284.698483] R8188EU: ERROR indicate disassoc
[39287.246953] R8188EU: ERROR assoc success
[39405.014530] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39405.055691] R8188EU: ERROR indicate disassoc
[39407.178288] R8188EU: ERROR assoc success
[39467.199528] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39467.249007] R8188EU: ERROR indicate disassoc
[39468.875185] R8188EU: ERROR assoc success
[39585.557906] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39585.611565] R8188EU: ERROR indicate disassoc
[39587.373834] R8188EU: ERROR assoc success
[39703.923884] R8188EU: ERROR sta recv deauth reason code(7) sta:44:32:c8:84:ae:04
[39703.971968] R8188EU: ERROR indicate disassoc
[39705.665602] R8188EU: ERROR assoc success

losing wireless connection every 10 mins

Hello,

I am losing the wireless network connection every 10 minutes. I cannot ping even the default gateway.

Please let me know if I can provide any more information.

I did not see any information pertaining to this issue in syslog with "debug = 4". With debug = 5, there was way a lot of information. I am not sure how much of it is relevant, hence I am not attaching it. Please let me know if you need it.


sudo modprobe r8188eu debug=4 rtw_power_mgnt=0 # loaded the module


uname -a
Linux bnglr 3.15.0-rc3 #28 SMP Sat May 3 23:00:12 IST 2014 x86_64 AMD A10-5800K APU with Radeon(tm) HD Graphics AuthenticAMD GNU/Linux


lsusb -d 2001:3310 --verbose

Bus 001 Device 003: ID 2001:3310 D-Link Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2001 D-Link Corp.
idProduct 0x3310
bcdDevice 0.00
iManufacturer 1 Realtek
iProduct 2 DWA-123 11n Adapter
iSerial 3 D8FEE3576D7D
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled

  • (0:i:~) - - - - - - - - - - - - - - - - - - - - - - - - - - -
    test script for checking the connection loss:
    #!/bin/sh

echo "-------------------------------------------------------"
echo $(TZ=America/Chicago date +"=== %a %b %d %T %Z --" && TZ=Greenwich date +"%a %b %d %T %Z -- " && TZ=Asia/Calcutta date +"%a %b %d %T %Z ===")

ping -I "$1" -c 1 www.google.com && exit 0
|| ( echo "$(date): CANNOT ping www.google.com"
| sudo tee --append /dev/tty1 )

ping -I "$1" -c 1 192.168.0.1 && exit 0
|| ( echo "$(date): CANNOT ping internet modem at 192.168.0.1"
| sudo tee --append /dev/tty1 )

wpa_cli status
ip route list

exit 0

  • (0:i:~) - - - - - - - - - - - - - - - - - - - - - - - - - - -

    log extract of the above test script

    === Sat May 03 21:54:01 CDT -- Sun May 04 02:54:01 GMT -- Sun May 04 08:24:01 IST ===
    PING www.google.com (74.125.236.176) from 192.168.0.100 wlan0: 56(84) bytes of data.
    64 bytes from maa03s16-in-f16.1e100.net (74.125.236.176): icmp_seq=1 ttl=56 time=11.6 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 11.663/11.663/11.663/0.000 ms

=== Sat May 03 21:56:01 CDT -- Sun May 04 02:56:01 GMT -- Sun May 04 08:26:01 IST ===
PING www.google.com (74.125.236.178) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_seq=1 ttl=56 time=9.36 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 9.368/9.368/9.368/0.000 ms

=== Sat May 03 21:58:01 CDT -- Sun May 04 02:58:01 GMT -- Sun May 04 08:28:01 IST ===
PING www.google.com (74.125.236.177) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f17.1e100.net (74.125.236.177): icmp_seq=1 ttl=56 time=12.1 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 12.155/12.155/12.155/0.000 ms

=== Sat May 03 22:00:01 CDT -- Sun May 04 03:00:01 GMT -- Sun May 04 08:30:01 IST ===
PING www.google.com (74.125.236.176) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f16.1e100.net (74.125.236.176): icmp_seq=1 ttl=56 time=9.30 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 9.302/9.302/9.302/0.000 ms

=== Sat May 03 22:02:01 CDT -- Sun May 04 03:02:01 GMT -- Sun May 04 08:32:01 IST ===
PING www.google.com (74.125.236.177) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- www.google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:32:11 IST 2014: CANNOT ping www.google.com
PING 192.168.0.1 (192.168.0.1) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:32:21 IST 2014: CANNOT ping internet modem at 192.168.0.1
Selected interface 'wlan0'
bssid=64:70:02:91:00:b0
ssid=
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.0.100
address=
default via 192.168.0.1 dev eth0 metric 202
default via 192.168.0.1 dev wlan0 metric 205
127.0.0.0/8 dev lo scope host
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.102 metric 202

192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.100 metric 205

=== Sat May 03 22:04:01 CDT -- Sun May 04 03:04:01 GMT -- Sun May 04 08:34:01 IST ===
PING www.google.com (74.125.236.176) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f16.1e100.net (74.125.236.176): icmp_seq=1 ttl=56 time=12.9 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 12.909/12.909/12.909/0.000 ms

=== Sat May 03 22:06:01 CDT -- Sun May 04 03:06:01 GMT -- Sun May 04 08:36:01 IST ===
PING www.google.com (74.125.236.177) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f17.1e100.net (74.125.236.177): icmp_seq=1 ttl=56 time=21.1 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 21.115/21.115/21.115/0.000 ms

=== Sat May 03 22:08:01 CDT -- Sun May 04 03:08:01 GMT -- Sun May 04 08:38:01 IST ===
PING www.google.com (74.125.236.180) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f20.1e100.net (74.125.236.180): icmp_seq=1 ttl=56 time=10.8 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 10.862/10.862/10.862/0.000 ms

=== Sat May 03 22:10:01 CDT -- Sun May 04 03:10:01 GMT -- Sun May 04 08:40:01 IST ===
PING www.google.com (74.125.236.178) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_seq=1 ttl=56 time=9.94 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 9.940/9.940/9.940/0.000 ms

=== Sat May 03 22:12:01 CDT -- Sun May 04 03:12:01 GMT -- Sun May 04 08:42:01 IST ===
PING www.google.com (74.125.236.178) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- www.google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:42:11 IST 2014: CANNOT ping www.google.com
PING 192.168.0.1 (192.168.0.1) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:42:21 IST 2014: CANNOT ping internet modem at 192.168.0.1
Selected interface 'wlan0'
bssid=64:70:02:91:00:b0
ssid=
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.0.100
address=
default via 192.168.0.1 dev eth0 metric 202
default via 192.168.0.1 dev wlan0 metric 205
127.0.0.0/8 dev lo scope host
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.102 metric 202

192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.100 metric 205

=== Sat May 03 22:14:01 CDT -- Sun May 04 03:14:01 GMT -- Sun May 04 08:44:01 IST ===
PING www.google.com (74.125.236.179) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f19.1e100.net (74.125.236.179): icmp_seq=1 ttl=56 time=11.7 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 11.788/11.788/11.788/0.000 ms

=== Sat May 03 22:16:01 CDT -- Sun May 04 03:16:01 GMT -- Sun May 04 08:46:01 IST ===
PING www.google.com (74.125.236.180) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f20.1e100.net (74.125.236.180): icmp_seq=1 ttl=56 time=9.37 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 9.371/9.371/9.371/0.000 ms

=== Sat May 03 22:18:01 CDT -- Sun May 04 03:18:01 GMT -- Sun May 04 08:48:01 IST ===
PING www.google.com (74.125.236.180) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- www.google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:48:11 IST 2014: CANNOT ping www.google.com
PING 192.168.0.1 (192.168.0.1) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=7.22 ms

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 7.220/7.220/7.220/0.000 ms

=== Sat May 03 22:20:01 CDT -- Sun May 04 03:20:01 GMT -- Sun May 04 08:50:01 IST ===
PING www.google.com (74.125.236.180) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f20.1e100.net (74.125.236.180): icmp_seq=1 ttl=56 time=11.4 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 11.434/11.434/11.434/0.000 ms

=== Sat May 03 22:22:01 CDT -- Sun May 04 03:22:01 GMT -- Sun May 04 08:52:01 IST ===
PING www.google.com (74.125.236.178) from 192.168.0.100 wlan0: 56(84) bytes of data.
64 bytes from maa03s16-in-f18.1e100.net (74.125.236.178): icmp_seq=1 ttl=56 time=12.3 ms

--- www.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 12.349/12.349/12.349/0.000 ms

=== Sat May 03 22:24:01 CDT -- Sun May 04 03:24:01 GMT -- Sun May 04 08:54:01 IST ===
PING www.google.com (74.125.236.178) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- www.google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:54:11 IST 2014: CANNOT ping www.google.com
PING 192.168.0.1 (192.168.0.1) from 192.168.0.100 wlan0: 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Sun May 4 08:54:21 IST 2014: CANNOT ping internet modem at 192.168.0.1
Selected interface 'wlan0'
bssid=64:70:02:91:00:b0
ssid=
id=0
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=192.168.0.100
address=
default via 192.168.0.1 dev eth0 metric 202
default via 192.168.0.1 dev wlan0 metric 206
127.0.0.0/8 dev lo scope host
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.102 metric 202

192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.100 metric 206

Thanks
Joe

~~~ MAC IOL_exec_cmds Failed !!!

I am working with Fedora 12, kernel version 2.6.32.26-175. In order to use some legacy code that only works with this old kernel, I had to install TL-WN725N v2 on my old linux desktop. I can compile and install the driver. But seems like it did not work. dmesg shows error like "~~~ MAC IOL_exec_cmds Failed !!!". I am wondering if this kernel version is supported or if I did anything wrong. It worked fine on Windows. Thanks. Below are some more information:

dmesg:

usb 1-3: new high speed USB device using ehci_hcd and address 4
usb 1-3: New USB device found, idVendor=0bda, idProduct=8179
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3: Product: 802.11n NIC
usb 1-3: Manufacturer: Realtek
usb 1-3: SerialNumber: 00E04C0001
usb 1-3: configuration #1 chosen from 1 choice


r8188eu 1-3:1.0: firmware: requesting rtlwifi/rtl8188eufw.bin
R8188EU: Firmware Version 11, SubVersion 1, Signature 0x88e1

.....
r8188eu 1-3:1.0: firmware: requesting rtlwifi/rtl8188eufw.bin
~~~ MAC IOL_exec_cmds Failed !!!
~~~ MAC IOL_exec_cmds Failed !!!
# lsusb

Bus 001 Device 005: ID 0bda:8179 Realtek Semiconductor Corp. 
# iwconfig

wlan0     unassociated  Nickname:"WIFI@REALTEK"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated  
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Compiling sources.

Hi,

I know that this is not an issue. But... is possible add to repo a readme for compile and install this driver? I don't have experience for this!

Thank you!

Can not build a Soft-AP using hostapd

Try to build a Soft-AP with rtl8188eu, but it failed.
My steps:

  • git clone https://github.com/lwfinger/rtl8188eu.git
  • cd rtl8188eu && make && make install
  • insmod 8188eu.ko
  • ifconfig wlan0 up
  • hostapd hostapd.conf

An AP is built now and I can find the AP with my mobile device.
But I can not access this AP after I typed right password. The hostapd reported:

+rtl871x_get_sta_wpaie, 18:e7:f4:93:f2:b3 is sta's address
wlan0: STA 18:e7:f4:93:f2:b3 IEEE 802.11: associated
rtl871x_set_key_ops
rtl871x_set_key_ops
+rtl871x_send_eapol
+rtl871x_send_eapol
+rtl871x_send_eapol
+rtl871x_send_eapol
+rtl871x_sta_deauth_ops, 18:e7:f4:93:f2:b3 is deauth, reason=2
rtl871x_set_key_ops
wlan0: STA 18:e7:f4:93:f2:b3 IEEE 802.11: deauthenticated due to local deauth request
+rtl871x_sta_remove_ops, 18:e7:f4:93:f2:b3 is sta address removed
wlan0: STA 18:e7:f4:93:f2:b3 IEEE 802.11: disassociated

Looks like my password is wrong, but that's not the case.
I set driver=rtl871xdrv in hostapd.conf (set driver=nl80211 hostapd can not start).
My environment is Ubuntu 12.04 with i386 PC, the commit version I used to build the module is 993b021.

(SOLVED)Unable to create hotspot

Hi everyone,
First, thanks for this driver that makes my FW150US usb device work great as wifi adapter. But I am afraid i have not been able to create yet a hotspot. I am quite newbie with linux and maybe this may seem quite basic but I have been trying for a couple of days without success. I use Linux Mint 13 Mate. I have tried directly with the "Create New Wifi Network" option and later I have been reading some manuals about hostapd but have not been able to make it work. I have seen that your file has an special hostpad.conf. Would it be possible that anyone told me which exact manual should I follow in order to make it work? (a very basic step by step one would be great). I have tried to do it by myself reading, from the internet, but I have met different methods and now I am quite confused. I can make a fresh install again if necessary (I have installed so many things so far, trying to make it work...). I would really like to create my access point with linux, as right now, every time I want to connect my phone and laptop to my computer I have to restart it and load windows, where I can create a hotspot... : (
Thank you very much in advance.

It compiles well on CentOS-6.4 but causes system panic

After compling the driver and installing with sudo make install, I insert the module using sudo modprobe 8188eu and the system stops responding and restarts automatically. But it repeats the restarting until I unplug my wireless card (TP Link 725n).

BTW. It works great in ubuntu 12.04 :)
Thank you.

I686 and x86_64

Hello :)
First of all thanks for maintaining the driver.

I have tried the driver in:
Ubuntu 12.04 i686(kernel 3.2),
Linux mint 13 x86_64 (kernel 3.2)
Ubuntu 13.10 i686 (kernel 3.11)
Ubuntu 13.10 x86_64 (kernel 3.11).

The old driver version(1.4mb) doesn't compile in Ubuntu 13.10 x86_64, the last version(700kb) compiles in Ubuntu 13.10 x86_64 but it doesn't work.

The old driver (1.4mb) works fine for ubuntus i686 ( kernel 3.2 and 3.11) the last driver version compiles but doesn't work.

In mint 13 x86_64 doesn't work any version driver

It's this correct XD? you have the same experience or i'm doing something wrong?

The procedure that i follow is:

$ make
manually send modules rtl8192cu, rtl8192c_common, rtlwifi to the blacklist in /etc/modprobe.d/blacklist.conf
$ sudo make install
$modprobe 8188eu

device info:
Bus 001 Device 003: ID 0bda:8179 Realtek Semiconductor Corp.
TL-WN723N

Compile error.

Hi,

I have download the linux-header and linux-tools. I have clone this code and then I have write "sudo make" but I have this error:

make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.6.11+/build M=/home/pi/rtl8188eu modules
make: *** /lib/modules/3.6.11+/build: No such file or directory. Stop.
make: *** [modules] Error 2

I have 3.6.11+ linux kernel.

Any suggestion? Thank you!

Ethernet packets transmitted OK, but IP-related packets ignored

Hello,

I've compiled the current revision of the rtl8188eu.git driver against a 3.12.20 kernel (with no errors or warnings) and also cleanly compiled the current hostapd from Realtek. All in all, I managed to set up a WPA connection where the RTL8188EU device functioned as AP at the Ethernet level: With a sniffer, I verified that Ethernet packets go across, and the client was properly assigned an IP address with DHCP.

The problem is that the AP doesn't respond to ARP requests, even though the requested IP address is the one assigned to wlan0 with ifconfig. Neither does it respond to pings (as for how the client knew the AP's MAC address -- I used gratuitous ARP from the AP). The AP had no problem sending ARP requests, of course.

So the Wifi dongle (or its driver) behaves as if it was somehow detached from the IP protocol layer, or didn't know its IP address. I don't know what exactly.

The same problem was repeated exactly, with an RTL8192CU device, with the rtl8192cu-fixes.git repository, which is Realtek's driver + fixed to work with a recent kernel.

For more details, please look at my blog post on this:
http://billauer.co.il/blog/2014/06/linux-realtek-hostapd/

Any insights?

Thanks,
Eli

Building modules, stage 2 error

Hi, I have a problem after stage 1 of compiling the files:
...
Building modules, stage 2.
MODPOST 1 modules
FATAL: parse error in symbol dump file
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: Leaving directory `/home/pi/rpi-linux'

Do you have any suggestion what could help or what is the reason?

Unable to compile module after updating from 3.6.11+ to 3.10.18+

After updating my Raspberry Pi from Raspbian 3.6.11+ to 3.10.18+ using rpi-update yesterday I cannot now compile 8188eu.ko without getting warnings which appear to stop the kernel loading the driver.

If I compile using the following which required that I provided some input to fully configure .config during command make modules_prepare

cd src/linux
make mrproper
zcat /proc/config.gz > .config
make modules_prepare
cp /home/pi/src/firmware/extra/Module.symvers .
cd /home/pi/src/rtl8188eu-master
CONFIG_RTL8188EU=m make -C /home/pi/src/linux M=pwd

the compile terminates with the following warning

Building modules, stage 2.
MODPOST 1 modules
WARNING: "schedule_work" [/home/pi/src/rtl8188eu-master/8188eu.ko] undefined!
CC /home/pi/src/rtl8188eu-master/8188eu.mod.o
LD [M] /home/pi/src/rtl8188eu-master/8188eu.ko
make: Leaving directory `/home/pi/src/linux'

Attempting to load the 8188eu.ko module generates the following error

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
Error: could not insert module /lib/modules/3.10.18+/kernel/drivers/net/wireless/8188eu.ko: Unknown symbol in module

Hopefully I've not made some stupid error and I'm wasting your time. Let me know if you need more data.

MrEngman

PCLinuxOS Connection failed

I am able to make and install, and the .bin is in the right place, but the signal strength only shows one bar out of three, and the modprobe shows:
insmod /lib/modules/3.15.4-pclos1/kernel/drivers/net/wireless/8188eu.ko
FATAL: Error inserting 8188eu (/lib/modules/3.15.4-pclos1/kernel/drivers/net/wireless/8188eu.ko): Device or resource busy
I am using the TL-WN725N

Openwrt

I want ask if is possible to use this driver with 'iw' and 80122 interface - standard way of using wifi in openwrt.
Driver is working with iwconfig but I'm not able to use it in openwrt environment

thanks
ratay

cannot build under hardened gentoo linux

Source was fetched from master branch.

My building environment

  • hardened kernel 3.11.2
  • hardened gcc 4.7.3

When I ran make all, I got

  CC [M]  /home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.o
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7859:2: error: unknown field ‘private’ specified in initializer
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7859:2: warning: initialization from incompatible pointer type [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7859:2: warning: (near initialization for ‘rtw_handlers_def.get_wireless_stats’) [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7860:2: error: unknown field ‘private_args’ specified in initializer
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7860:26: warning: excess elements in struct initializer [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7860:26: warning: (near initialization for ‘rtw_handlers_def’) [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7861:2: error: unknown field ‘num_private’ specified in initializer
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7861:2: warning: excess elements in struct initializer [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7861:2: warning: (near initialization for ‘rtw_handlers_def’) [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7862:2: error: unknown field ‘num_private_args’ specified in initializer
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7862:63: warning: excess elements in struct initializer [enabled by default]
/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.c:7862:63: warning: (near initialization for ‘rtw_handlers_def’) [enabled by default]
make[2]: *** [/home/aleiphoenix/src/rtl8188eu/os_dep/ioctl_linux.o] Error 1
make[1]: *** [_module_/home/aleiphoenix/src/rtl8188eu] Error 2
make[1]: Leaving directory `/usr/src/linux-3.11.2-hardened'
make: *** [modules] Error 2

Something related to gcc version or kernel version ?

Thanks.

RTL8188: ERROR indicate disassoc

Hi,

I installed the driver with a TP-LINK TL-WN725N V2 (0bda:8179) on Centos 6.4 2.6.32-358.18.1.el6.i686.

Installation went fine but I saw in dmesg:
ADDRCONF(NETDEV_UP): wlan1: link is not ready
RTL8188: ERROR indicate disassoc

Am I missing something ?

Thanks !

hangs when booting from flash

I am using an embedded board, which can either boot from sdcard or nand.

I have successfully used the 8188eu driver (when booting from sdcard) with the TL-WN725N, both to connect to a network and as an AP.

however when booting from nand, the command 'ifconfig wlan0 up' just hangs for around 70 seconds give or take, then returns with 'SIOCSIFFLAGS: Operation not permitted'.

while 'ifconfig' hangs, if i ssh to the board, i get the message of the day, but no shell ( i finaly get the shell when 'ifconfig' returns)

nothing appears under dmesg while issuing the 'ifconfig up'

note that wpa_suppclient and hostapd also hangs in a similiar manner.

thanks,
edn1

Compilation into a kernel

Hi, I see in your repo description that this is the 'stand-alone RTL8188EU driver'. Pardon my ignorance, but does that mean that it cannot compiled into the kernel? I'm trying to build a kernel (https://github.com/linux4sam/linux-at91) for an embedded device, but when it gets to the this driver it fails.

Any tips would be greatly appeciated!
Kevin

HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
CC drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.o
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7859:2: error: unknown field 'private' specified in initializer
.private = rtw_private_handler,
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7859:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7859:2: warning: (near initialization for 'rtw_handlers_def.get_wireless_stats') [enabled by default]
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7860:2: error: unknown field 'private_args' specified in initializer
.private_args = (struct iw_priv_args )rtw_private_args,
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7860:26: warning: excess elements in struct initializer [enabled by default]
.private_args = (struct iw_priv_args *)rtw_private_args,
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7860:26: warning: (near initialization for 'rtw_handlers_def') [enabled by default]
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7861:2: error: unknown field 'num_private' specified in initializer
.num_private = sizeof(rtw_private_handler) / sizeof(iw_handler),
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7861:2: warning: excess elements in struct initializer [enabled by default]
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7861:2: warning: (near initialization for 'rtw_handlers_def') [enabled by default]
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7862:2: error: unknown field 'num_private_args' specified in initializer
.num_private_args = sizeof(rtw_private_args) / sizeof(struct iw_priv_args),
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7862:63: warning: excess elements in struct initializer [enabled by default]
.num_private_args = sizeof(rtw_private_args) / sizeof(struct iw_priv_args),
^
drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.c:7862:63: warning: (near initialization for 'rtw_handlers_def') [enabled by default]
scripts/Makefile.build:308: recipe for target 'drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.o' failed
make[4]: *
* [drivers/net/wireless/rtl8188eu/os_dep/ioctl_linux.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/net/wireless/rtl8188eu' failed

Invalid USB device ID

It appears as though one of the device ID's for the USB devices handled by rtl8188eu is incorrect.

Checking on the internet and reviewing other wifi drivers it appears the Abocom USB ID is wrong and the Vendor ID and Product ID have been swapped.

The following patch should provide the fix.

--- rtl8188eu-old/os_dep/usb_intf.c     2014-01-05 14:25:43.164197443 +0000
+++ rtl8188eu/os_dep/usb_intf.c 2014-02-01 23:50:27.176057353 +0000
@@ -53,7 +53,7 @@
        {USB_DEVICE(USB_VENDER_ID_REALTEK, 0x0179)}, /* 8188ETV */
        /*=== Customer ID ===*/
        /****** 8188EUS ********/
-       {USB_DEVICE(0x8179, 0x07B8)}, /* Abocom - Abocom */
+       {USB_DEVICE(0x07B8, 0x8179)}, /* Abocom - Abocom */
        {USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
        {}   /* Terminating entry */
 };

Insanely slow speeds and unstable connection - TP Link - TL-WN725N

I have ArchLinux-Arm on a BeagleBone Black.

I just installed this driver, and it will just not respond after 30seconds of getting connected to the router.

It gets an IP Address, and as soon as i SSH into it, it starts to have horrible network performance..

The BBB is powered by a 5V 2A cable and it is about 4feet away from the router and it won't hold a wireless connection using the TL-WN725N wifi dongle for more than 30seconds before it starts to timeout.
mikeJaneksi

[root@alarm ~]# iwconfig
wlan0 IEEE 802.11bgn ESSID:"toroko" Nickname:"WIFI@REALTEK"
Mode:Managed Frequency:2.437 GHz Access Point: BC:EE:7B:93:22:50
Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:_-__-__-__-__-__-__-*_* Security mode :open
Power Management:off
Link Quality=100/100 Signal level=-20 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Pinging the wifi dongle from my windows system:

C:\Users\victor>ping -t 192.168.1.17

Pinging 192.168.1.17 with 32 bytes of data:
Reply from 192.168.1.17: bytes=32 time=1036ms TTL=64
Request timed out.
Reply from 192.168.1.17: bytes=32 time=1481ms TTL=64
Reply from 192.168.1.17: bytes=32 time=28ms TTL=64
Reply from 192.168.1.17: bytes=32 time=4ms TTL=64
Reply from 192.168.1.17: bytes=32 time=18ms TTL=64
Reply from 192.168.1.17: bytes=32 time=1078ms TTL=64
Reply from 192.168.1.17: bytes=32 time=1122ms TTL=64
Reply from 192.168.1.17: bytes=32 time=610ms TTL=64
Reply from 192.168.1.17: bytes=32 time=1554ms TTL=64
Reply from 192.168.1.17: bytes=32 time=95ms TTL=64
Request timed out.
Reply from 192.168.1.17: bytes=32 time=3789ms TTL=64
Request timed out.
Request timed out.
Reply from 192.168.1.17: bytes=32 time=2623ms TTL=64
Reply from 192.168.1.17: bytes=32 time=98ms TTL=64
Reply from 192.168.1.17: bytes=32 time=2268ms TTL=64
Reply from 192.168.1.17: bytes=32 time=1022ms TTL=64
Reply from 192.168.1.17: bytes=32 time=813ms TTL=64
Reply from 192.168.1.17: bytes=32 time=731ms TTL=64
Reply from 192.168.1.17: bytes=32 time=984ms TTL=64
Reply from 192.168.1.17: bytes=32 time=26ms TTL=64
Reply from 192.168.1.17: bytes=32 time=71ms TTL=64
Reply from 192.168.1.17: bytes=32 time=193ms TTL=64
Reply from 192.168.1.17: bytes=32 time=315ms TTL=64
Reply from 192.168.1.17: bytes=32 time=129ms TTL=64
Reply from 192.168.1.17: bytes=32 time=46ms TTL=64
Reply from 192.168.1.17: bytes=32 time=65ms TTL=64
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.1.17: bytes=32 time=668ms TTL=64
Reply from 192.168.1.17: bytes=32 time=74ms TTL=64
Reply from 192.168.1.17: bytes=32 time=93ms TTL=64
Reply from 192.168.1.17: bytes=32 time=112ms TTL=64
Request timed out.
Request timed out.

TP-Link WN725N: Dropping AP connection signal (from initial 100% to 20%) - power management issue?

Thanks for for all the work done with this driver so far!

Installed the driver on debian 7 / 3.2.0-4-686-pae and set up an encrypted connection to my AP with the network manager (WPA2/PSK). The initial connection strenght is 100% and i have access to the internet. Ping etc. works fine. As soon as i don't have any traffic on that connection (for ~1 minute), the connection signal will drop to 20% and i won't be able to generate any traffic again - ping won't find it's destination. If i reconnect to the AP it works (as long as i keep the connection 'busy'). I did realize that the LED of the devices flashes very fast if my connection is 100%. It starts to (progressively) slow, when no traffic is present. So maybe this problem is a power management issue? It seems the device won't "wake up" and strenghten it's signal output if it is needed.

Is this a drivers issue? Any suggestions for further analysis this problem? Any advice / solution to overcome this issue?

(Sorry for my, eventually a bit, awkward english, i'm not a native speaker ...)

ad-hoc mode issues

There seem to be issues with ad-hoc mode (short version: it did not work on my gentoo machine). is ad-hoc mode supported by this driver?

long version:

after iwconfig wlan0 essid daihinia mode ad-hoc on two machines with tl-wn723n I get this:

machine 1:

Mode:Ad-Hoc Frequency:2.412 Ghz Cell: 02:11:87:C6:B2:FE
Link Quality:0 Signal level:0 Noise level:0

machine 2:

Mode:Ad-Hoc Frequency:2.412 Ghz Cell: 02:11:87:6A:20:FF
Link Quality:0 Signal level:0 Noise level:0

Then there is no way I can get them to be in the same cell, and ping does not work between them (after setting them to the same network with ifconfig)

possibly related, I get this in the log:

[45541.999446] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[45542.032799] usbcore: registered new interface driver rtl8188eu
[45542.540705] MAC Address = f8:1a:67:26:34:0e
[45542.557066] RTL8188: ERROR indicate disassoc

I can provide more details if needed.
Thanks.
Alex.

Make all error

When i run make all i have the following error:

make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.10.21+/build M=/usr/src/rpi-rtl8188eu modules
make: *** /lib/modules/3.10.21+/build: No such file or directory. Stop.
make: *** [modules] Error 2

Why does it need to go to /lib/modules/3.10.21+/? Shouldn't this point to Kernel sources?

Eric

cannot create access point using provided hostapd and configuration

I have been struggling on this problem for several days. Any advice will be appreciated. Thanks!

Linux Ubuntu 3.12.0-031200-generic #201311031935 SMP Mon Nov 4 00:36:54 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

random: Trying to read entropy from /dev/random
Configuration file: rtl_hostapd.conf
drv->ifindex=5
l2_sock_recv==l2_sock_xmit=0x0xe51bf0
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=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: 6  Frequency: 2437 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 0c:82:68:27:a7:17 and ssid 'test'
Deriving WPA PSK based on passphrase
SSID - hexdump_ascii(len=4):
     74 65 73 74                                       test            
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
WPS: Use configured UUID - hexdump(len=16): 12 34 56 78 9a bc de f0 12 34 56 78 9a bc de f0
WPS: Converting display to virtual_display for WPS 2.0 compliance
WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
WPS: Build Beacon IEs
WPS:  * Version (hardcoded 0x10)
WPS:  * Wi-Fi Protected Setup State (2)
WPS:  * Version2 (0x20)
WPS: Build Probe Response IEs
WPS:  * Version (hardcoded 0x10)
WPS:  * Wi-Fi Protected Setup State (2)
WPS:  * Response Type (3)
WPS:  * UUID-E
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Serial Number
WPS:  * Primary Device Type
WPS:  * Device Name
WPS:  * Config Methods (210c)
WPS:  * RF Bands (1)
WPS:  * Version2 (0x20)
rtl871x_set_beacon_ops
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to set beacon head/tail or DTIM period
WPS: Building WPS IE for (Re)Association Response
WPS:  * Version (hardcoded 0x10)
WPS:  * Response Type (3)
WPS:  * Version2 (0x20)
rtl871x_set_wps_assoc_resp_ie
ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported
Failed to initialize WPS Registrar
wlan0: Unable to setup interface.
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
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=6 eloop_data=0xe51cb0 user_data=(nil) handler=0x425ec0

iw commands failure on ubuntu 13.10

Hi,

on Ubuntu 13.10 kernel 3.11.0-14-generic i686
Built from source blacklisting rtl8188* + rtlwifi

dmesg :
[ 1014.732739] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[ 1014.808534] usbcore: registered new interface driver r8188eu
[ 1394.240827] cfg80211: Calling CRDA to update world regulatory domain
[ 1394.246921] cfg80211: World regulatory domain updated:
[ 1394.246926] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1394.246930] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1394.246932] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1394.246935] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 1394.246937] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 1394.246940] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
=> cfg80211 seems invoked with delay

sysctl.conf : added :
kernel.perf_event_max_sample_rate = 50000

iw list : is empty (as root or sudo of course)

wlan0 : interface is shown and replies to iwconfig

Network manager seems to not hear about wlan0 ...

built today 2014/12/16 ...

Can't connect to anything on a TL-WN725N

Initially I bought these dongles to use with a Raspberry Pi but as it turns out, I can't get them to work under Linux at all.

To clarify, I also attempted to use them on a desktop computer running Ubuntu (x64) 12.04 so I'm pretty sure it's not a power issue.

What I did was:

  • Installed the kernel headers package
  • Cloned this repo
  • Compiled the code (make all, make install)
  • Loaded the module and copied the firmware file into place

Now I was trying to use wpa_supplicant to connect to a WPA2 network and all I keep getting on /var/log/syslog is:
Apr 10 10:41:21 hamlet NetworkManager[903]: (wlan0): supplicant interface state: disconnected -> inactive
Apr 10 10:41:21 hamlet wpa_supplicant[1105]: No network configuration found for the current AP
Apr 10 10:41:21 hamlet wpa_supplicant[1105]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Apr 10 10:41:21 hamlet kernel: [ 820.706792] R8188EU: ERROR indicate disassoc
Apr 10 10:41:21 hamlet NetworkManager[903]: (wlan0): supplicant interface state: inactive -> disconnected
Apr 10 10:41:22 hamlet kernel: [ 822.222061] R8188EU: ERROR assoc success
Apr 10 10:41:22 hamlet wpa_supplicant[1105]: Associated with 00:00:00:00:00:00
Apr 10 10:41:22 hamlet wpa_supplicant[1105]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Apr 10 10:41:22 hamlet kernel: [ 822.258768] R8188EU: ERROR indicate disassoc
Apr 10 10:41:22 hamlet kernel: [ 822.329630] R8188EU: ERROR assoc success
Apr 10 10:41:22 hamlet wpa_supplicant[1105]: No network configuration found for the current AP
Apr 10 10:41:22 hamlet wpa_supplicant[1105]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Apr 10 10:41:22 hamlet kernel: [ 822.333633] R8188EU: ERROR indicate disassoc

It's essentially stuck in a cycle of indicate disassoc and assoc success and it never really connects to the network. Concretely, iwconfig shows:
wlan0 unassociated Nickname:"WIFI@REALTEK"
Mode:Managed Frequency=2.462 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

And lsub shows:
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.

One thing that I found interesting is that when I run two instances of wpa_supplicant, it does connect to the AP for a fraction of a second and then goes again to unassociated.

I've also tried changing my network to no security at all and connecting via sudo iwconfig wlan0 essid "ssid" but no dice. It just doesn't associate.

Any ideas? Is the driver broken or is my device broken? Or am I doing something wrong?

ioctl[SIOCSIWAP]: Operation not permitted

I'm using a TP-LINK TL-WN725N v2 on a Raspberry Pi with ArchLinux on it.

The module compiles and inserts fine. But I have trouble connecting to my wireless network. I think calling wpa_supplicant generates a warning that gets interpreted as a an error by Arch's netctl tool for network connection.

In any case, wpa_supplicant can be successfully called manually, followed by dhcpcd. But the ioctl error is always present:

sudo wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/mynet.conf                           
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
wlan0: Trying to associate with **:**:**:**:**:** (SSID='MySSID' freq=2427 MHz)
wlan0: Associated with **:**:**:**:**:**
wlan0: WPA: Key negotiation completed with **:**:**:**:**:** [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to **:**:**:**:**:** completed [id=0 id_str=]

Then, in another terminal:

sudo dhcpcd -A wlan0                                                                            
dhcpcd[2786]: version 6.0.5 starting
dhcpcd[2786]: wlan0: soliciting a DHCP lease
dhcpcd[2786]: wlan0: offered 192.168.1.103 from 192.168.1.1
dhcpcd[2786]: wlan0: leased 192.168.1.103 for 7200 seconds
dhcpcd[2786]: wlan0: adding host route to 192.168.1.103 via 127.0.0.1
dhcpcd[2786]: wlan0: adding route to 192.168.1.0/24
dhcpcd[2786]: wlan0: adding default route via 192.168.1.1
dhcpcd[2786]: forked to background, child pid 2884

Network is then working.

I guess that without the ioctl error, the higher-level tool netctl would work and connect.

What could be causing this issue? The module once worked with raspbian but I think it was an older kernel. Maybe raspbian's network tools ignored the ioctl error...

Kernel version is 3.6.11-17-ARCH+.

Latest version compiles OK but doesn't work

Hi,

First of all thank you for your great work. I've searched the net for a driver able to compile on 3.11 kernel and found that yours is the only one.

After some time passed on tests, I finally managed to have it compile on 3.11 and successfuly loaded. FYI your latest Makefile doesn't install the firmware recently extracted from sources so I had to copy it by hand. Not easy to find (modprod and iwconfig works, only ifconfig complains a little bit) but the debug option helped me a lot :-)

But... my issue is that even after having followed all these steps, I can connect to my network but I get so slow bandwith (less than 1 Mb/s) that I disconnect all the time and obviously can't use my usb wifi network adapter.

I face the same issue on 3.8, 3.11 and 3.12 RCs.

My "official" environment is Ubuntu 13.10 64bit with the following uname -a:
Linux VivoBook 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I've run the module with debug level 5 and 9 and found a bunch of the following messages:
rtw_free_xmitframe():pxmitframe == NULL
recvbuf2recvframe: rtw_recv_entry(precvframe) != _SUCCESS

Let me know what information you need and I will provide it to you quickly.

Regards

TP-Link TL-WN725N keep connecting and disconnected then.

First thanks to Larry, it works well until I update to the latest version b49674f.

After I updated, make, then install as usually. It seems OK but when I restarted the machine, there comes the issue, the usb card can connected to wifi, but the signal strength is very weak, so it disconnected shortly, but I know this is not true, they are very close.

I guess there must be some issue in signal strength measuring, any other guy got the same issue? Or my card is broken?

Many thanks!

No N speed on Raspberry Pi+OpenELEC

I have the TP-Link WN725N connected directly to a Raspberry Pi Model B, running latest stable version of OpenELEC. It works out of the box regarding general connectivity. But it only gets a max speed of 54 Mbps. If I reconfigure the router for N connections only, the wifi doesn't get discovered at all by the Pi. The Pi gets its juice from a 2.4A power supply.

Unable to unload 8188eu module compiled on the RPi

Ref issue #37

I have solved this issue by updating gcc on the Raspberry Pi to gcc-4.7 and updating the /usr/bin/gcc symlink to point to gcc-4.7.

Using gcc-4.7 the module, and others I've tried, now unload without problems and cat /proc/modules shows

8188eu 795982 0 - Live 0xbf046000 (O)

and [permanent] has disappeared.

And surely the patch to the Makefile is also not necessary. Isn't just adding the symlink

sudo ln -s /lib/modules/kernel version/build /kernel/source/directory

to the system doing the compile sufficient.

I am currently running Raspbian 3.10.27+ #630

Insanely slow and unstable work on D-Link DWA-125/D1/4.0

All works only few seconds after connection. Signal level is about 2% in a meter away from the router :(

dmesg:

[ 2084.170642] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_A_CUT_1T1R_RomVer(0)
[ 2084.434340] usbcore: registered new interface driver r8188eu
[ 2084.482787] R8188EU: Firmware Version 11, SubVersion 1, Signature 0x88e1
[ 2086.209553] MAC Address = c0:a0:bb:57:78:13
[ 2086.277644] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2086.278465] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2086.380567] R8188EU: ERROR indicate disassoc
[ 2086.388847] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2086.507013] R8188EU: ERROR indicate disassoc
[ 2086.514928] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2086.617998] R8188EU: ERROR indicate disassoc
[ 2086.625835] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2090.889157] R8188EU: ERROR assoc success
[ 2090.903044] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2527.633895] R8188EU: ERROR ap recv disassoc reason code(8) sta:64:70:02:7d:2d:06
[ 2527.745181] R8188EU: ERROR indicate disassoc
[ 2542.843658] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2575.536864] R8188EU: ERROR assoc success
[ 2575.536908] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2918.453306] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[ 2918.694127] usbcore: registered new interface driver r8188eu
[ 2918.722262] R8188EU: Firmware Version 11, SubVersion 1, Signature 0x88e1
[ 2920.450072] MAC Address = 64:66:b3:0e:d6:8c
[ 2920.519980] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2920.520252] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 3415.784325] R8188EU: ERROR assoc success
[ 3415.784387] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 3712.726871] R8188EU: ERROR indicate disassoc
[ 3712.934189] R8188EU: ERROR sta recv deauth reason code(6) sta:64:70:02:7d:2d:06
[ 3715.144123] R8188EU: ERROR assoc success
[ 4465.659217] R8188EU: ERROR indicate disassoc
[ 4465.727007] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 4465.854139] R8188EU: ERROR indicate disassoc
[ 4475.752635] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 4477.773572] R8188EU: ERROR indicate disassoc
[ 4479.961229] R8188EU: ERROR sta recv deauth reason code(11) sta:64:70:02:7d:2d:06
[ 4479.963105] R8188EU: ERROR indicate disassoc
[ 4482.213664] R8188EU: ERROR assoc success
[ 4482.453183] R8188EU: ERROR indicate disassoc

Same for TP-Link WN723N Ver 3.0

Ubuntu 13.10 64-bit
Ubuntu 12.04 64-bit

error: macro "__DATE__" might prevent reproducible builds

I was trying to compile on arch linux with linux 3.15.5-1

/home/user/Downloads/rtl8188eu/os_dep/usb_intf.c: In function ‘rtw_drv_entry’:
/home/user/Downloads/rtl8188eu/os_dep/usb_intf.c:869:51: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  DBG_88E("build time: %s %s\n", __DATE__, __TIME__);
                                                   ^
/home/user/Downloads/rtl8188eu/os_dep/usb_intf.c:869:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
  DBG_88E("build time: %s %s\n", __DATE__, __TIME__);
 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:318: recipe for target '/home/user/Downloads/rtl8188eu/os_dep/usb_intf.o' failed
make[2]: *** [/home/user/Downloads/rtl8188eu/os_dep/usb_intf.o] Error 1
Makefile:1310: recipe for target '_module_/home/user/Downloads/rtl8188eu' failed
make[1]: *** [_module_/home/user/Downloads/rtl8188eu] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.15.5-1-ARCH/build'
Makefile:146: recipe for target 'modules' failed
make: *** [modules] Error 2

Unknown symbol in module on Nvidia Jetson tk1

Hi

I'm trying to make a rtl8188eu wifi dangle (mercury 150) works with nvidia Jetson tk1 development board, I have overcame few issues by looking through old posting, and was able to compile the code into a ko file, but the driver could not be loaded for some reason.

The symptoms is the driver could not be loaded, "modprobe 8188eu" shows following error:
modprobe: ERROR: could not insert '8188eu': Unknown symbol in module, or unknown paramter (see dmesg).
The "dmesg" shows which symbol is unknown:
8188eu: version magic '3.10.24 SMP preempt mod_unload ARMv7 p2v8 ' should be '3.10.24-g6a2d13a SMP preempt mod_unload ARMv7 p2v8 '
8188eu: Unknown symbol wireless_send_event (err 0)

The Jetson TK1 uses ubuntu kernel 3.10.24, here is a list of steps I have performed:

  1. unzip the kernel source into /usr/src folder.
  2. fixed the symbolic link of folder /lib/modules/3.10.24-g6a2d13a/build and /lib/modules/3.19.24-g6a2d13a/source.
  3. In /usr/src, run make menuconfig, selected the "Device Drivers->Network device support->Wireless LAN->USB ZD1201" (This is for the CONFIG_WEXT_PROV to be y), and the "Realtek wireless card support" in the same folder. "Networking support->Wireless->cfg80211 wireless extensions compatibility" (There is a posting on the internet says this might helps with the issue).
  4. do a make in /usr/src/, do a make in rtl8188eu folder
  5. copy the ko files from /usr/src to /lib/modules/3.10.24-g6a2d13a/kernel
  6. in /usr/src, run "make modules_install install", reboot
  7. run make install in rtl8188eu folder.
  8. in /etc/modules add an entry for 8188eu
  9. reboot

Could you please point out where the issue could be?

Thanks
JJ

Add support for DLINK DWA-125 REV D1

DLINK DWA-125 REV D1 uses the same chip

diff --git a/os_dep/usb_intf.c b/os_dep/usb_intf.c
index aa8b3ea..25353df 100644
--- a/os_dep/usb_intf.c
+++ b/os_dep/usb_intf.c
@@ -107,6 +107,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
/=== Customer ID ===/
/****** 8188EUS *******/
{USB_DEVICE(0x8179, 0x07B8)}, /
Abocom - Abocom */

  •   {USB_DEVICE(0x2001, 0x330F)}, /\* DLink DWA-125 REV D1 _/
    {}      /_ Terminating entry */
    
    };

Not build driver for kernel 3.10.29+

Today i update the kernel of my RasPi to version 3.10.29+ (Debian).
Take kernel source by https://gist.github.com/azbesthu/3893319 and rebuild rt8188eu driver with latest updates (i made fetch from rep) successfully.
But after install driver my WiFi adapter don't work.

root@myraspihost:/usr/local/src/rtl8188eu# make install
install -p -D -m 644 8188eu.ko  /lib/modules/3.10.29+/kernel/drivers/net/wireless/8188eu.ko
/sbin/depmod -a 3.10.29+
mkdir -p /lib/firmware/rtlwifi
cp -n rtl8188eufw.bin /lib/firmware/rtlwifi/.

reboot and after them

root@myraspihost:/usr/local/src/rtl8188eu# modprobe 8188eu
ERROR: could not insert '8188eu': Exec format error
root@myraspihost:/usr/local/src/rtl8188eu# insmod /lib/modules/3.10.29+/kernel/drivers/net/wireless/8188eu.ko
Error: could not insert module /lib/modules/3.10.29+/kernel/drivers/net/wireless/8188eu.ko: Invalid module format
root@myraspihost:/usr/local/src/rtl8188eu#
root@myraspihost:/usr/local/src/rtl8188eu# dmesg |tail
[ 1221.897841] 8188eu: disagrees about version of symbol module_layout
[ 1226.035916] 8188eu: disagrees about version of symbol module_layout
[ 1267.385220] usb 1-1.2: USB disconnect, device number 6
[ 1270.433618] usb 1-1.2: new high-speed USB device number 7 using dwc_otg
[ 1270.555189] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
[ 1270.565159] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1270.575556] usb 1-1.2: Product: 802.11n NIC
[ 1270.584967] usb 1-1.2: Manufacturer: Realtek
[ 1270.590930] usb 1-1.2: SerialNumber: 00E04C0001
[ 1270.687605] 8188eu: disagrees about version of symbol module_layout
root@myraspihost:/usr/local/src/rtl8188eu#

What i am I doing wrong?

freezing

Hey good evening, I installed this driver for linux mint 13 xfce maya, I have updated since a few days the sources.list to linux mint 15 olivia, the card works great but my pc is freezing 10 minutes after connecting without open any program, any solution to this problem that someone can tell me.
Thanks.

Cannot remove driver (modprobe -r 8188eu fails) on raspberry-pi

pi@raspberrypi ~ $ lsmod | grep 8188
8188eu                692144  0 

pi@raspberrypi ~ $ sudo modprobe -r 8188eu
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove '8188eu': Device or resource busy

pi@raspberrypi ~ $ cat /proc/modules | grep 8188
8188eu 692144 0 [permanent], Live 0xbf1e1000 (O)

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.10.24+ #614 PREEMPT Thu Dec 19 20:38:42 GMT 2013 armv6l GNU/Linux

How to change VID / PID RTL8188ETV?

Hello!
I'm trying to change the VID and PID of my RTL8188ETV Adapter to use it as Samsung-navite adapter. Unfortunately, there is no information how to do this in the whole internet. iwpriv shows the api, but i can't figure out how to use it to solve my problem. Could you, please, help me?

Mercury MW150US V2 has some issues with this driver

First of all, under the Ubuntu 13.04, OS can't display the signal strength.
Then, I can't use 'airmon-ng start wlan0' to make wireless card switch to monitor mode.One of possible reasons is that airmon-ng can't recognize the chipset because of the driver.
These problems can be resolved?
Thank you for your work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.