rtl8188eu
rtl8188eu copied to clipboard
Cannot connect using WPA/WPA2 Personal
Hi,
I'm trying to use an rtl8188eu based wifi dongle with my old 32bit linuxcnc machine (debian wheezy based, 3.4.9-rtai kernel). The driver compiled, installed and gets loaded just fine but no matter what I try I cannot get the machine to authenticate with my router using WPA/WPA2 Personal security mode. If I turn off wireless security it will connect but obviously this is not desirable.
Some info of my system:
syslog indicates some kind of timeout during authentication:
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) scheduled...
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) started...
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> (wlan1): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) scheduled...
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 1 of 5 (Device Prepare) complete.
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) starting...
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> (wlan1): device state change: prepare -> config (reason 'none') [40 50 0]
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1/wireless): connection 'BTHomeHub2-6G7C' has security, and secrets exist. No new secrets needed.
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Config: added 'ssid' value 'BTHomeHub2-6G7C'
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Config: added 'scan_ssid' value '1'
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Config: added 'psk' value '<omitted>'
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Activation (wlan1) Stage 2 of 5 (Device Configure) complete.
Dec 16 20:21:50 linuxcnc NetworkManager[2885]: <info> Config: set interface ap_scan to 1
Dec 16 20:21:51 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: disconnected -> scanning
Dec 16 20:21:52 linuxcnc wpa_supplicant[3350]: wlan1: Trying to associate with 00:20:4d:2b:e6:50 (SSID='BTHomeHub2-6G7C' freq=2457 MHz)
Dec 16 20:21:52 linuxcnc wpa_supplicant[3350]: wlan1: Association request to the driver failed
Dec 16 20:21:52 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: scanning -> associating
Dec 16 20:21:52 linuxcnc wpa_supplicant[3350]: wlan1: Associated with 00:20:4d:2b:e6:50
Dec 16 20:21:52 linuxcnc kernel: [ 2501.097840] R8188EU: INFO assoc success
Dec 16 20:21:52 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: associating -> associated
Dec 16 20:22:02 linuxcnc wpa_supplicant[3350]: wlan1: Authentication with 00:20:4d:2b:e6:50 timed out.
Dec 16 20:22:02 linuxcnc kernel: [ 2511.099580] R8188EU: INFO indicate disassoc
Dec 16 20:22:02 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Dec 16 20:22:02 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: associated -> disconnected
Dec 16 20:22:03 linuxcnc kernel: [ 2512.421088] R8188EU: INFO indicate disassoc
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Trying to associate with 00:20:4d:2b:e6:50 (SSID='BTHomeHub2-6G7C' freq=2457 MHz)
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Association request to the driver failed
Dec 16 20:22:03 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: disconnected -> associating
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:20:4d:2b:e6:50 reason=0
Dec 16 20:22:03 linuxcnc kernel: [ 2512.463413] R8188EU: INFO assoc success
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Trying to associate with 00:20:4d:2b:e6:50 (SSID='BTHomeHub2-6G7C' freq=2457 MHz)
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Association request to the driver failed
Dec 16 20:22:03 linuxcnc kernel: [ 2512.482090] R8188EU: INFO indicate disassoc
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Associated with 00:00:00:00:00:00
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:20:4d:2b:e6:50 reason=0
Dec 16 20:22:03 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: associating -> disconnected
Dec 16 20:22:03 linuxcnc wpa_supplicant[3350]: wlan1: Associated with 00:20:4d:2b:e6:50
Dec 16 20:22:03 linuxcnc kernel: [ 2512.568101] R8188EU: INFO assoc success
Dec 16 20:22:03 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: disconnected -> associated
Dec 16 20:22:13 linuxcnc wpa_supplicant[3350]: wlan1: Authentication with 00:20:4d:2b:e6:50 timed out.
Dec 16 20:22:13 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Dec 16 20:22:13 linuxcnc kernel: [ 2522.568921] R8188EU: INFO indicate disassoc
Dec 16 20:22:13 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: associated -> disconnected
Dec 16 20:22:15 linuxcnc kernel: [ 2523.892974] R8188EU: INFO indicate disassoc
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: Trying to associate with 00:20:4d:2b:e6:50 (SSID='BTHomeHub2-6G7C' freq=2457 MHz)
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: Association request to the driver failed
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: disconnected -> associating
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:20:4d:2b:e6:50 reason=0
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <warn> Activation (wlan1/wireless): association took too long.
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <info> (wlan1): device state change: config -> need-auth (reason 'none') [50 60 0]
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <warn> Activation (wlan1/wireless): asking for new secrets
Dec 16 20:22:15 linuxcnc kernel: [ 2524.035647] R8188EU: INFO assoc success
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: Trying to associate with 00:20:4d:2b:e6:50 (SSID='BTHomeHub2-6G7C' freq=2457 MHz)
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: Association request to the driver failed
Dec 16 20:22:15 linuxcnc kernel: [ 2524.053837] R8188EU: INFO indicate disassoc
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <info> (wlan1): supplicant interface state: associating -> disconnected
Dec 16 20:22:15 linuxcnc NetworkManager[2885]: <warn> Couldn't disconnect supplicant interface: This interface is not connected.
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: Associated with 00:00:00:00:00:00
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: No network configuration found for the current AP
Dec 16 20:22:15 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Dec 16 20:22:15 linuxcnc kernel: [ 2524.137869] R8188EU: INFO assoc success
Dec 16 20:22:15 linuxcnc kernel: [ 2524.138464] R8188EU: INFO indicate disassoc
Dec 16 20:22:16 linuxcnc wpa_supplicant[3350]: wlan1: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=0
Dec 16 20:22:16 linuxcnc kernel: [ 2525.469342] R8188EU: INFO indicate disassoc
iwlist scan finds my router:
Cell 02 - Address: 00:23:4D:2B:E6:50
ESSID:"BTHomeHub2-6G7C"
Protocol:IEEE 802.11bgn
Mode:Master
Frequency:2.457 GHz (Channel 10)
Encryption key:on
Bit Rates:130 Mb/s
Extra:wpa_ie =dc1c0050f20101000050f20202000050f2040050f20201000050f2020c00
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Extra:rsn_ie =31180100000fac020200000fac04000fac020100000fac020c00
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Quality:0 Signal level:0 Noise level:0
lsmod says:
Module Size Used by
8188eu 637056 0
ppdev 12591 0
lp 12767 0
bnep 17186 2
rfcomm 36117 0
bluetooth 166348 10 bnep,rfcomm
rfkill 18403 3 bluetooth
uinput 17057 1
nfsd 202675 2
nfs 277039 0
nfs_acl 12464 2 nfs,nfsd
auth_rpcgss 32226 2 nfs,nfsd
fscache 35490 1 nfs
lockd 56898 2 nfs,nfsd
sunrpc 151263 6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
loop 21832 0
snd_intel8x0 22341 1
snd_ac97_codec 96201 1 snd_intel8x0
snd_pcm 69181 2 snd_ac97_codec,snd_intel8x0
snd_page_alloc 12842 2 snd_intel8x0,snd_pcm
snd_seq 43338 0
snd_seq_device 12981 1 snd_seq
snd_timer 22188 2 snd_pcm,snd_seq
snd 46731 8 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_seq_device
shpchp 30674 0
soundcore 12891 1 snd
ac97_bus 12463 1 snd_ac97_codec
k8temp 12476 0
evdev 17099 9
parport_pc 21896 1
parport 35208 3 lp,ppdev,parport_pc
i2c_nforce2 12521 0
i2c_core 23097 1 i2c_nforce2
button 12818 0
ext4 270189 1
crc16 12328 2 ext4,bluetooth
jbd2 54294 1 ext4
mbcache 12899 1 ext4
sg 25482 0
sd_mod 43403 3
crc_t10dif 12333 1 sd_mod
usbhid 39608 0
ata_generic 12440 0
hid 72252 1 usbhid
pata_amd 13084 2
sata_nv 22085 0
floppy 51935 0
libata 152992 3 sata_nv,pata_amd,ata_generic
scsi_mod 125436 3 sg,libata,sd_mod
ohci_hcd 26266 0
ehci_hcd 43561 0
forcedeth 56263 0
usbcore 124257 5 ohci_hcd,ehci_hcd,usbhid,8188eu
usb_common 12339 1 usbcore
modinfo 8188eu
filename: /lib/modules/3.4-9-rtai-686-pae/kernel/drivers/net/wireless/8188eu.ko
version: v4.1.4_6773.20130222
author: Realtek Semiconductor Corp.
description: Realtek Wireless Lan Driver
license: GPL
srcversion: BB97F7E3F4F970628EC7EA3
alias: usb:v056Ep4008d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*
alias: usb:v2001p330Fd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0DF6p0076d*dc*dsc*dp*ic*isc*ip*
alias: usb:v07B8p8179d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp0179d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*
depends: usbcore
vermagic: 3.4-9-rtai-686-pae SMP preempt mod_unload modversions 686
parm: rtw_ips_mode:The default IPS mode (int)
parm: ifname:The default name to allocate for first interface (charp)
parm: if2name:The default name to allocate for second interface (charp)
parm: rtw_initmac:charp
parm: rtw_channel_plan:int
parm: rtw_chip_version:int
parm: rtw_rfintfs:int
parm: rtw_lbkmode:int
parm: rtw_network_mode:int
parm: rtw_channel:int
parm: rtw_mp_mode:int
parm: rtw_wmm_enable:int
parm: rtw_vrtl_carrier_sense:int
parm: rtw_vcs_type:int
parm: rtw_busy_thresh:int
parm: rtw_ht_enable:int
parm: rtw_cbw40_enable:int
parm: rtw_ampdu_enable:int
parm: rtw_rx_stbc:int
parm: rtw_ampdu_amsdu:int
parm: rtw_lowrate_two_xmit:int
parm: rtw_rf_config:int
parm: rtw_power_mgnt:int
parm: rtw_smart_ps:int
parm: rtw_low_power:int
parm: rtw_wifi_spec:int
parm: rtw_antdiv_cfg:int
parm: rtw_antdiv_type:int
parm: rtw_enusbss:int
parm: rtw_hwpdn_mode:int
parm: rtw_hwpwrp_detect:int
parm: rtw_hw_wps_pbc:int
parm: rtw_max_roaming_times:The max roaming times to try (uint)
parm: rtw_fw_iol:FW IOL (int)
parm: rtw_mc2u_disable:int
parm: rtw_80211d:Enable 802.11d mechanism (int)
parm: rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm: debug:Set debug level (1-9) (default 1) (int)
ls -l /lib/firmware/rtlwifi/rtl8188eufw.bin
-rw-r--r-- 1 root root 13904 Dec 16 02:44 /lib/firmware/rtlwifi/rtl8188eufw.bin
sudo lshw -C network (while connected to the open wifi network)
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:7
logical name: wlan1
serial: c4:a8:1d:f3:04:98
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu ip=192.168.1.69 multicast=yes wireless=IEEE 802.11bgn
sudo lshw -C network (while wpa/wpa2 security on and unable to connect)
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:7
logical name: wlan1
serial: c4:a8:1d:f3:04:98
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated
I have same problem in kernel 4.9.144-2.8.5+g5758a8e for wpa_supplicant. But, same driver working fine in kernel 4.1.xx. with wpa_supplicant and hostapd services. can anyone help me to solve this issue?
Thanks & Best Regards, Nikunj Patel