fail to set pass phrase to the AP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fail to set pass phrase to the AP

1,881 Views
半醒的狐狸
Contributor I

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!

Labels (2)
0 Kudos
1 Reply

1,083 Views
Yuri
NXP Employee
NXP Employee

Hello,

  The following may help.

https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-u... 

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos