AnsweredAssumed Answered

fail to set pass phrase to the AP

Question asked by 益 李 on Oct 19, 2016
Latest reply on Oct 24, 2016 by Yuri Muhin

i use the RTL8188 CUS usb wifi .

i can creat the AP  without Wireless password by hostapd.

the hostapd.conf is:

interface=wlan0
driver=nl80211
ssid=ArmCat
hw_mode=g
channel=8
macaddr_acl=0
ignore_broadcast_ssid=0

 

it's work well.

 

but i want to add a password.and add this :

auth_algs=1
wpa=1
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

 

when i run the hostapd.

the log is:

rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 00:1d:43:a0:06:dc and ssid 'ArmCat'
random: Only 11/20 bytes of strong random data available from /dev/random
random: Not enough entropy pool available for secure operations
WPA: Not enough entropy in random pool for secure operations - update keys later when the first station connects
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

 

i can't connet the AP by the password and warned wrong password.

 

I tried the following method:

mv /dev/random /dev/randombak
ln -s /dev/urandom /dev/random

 

the log :

rtl8192cu: MAC auto ON okay!
rtl8192cu: Tx queue select: 0x05
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 00:1d:43:a0:06:dc and ssid 'ArmCat'
IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

 

The same situation. warned wrong password.

 

why and how to solve this problem?

 

Board: MX6UL 14x14 EVK

Linux version 3.14.52-1.1.0_ga+g5f6f0a5

thanks!

 

 

Outcomes